1 #include <stdio.h>
2 #include <stdlib.h>
3
4 #include "label.h"
5 #include "container.h"
6 #include "../../ucx/mempool.h"
7 #include "../common/context.h"
8 #include "../common/object.h"
9
10 UIWIDGET ui_label(UiObject *obj,
char *label) {
11 return UIlabel(uic_get_current_container(obj), label,
2);
12 }
13
14 UIWIDGET ui_llabel(UiObject *obj,
char *label) {
15 return UIlabel(uic_get_current_container(obj), label,
0);
16 }
17
18 UIWIDGET ui_rlabel(UiObject *obj,
char *label) {
19 return UIlabel(uic_get_current_container(obj), label,
1);
20 }
21
22 UIWIDGET ui_space(UiObject *obj) {
23 return UIspace(uic_get_current_container(obj));
24 }
25
26 UIWIDGET ui_separator(UiObject *obj) {
27 return UIseparator(uic_get_current_container(obj));
28 }
29