diff options
author | Hop311 <Hop3114@gmail.com> | 2024-07-29 21:35:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-29 21:35:15 +0200 |
commit | de190028555cb1b70ca9fbbd10af3de4440b8b89 (patch) | |
tree | 5540d5334370414b51a45e8c184ad3d0b9974c0e /src/openvic-simulation/interface/GUI.hpp | |
parent | 861acff78bd238232ed9e369ea046c2ed4a31198 (diff) | |
parent | f81dfd8be7a9fe9dd0b55afa36d86a756b3af65b (diff) |
Merge pull request #180 from OpenVicProject/listbox-offsets
GUI::ListBox offsets + load search panel gui file
Diffstat (limited to 'src/openvic-simulation/interface/GUI.hpp')
-rw-r--r-- | src/openvic-simulation/interface/GUI.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/openvic-simulation/interface/GUI.hpp b/src/openvic-simulation/interface/GUI.hpp index 74afbd1..4e1b062 100644 --- a/src/openvic-simulation/interface/GUI.hpp +++ b/src/openvic-simulation/interface/GUI.hpp @@ -240,11 +240,12 @@ namespace OpenVic::GUI { friend std::unique_ptr<ListBox> std::make_unique<ListBox>(); fvec2_t PROPERTY(size); - fvec2_t PROPERTY(offset); + fvec2_t PROPERTY(scrollbar_offset); + fvec2_t PROPERTY(items_offset); fixed_point_t PROPERTY(spacing); std::string PROPERTY(scrollbar_name); /* In vanilla this is always core's standardlistbox_slider */ - // TODO - backGround, borderSize + // TODO - backGround protected: ListBox(); |