diff options
author | nathansmith117 <nathansmith@disroot.org> | 2025-03-05 15:40:57 +0000 |
---|---|---|
committer | nathansmith117 <nathansmith@disroot.org> | 2025-03-05 15:40:57 +0000 |
commit | c2cf22bbfb26f0f778ded8be82ddb16816b8c8f0 (patch) | |
tree | c74cd00c2c7a766f7bd263b307e3cba98c7d86d2 /src/sldj.h | |
parent | 449e5a9c92c1fe62dc0dd75718486b791717184f (diff) | |
download | sldj-c2cf22bbfb26f0f778ded8be82ddb16816b8c8f0.tar.gz sldj-c2cf22bbfb26f0f778ded8be82ddb16816b8c8f0.tar.bz2 sldj-c2cf22bbfb26f0f778ded8be82ddb16816b8c8f0.zip |
More sliders
Diffstat (limited to 'src/sldj.h')
-rw-r--r-- | src/sldj.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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); |