DDraceNetwork Docs
CUi::CTouchState Class Reference

#include <ui.h>

Collaboration diagram for CUi::CTouchState:
[legend]

Public Attributes

bool m_AnyPressed = false
 
bool m_PrimaryPressed = false
 
bool m_SecondaryPressed = false
 
vec2 m_PrimaryPosition = vec2(-1.0f, -1.0f)
 
vec2 m_PrimaryDelta = vec2(0.0f, 0.0f)
 
vec2 m_ScrollAmount = vec2(0.0f, 0.0f)
 

Private Attributes

bool m_SecondaryPressedNext = false
 
float m_SecondaryActivationTime = 0.0f
 
vec2 m_SecondaryActivationDelta = vec2(0.0f, 0.0f)
 

Friends

class CUi
 

Detailed Description

Represents the aggregated state of current touch events to control a user interface.

Friends And Related Function Documentation

◆ CUi

friend class CUi
friend

Member Data Documentation

◆ m_AnyPressed

bool CUi::CTouchState::m_AnyPressed = false

◆ m_PrimaryDelta

vec2 CUi::CTouchState::m_PrimaryDelta = vec2(0.0f, 0.0f)

◆ m_PrimaryPosition

vec2 CUi::CTouchState::m_PrimaryPosition = vec2(-1.0f, -1.0f)

◆ m_PrimaryPressed

bool CUi::CTouchState::m_PrimaryPressed = false

◆ m_ScrollAmount

vec2 CUi::CTouchState::m_ScrollAmount = vec2(0.0f, 0.0f)

◆ m_SecondaryActivationDelta

vec2 CUi::CTouchState::m_SecondaryActivationDelta = vec2(0.0f, 0.0f)
private

◆ m_SecondaryActivationTime

float CUi::CTouchState::m_SecondaryActivationTime = 0.0f
private

◆ m_SecondaryPressed

bool CUi::CTouchState::m_SecondaryPressed = false

◆ m_SecondaryPressedNext

bool CUi::CTouchState::m_SecondaryPressedNext = false
private

The documentation for this class was generated from the following file: