yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
native_menu_bridge.h File Reference
#include <cstdint>
#include <functional>
#include <string>
#include <vector>
#include "imgui/imgui.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze::platform::native_menu::KeyChord
 
struct  yaze::platform::native_menu::ActionSpec
 
struct  yaze::platform::native_menu::ResolvedItem
 
class  yaze::platform::native_menu::NativeMenuHost
 

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::platform
 
namespace  yaze::platform::native_menu
 

Macros

#define IMGUI_DEFINE_MATH_OPERATORS
 

Enumerations

enum class  yaze::platform::native_menu::MenuAction : int {
  yaze::platform::native_menu::kAbout = 0 , yaze::platform::native_menu::kSettings , yaze::platform::native_menu::kHide , yaze::platform::native_menu::kHideOthers ,
  yaze::platform::native_menu::kShowAll , yaze::platform::native_menu::kQuit , yaze::platform::native_menu::kOpenRom , yaze::platform::native_menu::kOpenProject ,
  yaze::platform::native_menu::kSave , yaze::platform::native_menu::kSaveAs , yaze::platform::native_menu::kCloseRom , yaze::platform::native_menu::kUndo ,
  yaze::platform::native_menu::kRedo , yaze::platform::native_menu::kCut , yaze::platform::native_menu::kCopy , yaze::platform::native_menu::kPaste ,
  yaze::platform::native_menu::kSelectAll , yaze::platform::native_menu::kToggleSidebar , yaze::platform::native_menu::kToggleFullScreen , yaze::platform::native_menu::kMinimize ,
  yaze::platform::native_menu::kZoom , yaze::platform::native_menu::kBringAllToFront , yaze::platform::native_menu::kKeyboardShortcuts , yaze::platform::native_menu::kCount
}
 
enum class  yaze::platform::native_menu::ChordOwner { yaze::platform::native_menu::kNone , yaze::platform::native_menu::kImGui , yaze::platform::native_menu::kNative }
 
enum class  yaze::platform::native_menu::Dispatch { yaze::platform::native_menu::kShortcut , yaze::platform::native_menu::kHost , yaze::platform::native_menu::kTextOrShortcut , yaze::platform::native_menu::kCocoa }
 

Functions

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)
 

Macro Definition Documentation

◆ IMGUI_DEFINE_MATH_OPERATORS

#define IMGUI_DEFINE_MATH_OPERATORS

Definition at line 30 of file native_menu_bridge.h.