yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::platform::ios Namespace Reference

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 ()
 

Enumeration Type Documentation

◆ HapticStyle

Enumerator
kLight 
kMedium 
kHeavy 
kSelection 
kSuccess 
kWarning 
kError 

Definition at line 47 of file ios_platform_state.h.

Function Documentation

◆ PostEditorStateUpdate()

◆ SetMetalView()

void yaze::platform::ios::SetMetalView ( void * view)

Definition at line 27 of file ios_platform_state.mm.

Referenced by yaze::ios::IOSHost::SetMetalView().

◆ GetMetalView()

void * yaze::platform::ios::GetMetalView ( )

Definition at line 31 of file ios_platform_state.mm.

Referenced by yaze::platform::IOSWindowBackend::Initialize().

◆ SetSafeAreaInsets()

void yaze::platform::ios::SetSafeAreaInsets ( float left,
float right,
float top,
float bottom )

Definition at line 35 of file ios_platform_state.mm.

◆ GetSafeAreaInsets()

◆ SetOverlayTopInset()

void yaze::platform::ios::SetOverlayTopInset ( float top)

Definition at line 43 of file ios_platform_state.mm.

◆ GetOverlayTopInset()

float yaze::platform::ios::GetOverlayTopInset ( )

◆ SetTouchScale()

void yaze::platform::ios::SetTouchScale ( float scale)

Definition at line 51 of file ios_platform_state.mm.

◆ GetTouchScale()

float yaze::platform::ios::GetTouchScale ( )

Definition at line 55 of file ios_platform_state.mm.

◆ PostOverlayCommand()

void yaze::platform::ios::PostOverlayCommand ( const char * command)

Definition at line 59 of file ios_platform_state.mm.

Referenced by yaze::editor::EditorManager::OpenProject().

◆ TriggerHaptic()

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.

◆ PostUndoCommand()

void yaze::platform::ios::PostUndoCommand ( )

Definition at line 135 of file ios_platform_state.mm.

◆ PostRedoCommand()

void yaze::platform::ios::PostRedoCommand ( )

Definition at line 145 of file ios_platform_state.mm.

◆ PostToggleSidebar()

void yaze::platform::ios::PostToggleSidebar ( )

Definition at line 155 of file ios_platform_state.mm.