MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / menuItem

Function menuItem

src/gui2/imhex_overrides/menu_items.cpp:101–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100
101 bool menuItem(const char *label, const Shortcut &shortcut, bool selected, bool enabled) {
102 #if defined(OS_MACOS)
103 if (s_useNativeMenuBar)
104 return macosMenuItem(label, shortcut.toKeyEquivalent(), selected, enabled);
105 #endif
106
107 return ImGui::MenuItem(label, shortcut.toString().c_str(), selected, enabled);
108 }
109
110 bool menuItem(const char *label, const Shortcut &shortcut, bool *selected, bool enabled) {
111 #if defined(OS_MACOS)

Callers 3

drawExportLanguageMenuFunction · 0.85
createLayoutMenuFunction · 0.85
createWorkspaceMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected