#include <functional>
#include <optional>
#include <string>
#include <vector>
#include "imgui/imgui.h"
Go to the source code of this file.
Classes | |
struct | yaze::gui::CanvasPopupDefinition |
Declarative popup definition for menu items. More... | |
struct | yaze::gui::CanvasMenuItem |
Declarative menu item definition. More... | |
struct | yaze::gui::CanvasMenuSection |
Menu section grouping related menu items. More... | |
struct | yaze::gui::CanvasMenuDefinition |
Complete menu definition. More... | |
Namespaces | |
namespace | yaze |
Main namespace for the application. | |
namespace | yaze::gui |
Graphical User Interface (GUI) components for the application. | |
Enumerations | |
enum class | yaze::gui::MenuSectionPriority { yaze::gui::kEditorSpecific = 0 , yaze::gui::kBitmapPalette = 10 , yaze::gui::kCanvasProperties = 20 , yaze::gui::kDebug = 30 } |
Menu section priority for controlling rendering order. More... | |
Functions | |
void | yaze::gui::RenderMenuItem (const CanvasMenuItem &item, std::function< void(const std::string &, std::function< void()>)> popup_opened_callback=nullptr) |
Render a single menu item. | |
void | yaze::gui::RenderMenuSection (const CanvasMenuSection §ion, std::function< void(const std::string &, std::function< void()>)> popup_opened_callback=nullptr) |
Render a menu section. | |
void | yaze::gui::RenderCanvasMenu (const CanvasMenuDefinition &menu, std::function< void(const std::string &, std::function< void()>)> popup_opened_callback=nullptr) |
Render a complete menu definition. | |