aboutsummaryrefslogtreecommitdiff
path: root/dc/dc.c
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-22 11:56:32 -0400
committeriamcheeseman <[email protected]>2026-05-22 11:56:32 -0400
commit18d62e0d4c8ff204c9f3dac06f91c101362794e5 (patch)
tree2cb6e2199517c7b49cc3909a226f2029f5acfe6a /dc/dc.c
parentb6b91c8b0a404d5d59087d98a063c20eb28685e0 (diff)
tyui: add `tyui_blank_slider()`
Diffstat (limited to 'dc/dc.c')
-rw-r--r--dc/dc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dc/dc.c b/dc/dc.c
index 8c278ff..97be641 100644
--- a/dc/dc.c
+++ b/dc/dc.c
@@ -94,8 +94,9 @@ void tick(void)
if (tyui_begin_window("2nd Window", ty_recti(110, 5, 100, 120), &winid2)) {
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_slider_ex(0, 100, &value, true, TYUI_ALIGN_RIGHT);
+ tyui_blank_slider(0, 100, &value);
tyui_end_window();
}