Namespaces | |
| namespace | anonymous_namespace{ios_platform_state.mm} |
Classes | |
| struct | EditorStateSnapshot |
| struct | SafeAreaInsets |
Enumerations | |
| enum class | HapticStyle { kLight , kMedium , kHeavy , kSelection , kSuccess , kWarning , kError } |
Functions | |
| void | PostEditorStateUpdate (const EditorStateSnapshot &state) |
| void | SetMetalView (void *view) |
| void * | GetMetalView () |
| void | SetSafeAreaInsets (float left, float right, float top, float bottom) |
| SafeAreaInsets | GetSafeAreaInsets () |
| void | SetOverlayTopInset (float top) |
| float | GetOverlayTopInset () |
| void | SetTouchScale (float scale) |
| float | GetTouchScale () |
| void | PostOverlayCommand (const char *command) |
| void | TriggerHaptic (HapticStyle style) |
| void | PostUndoCommand () |
| void | PostRedoCommand () |
| void | PostToggleSidebar () |
|
strong |
| Enumerator | |
|---|---|
| kLight | |
| kMedium | |
| kHeavy | |
| kSelection | |
| kSuccess | |
| kWarning | |
| kError | |
Definition at line 47 of file ios_platform_state.h.
| void yaze::platform::ios::PostEditorStateUpdate | ( | const EditorStateSnapshot & | state | ) |
Definition at line 165 of file ios_platform_state.mm.
References yaze::platform::ios::EditorStateSnapshot::can_redo, yaze::platform::ios::EditorStateSnapshot::can_save, yaze::platform::ios::EditorStateSnapshot::can_undo, yaze::platform::ios::EditorStateSnapshot::editor_type, yaze::platform::ios::EditorStateSnapshot::is_dirty, and yaze::platform::ios::EditorStateSnapshot::rom_title.
Referenced by yaze::Controller::OnLoad().
| void yaze::platform::ios::SetMetalView | ( | void * | view | ) |
Definition at line 27 of file ios_platform_state.mm.
Referenced by yaze::ios::IOSHost::SetMetalView().
| void * yaze::platform::ios::GetMetalView | ( | ) |
Definition at line 31 of file ios_platform_state.mm.
Referenced by yaze::platform::IOSWindowBackend::Initialize().
| void yaze::platform::ios::SetSafeAreaInsets | ( | float | left, |
| float | right, | ||
| float | top, | ||
| float | bottom ) |
Definition at line 35 of file ios_platform_state.mm.
| SafeAreaInsets yaze::platform::ios::GetSafeAreaInsets | ( | ) |
Definition at line 39 of file ios_platform_state.mm.
Referenced by yaze::gui::LayoutHelpers::GetSafeAreaInsets(), yaze::Controller::OnLoad(), and yaze::platform::IOSWindowBackend::RenderImGui().
| void yaze::platform::ios::SetOverlayTopInset | ( | float | top | ) |
Definition at line 43 of file ios_platform_state.mm.
| float yaze::platform::ios::GetOverlayTopInset | ( | ) |
Definition at line 47 of file ios_platform_state.mm.
Referenced by yaze::gui::LayoutHelpers::GetTopInset(), yaze::Controller::OnLoad(), and yaze::platform::IOSWindowBackend::RenderImGui().
| void yaze::platform::ios::SetTouchScale | ( | float | scale | ) |
Definition at line 51 of file ios_platform_state.mm.
| float yaze::platform::ios::GetTouchScale | ( | ) |
Definition at line 55 of file ios_platform_state.mm.
| void yaze::platform::ios::PostOverlayCommand | ( | const char * | command | ) |
Definition at line 59 of file ios_platform_state.mm.
Referenced by yaze::editor::EditorManager::OpenProject().
| void yaze::platform::ios::TriggerHaptic | ( | HapticStyle | style | ) |
Definition at line 86 of file ios_platform_state.mm.
References kError, kHeavy, kLight, kMedium, kSelection, kSuccess, and kWarning.
| void yaze::platform::ios::PostUndoCommand | ( | ) |
Definition at line 135 of file ios_platform_state.mm.
| void yaze::platform::ios::PostRedoCommand | ( | ) |
Definition at line 145 of file ios_platform_state.mm.
| void yaze::platform::ios::PostToggleSidebar | ( | ) |
Definition at line 155 of file ios_platform_state.mm.