summaryrefslogtreecommitdiff
path: root/helpers.h
diff options
context:
space:
mode:
authorveradec <glitchmill.dyj3d@simplelogin.co>2026-10-25 00:42:24 +0530
committerveradec <glitchmill.dyj3d@simplelogin.co>2026-10-25 00:42:24 +0530
commit5e7b78a87eede5f3d57d0be7597a54ecc7d09db3 (patch)
treec39d8c3359e00540e5b969afbc5cc671f86527cc /helpers.h
parent99b49145ebd72414be774a03c5d99b95c58bbce3 (diff)
add: slider loading png (might change to something continous)
Diffstat (limited to 'helpers.h')
-rw-r--r--helpers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/helpers.h b/helpers.h
index f860e21..b75fbe0 100644
--- a/helpers.h
+++ b/helpers.h
@@ -33,6 +33,9 @@ DrawTextEx(font, text, (Vector2){(posX - MeasureTextEx(font, text, fontSize, spa
DrawRectangleRec(rec, color);
#define IsMouseInside(rec) CheckCollisionPointRec(mouse_position, rec)
+
+
+#define DrawSlider(rec, color) DrawTextureRec(slider_texture, rec, (Vector2){rec.x,rec.y}, color);
////////////////////