ui/wpf/label.c

changeset 0
804d8803eade
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/wpf/label.c	Wed Dec 09 11:32:01 2020 +0100
@@ -0,0 +1,28 @@
+#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