diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-01 22:19:59 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-01 22:22:45 +0200 |
commit | 10a5669330ba978c37d984a312ba1de7a2542503 (patch) | |
tree | 0ff8cc9660841ce3979ad87da954fb7e14de7d16 /include/gui/ComboBox.hpp | |
parent | 67216467d4dc43134a07f7f843a80a1adf688acd (diff) |
Draw and event position relative to parent (for pages)
Diffstat (limited to 'include/gui/ComboBox.hpp')
-rw-r--r-- | include/gui/ComboBox.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gui/ComboBox.hpp b/include/gui/ComboBox.hpp index 5c899a7..05bd236 100644 --- a/include/gui/ComboBox.hpp +++ b/include/gui/ComboBox.hpp @@ -12,8 +12,8 @@ namespace gsr { ComboBox(const ComboBox&) = delete; ComboBox& operator=(const ComboBox&) = delete; - bool on_event(mgl::Event &event, mgl::Window &window) override; - void draw(mgl::Window &window) override; + bool on_event(mgl::Event &event, mgl::Window &window, mgl::vec2f offset) override; + void draw(mgl::Window &window, mgl::vec2f offset) override; void add_item(const std::string &text, const std::string &id); |