ui/wpf/label.c

Sun, 16 Jun 2024 11:36:27 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 16 Jun 2024 11:36:27 +0200
changeset 42
9af327d0e0e4
parent 0
2483f517c562
permissions
-rw-r--r--

update toolkit

#include <stdio.h>
#include <stdlib.h>

#include "label.h"
#include "container.h"
#include "../../ucx/mempool.h"
#include "../common/context.h"
#include "../common/object.h"

UIWIDGET ui_label(UiObject *obj, char *label) {
    return UIlabel(uic_get_current_container(obj), label, 2);
}

UIWIDGET ui_llabel(UiObject *obj, char *label) {
    return UIlabel(uic_get_current_container(obj), label, 0);
}

UIWIDGET ui_rlabel(UiObject *obj, char *label) {
    return UIlabel(uic_get_current_container(obj), label, 1);
}

UIWIDGET ui_space(UiObject *obj) {
    return UIspace(uic_get_current_container(obj));
}

UIWIDGET ui_separator(UiObject *obj) {
    return UIseparator(uic_get_current_container(obj));
}

mercurial