From c2cf22bbfb26f0f778ded8be82ddb16816b8c8f0 Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Wed, 5 Mar 2025 08:40:57 -0700 Subject: More sliders --- src/sldj.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/sldj.h') diff --git a/src/sldj.h b/src/sldj.h index 694882e..4ffb4cd 100644 --- a/src/sldj.h +++ b/src/sldj.h @@ -31,6 +31,13 @@ typedef struct Sldj { struct { Rectangle fpsSlider; float fpsSliderValue; + + // Viewport shit. + Rectangle widthSlider; + Rectangle heightSlider; + float widthSliderValue; + float heightSliderValue; + Rectangle viewportButton; } gui; } Sldj; @@ -41,7 +48,7 @@ void closeSldj(Sldj* sldj); void resizeGui(Sldj* sldj); void resetViewportRect(Sldj* sldj, float scale); -void resetViewport(Sldj* sldj, int width, int height, float scale); +void resetViewport(Sldj* sldj, int width, int height); void reloadScriptContext(Sldj* sldj); void reloadScript(Sldj* sldj); -- cgit v1.2.3