aboutsummaryrefslogtreecommitdiff
path: root/dc/dc.c
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-22 11:49:49 -0400
committeriamcheeseman <[email protected]>2026-05-22 11:49:49 -0400
commiteecfe87f8d23b358c31d6b8289f96ba61ad6de01 (patch)
treea0cd932e9114c16466eff4ade1599b84e0c37e5e /dc/dc.c
parent8d23224b9d3cb6bac2b19b44141283c1647bd975 (diff)
tyui sliders
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();
}