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

Function menuItemEx

src/gui2/imhex_overrides/menu_items.cpp:119–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 bool menuItemEx(const char *label, const char *icon, const Shortcut &shortcut, bool selected, bool enabled) {
120 #if defined(OS_MACOS)
121 if (s_useNativeMenuBar)
122 return macosMenuItem(label, shortcut.toKeyEquivalent(), selected, enabled);
123 #endif
124
125 return ImGui::MenuItemEx(label, icon, shortcut.toString().c_str(), selected, enabled);
126 }
127
128 bool menuItemEx(const char *label, const char *icon, const Shortcut &shortcut, bool *selected, bool enabled) {
129 #if defined(OS_MACOS)

Callers 3

createFileMenuFunction · 0.85
createViewMenuFunction · 0.85
createLayoutMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected