yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
item_context_menu.h File Reference
#include <functional>
#include <string>
#include <vector>
#include "app/gui/canvas/canvas_menu.h"
#include "imgui/imgui.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::gui
 Graphical User Interface (GUI) components for the application.
 

Functions

bool yaze::gui::ItemContextMenu (const char *id, const std::function< std::vector< MenuItemSpec >()> &build, ImGuiPopupFlags flags=ImGuiPopupFlags_None)
 Right-click menu for the last submitted ImGui item.
 
bool yaze::gui::ItemContextMenu (const char *id, const std::function< CanvasMenuDefinition()> &build, ImGuiPopupFlags flags)
 
void yaze::gui::RenderMenuItems (const std::vector< MenuItemSpec > &items)
 
MenuItemSpec yaze::gui::CopyToClipboardItem (const std::string &label, const std::string &text)