Generalize list popup function
This commit is contained in:
parent
303dac19a4
commit
f227e074f8
3 changed files with 28 additions and 30 deletions
|
|
@ -99,7 +99,7 @@ class GUIManager {
|
|||
void dropdown_select(const std::string& id, size_t* val, const std::vector<std::string>& selections, float width = 200.0f, const std::function<void()>& hoverboxElemUpdate = nullptr);
|
||||
|
||||
void paint_circle_popup_menu(const std::string& id, const Vector2f& centerPos, const PaintCircleMenu::Data& val, const std::function<void()>& elemUpdate = nullptr);
|
||||
bool action_list_popup_menu(const std::string& id, Vector2f popupPos, const std::vector<std::pair<std::string, std::function<void()>>>& actions);
|
||||
void list_popup_menu(const std::string& id, Vector2f popupPos, const std::function<void()>& elemUpdate);
|
||||
|
||||
void obstructing_window();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue