yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::gui::anonymous_namespace{touch_input.cc} Namespace Reference

Classes

struct  TouchInputState
 

Functions

float Distance (ImVec2 a, ImVec2 b)
 
float Angle (ImVec2 a, ImVec2 b)
 
ImVec2 Midpoint (ImVec2 a, ImVec2 b)
 
double GetTime ()
 
TouchPointFindTouchById (int id)
 
TouchPointFindInactiveSlot ()
 
void CountActiveTouches ()
 
std::array< TouchPoint *, 2 > GetFirstTwoTouches ()
 

Variables

TouchInputState g_touch_state
 

Function Documentation

◆ Distance()

float yaze::gui::anonymous_namespace{touch_input.cc}::Distance ( ImVec2 a,
ImVec2 b )

Definition at line 73 of file touch_input.cc.

References Distance().

Referenced by Distance().

Here is the call graph for this function:

◆ Angle()

float yaze::gui::anonymous_namespace{touch_input.cc}::Angle ( ImVec2 a,
ImVec2 b )

Definition at line 79 of file touch_input.cc.

References Angle().

Referenced by Angle().

Here is the call graph for this function:

◆ Midpoint()

ImVec2 yaze::gui::anonymous_namespace{touch_input.cc}::Midpoint ( ImVec2 a,
ImVec2 b )

Definition at line 83 of file touch_input.cc.

References Midpoint().

Referenced by Midpoint().

Here is the call graph for this function:

◆ GetTime()

double yaze::gui::anonymous_namespace{touch_input.cc}::GetTime ( )

Definition at line 87 of file touch_input.cc.

References GetTime().

Referenced by GetTime().

Here is the call graph for this function:

◆ FindTouchById()

TouchPoint * yaze::gui::anonymous_namespace{touch_input.cc}::FindTouchById ( int id)

Definition at line 97 of file touch_input.cc.

References FindTouchById(), g_touch_state, and yaze::gui::anonymous_namespace{touch_input.cc}::TouchInputState::touch_points.

Referenced by FindTouchById().

Here is the call graph for this function:

◆ FindInactiveSlot()

TouchPoint * yaze::gui::anonymous_namespace{touch_input.cc}::FindInactiveSlot ( )

Definition at line 106 of file touch_input.cc.

References FindInactiveSlot(), g_touch_state, and yaze::gui::anonymous_namespace{touch_input.cc}::TouchInputState::touch_points.

Referenced by FindInactiveSlot().

Here is the call graph for this function:

◆ CountActiveTouches()

void yaze::gui::anonymous_namespace{touch_input.cc}::CountActiveTouches ( )

◆ GetFirstTwoTouches()

std::array< TouchPoint *, 2 > yaze::gui::anonymous_namespace{touch_input.cc}::GetFirstTwoTouches ( )

Definition at line 125 of file touch_input.cc.

References g_touch_state, GetFirstTwoTouches(), and yaze::gui::anonymous_namespace{touch_input.cc}::TouchInputState::touch_points.

Referenced by GetFirstTwoTouches().

Here is the call graph for this function:

Variable Documentation

◆ g_touch_state

TouchInputState yaze::gui::anonymous_namespace{touch_input.cc}::g_touch_state