yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
touch_input.cc File Reference
#include "app/gui/core/touch_input.h"
#include <algorithm>
#include <chrono>
#include <cmath>
#include "imgui/imgui.h"
#include "util/log.h"

Go to the source code of this file.

Classes

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

Namespaces

namespace  yaze
 
namespace  yaze::gui
 Graphical User Interface (GUI) components for the application.
 
namespace  yaze::gui::anonymous_namespace{touch_input.cc}
 

Macros

#define M_PI   3.14159265358979323846
 

Functions

float yaze::gui::anonymous_namespace{touch_input.cc}::Distance (ImVec2 a, ImVec2 b)
 
float yaze::gui::anonymous_namespace{touch_input.cc}::Angle (ImVec2 a, ImVec2 b)
 
ImVec2 yaze::gui::anonymous_namespace{touch_input.cc}::Midpoint (ImVec2 a, ImVec2 b)
 
double yaze::gui::anonymous_namespace{touch_input.cc}::GetTime ()
 
TouchPointyaze::gui::anonymous_namespace{touch_input.cc}::FindTouchById (int id)
 
TouchPointyaze::gui::anonymous_namespace{touch_input.cc}::FindInactiveSlot ()
 
void yaze::gui::anonymous_namespace{touch_input.cc}::CountActiveTouches ()
 
std::array< TouchPoint *, 2 > yaze::gui::anonymous_namespace{touch_input.cc}::GetFirstTwoTouches ()
 

Variables

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

Macro Definition Documentation

◆ M_PI

#define M_PI   3.14159265358979323846

Definition at line 16 of file touch_input.cc.