| 662 | imgui_menu_stack::imgui_menu_stack(const polymer_app & app) : current_mods(app.get_mods()) { } |
| 663 | |
| 664 | void imgui_menu_stack::app_menu_begin() |
| 665 | { |
| 666 | assert(open.empty()); |
| 667 | open.push_back(ImGui::BeginMainMenuBar()); |
| 668 | } |
| 669 | |
| 670 | void imgui_menu_stack::begin(const char * label, bool enabled) |
| 671 | { |