aboutsummaryrefslogtreecommitdiff
path: root/include/saffron_api.h
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-04-22 21:06:58 +1200
committerArslaan Pathan <[email protected]>2026-04-22 21:06:58 +1200
commit289ca3be66a5731fdcd8e2901514ddbb113c5076 (patch)
tree6ec66f374e042a57bcfaa288d0aa444517488d45 /include/saffron_api.h
parent76516edf2c8c6ba36c0abb48871b5e69e9930dd2 (diff)
downloadsaffron-289ca3be66a5731fdcd8e2901514ddbb113c5076.tar.xz
saffron-289ca3be66a5731fdcd8e2901514ddbb113c5076.zip
Make the layout work roughly, make boxes have a size, update test code to work with boxes
Diffstat (limited to 'include/saffron_api.h')
-rw-r--r--include/saffron_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/saffron_api.h b/include/saffron_api.h
index 7b6fabb..64251e0 100644
--- a/include/saffron_api.h
+++ b/include/saffron_api.h
@@ -20,7 +20,7 @@ void saffron_window_show(SaffronWindow* window);
void saffron_window_main(SaffronWindow* window);
SaffronWidget* saffron_widget_hit_test(SaffronWidget* widget, int x, int y);
-SaffronBox* saffron_box_new(SaffronOrientation orientation, SaffronHorizontalAlignment halign, SaffronVerticalAlignment valign, int spacing, int padding, int margin);
+SaffronBox* saffron_box_new(SaffronOrientation orientation, SaffronHorizontalAlignment halign, SaffronVerticalAlignment valign, int spacing, int padding, int margin, int width, int height);
void saffron_box_layout(SaffronBox* box);
#endif