Save all settings to file, hide more settings behind advanced view

This commit is contained in:
dec05eba
2024-08-10 09:38:38 +02:00
parent b686271ee9
commit 6951ec6eea
6 changed files with 174 additions and 42 deletions

View File

@@ -36,6 +36,8 @@ namespace gsr {
// Returns nullptr if index is invalid
Widget* get_child_widget_by_index(size_t index) const;
void set_spacing(float spacing);
mgl::vec2f get_size() override;
private:
void update();
@@ -47,5 +49,6 @@ namespace gsr {
Orientation orientation;
Alignment content_alignment;
bool inside_event_handler = false;
float spacing_scale = 0.009f;
};
}