yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
native_menu_bridge.cc File Reference
#include "app/platform/native_menu_bridge.h"
#include <string>
#include <utility>
#include "absl/strings/str_format.h"
#include "app/editor/editor.h"
#include "app/editor/system/commands/shortcut_manager.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::platform
 
namespace  yaze::platform::native_menu
 
namespace  yaze::platform::native_menu::anonymous_namespace{native_menu_bridge.cc}
 

Functions

constexpr KeyChord yaze::platform::native_menu::anonymous_namespace{native_menu_bridge.cc}::Cmd (char key)
 
constexpr KeyChord yaze::platform::native_menu::anonymous_namespace{native_menu_bridge.cc}::CmdShift (char key)
 
constexpr KeyChord yaze::platform::native_menu::anonymous_namespace{native_menu_bridge.cc}::CmdOpt (char key)
 
constexpr KeyChord yaze::platform::native_menu::anonymous_namespace{native_menu_bridge.cc}::CmdCtrl (char key)
 
char yaze::platform::native_menu::anonymous_namespace{native_menu_bridge.cc}::ChordKeyFromImGuiKey (ImGuiKey key)
 
bool yaze::platform::native_menu::anonymous_namespace{native_menu_bridge.cc}::HasCallback (const editor::Shortcut *shortcut)
 
bool yaze::platform::native_menu::anonymous_namespace{native_menu_bridge.cc}::ExactShortcutConflict (const editor::ShortcutManager *shortcuts, const KeyChord &chord)
 
const std::vector< ActionSpec > & yaze::platform::native_menu::ActionSpecs ()
 
const ActionSpec * yaze::platform::native_menu::FindSpec (MenuAction action)
 
KeyChord yaze::platform::native_menu::ChordFromImGuiKeys (const std::vector< ImGuiKey > &keys)
 
ImGuiKey yaze::platform::native_menu::ImGuiKeyFromChordKey (char key)
 
ResolvedItem yaze::platform::native_menu::ResolveItem (const editor::ShortcutManager *shortcuts, MenuAction action)
 
bool yaze::platform::native_menu::IsNativeOwnedChord (const editor::ShortcutManager *shortcuts, const KeyChord &chord)
 
bool yaze::platform::native_menu::ShouldMenuPerformKeyEquivalent (const editor::ShortcutManager *shortcuts, const KeyChord &chord)
 
bool yaze::platform::native_menu::IsActionEnabled (NativeMenuHost &host, MenuAction action)
 
bool yaze::platform::native_menu::PerformAction (NativeMenuHost &host, MenuAction action)
 
std::string yaze::platform::native_menu::RecentFileLabel (const std::string &path)
 

Variables

constexpr KeyChord yaze::platform::native_menu::anonymous_namespace{native_menu_bridge.cc}::kNoChord {}