aboutsummaryrefslogtreecommitdiffstats
path: root/src/sldj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sldj.h')
-rw-r--r--src/sldj.h9
1 files changed, 8 insertions, 1 deletions
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);