167 std::string label = item.
icon.empty()
169 : absl::StrCat(item.
icon,
" ", item.
label);
170 ImGui::BeginDisabled();
171 ImGui::MenuItem(label.c_str(),
nullptr,
false,
false);
172 ImGui::EndDisabled();
185 std::string label = item.
icon.empty()
187 : absl::StrCat(item.
icon,
" ", item.
label);
194 ImGui::BeginDisabled();
195 ImGui::MenuItem(label.c_str(),
nullptr,
false,
false);
196 ImGui::EndDisabled();
201 opened = ImGui::BeginMenu(label.c_str());
231 std::string label = item.
icon.empty()
233 : absl::StrCat(item.
icon,
" ", item.
label);
238 const char* shortcut_str =
241 if (ImGui::MenuItem(label.c_str(), shortcut_str, checked, enabled)) {