aboutsummaryrefslogtreecommitdiff
path: root/dc/dc.c
diff options
context:
space:
mode:
Diffstat (limited to 'dc/dc.c')
-rw-r--r--dc/dc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dc/dc.c b/dc/dc.c
index 202c69c..8c278ff 100644
--- a/dc/dc.c
+++ b/dc/dc.c
@@ -92,7 +92,10 @@ void tick(void)
}
if (tyui_begin_window("2nd Window", ty_recti(110, 5, 100, 120), &winid2)) {
- tyui_text("Test text");
+ static float value = 100;
+ tyui_slider(0, 100, &value);
+ tyui_slider_ex(0, 100, &value, false, 0);
+ tyui_slider_ex(0, 100, &value, true, TYUI_ALIGN_LEFT);
tyui_end_window();
}