yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
canvas_menu.cc File Reference
#include "canvas_menu.h"
#include "app/gui/core/ui_helpers.h"
#include "imgui/imgui_internal.h"
Include dependency graph for canvas_menu.cc:

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::gui
 Graphical User Interface (GUI) components for the application.
 
namespace  yaze::gui::anonymous_namespace{canvas_menu.cc}
 

Functions

ImVec2 yaze::gui::BaseStyleVarVec2 (ImGuiStyleVar idx)
 
MenuConfirmState & yaze::gui::GetMenuConfirmState ()
 
std::string yaze::gui::ConfirmLabel (const std::string &label)
 
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 &section, 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.
 

Variables

constexpr ImGuiStyleVar yaze::gui::anonymous_namespace{canvas_menu.cc}::kPopupSpacingVars []