#include <touchzone_component.h>
◆ State
| Enumerator |
|---|
| DISABLED | |
| INACTIVE | |
| ACTIVE | |
◆ connectTouch()
| void ga::TouchZone::connectTouch |
( |
std::shared_ptr< Scene > |
scene, |
|
|
int |
groupId |
|
) |
| |
|
inline |
◆ disable()
| void ga::TouchZone::disable |
( |
| ) |
|
|
inline |
◆ disconnectTouch()
| void ga::TouchZone::disconnectTouch |
( |
| ) |
|
|
inline |
◆ enable()
| void ga::TouchZone::enable |
( |
| ) |
|
|
inline |
◆ getAreBoundsInverted()
| bool ga::TouchZone::getAreBoundsInverted |
( |
| ) |
const |
|
inline |
◆ getIsCapturingTouch()
| bool ga::TouchZone::getIsCapturingTouch |
( |
| ) |
|
|
inline |
◆ getIsUsingCustomBoundsTest()
| bool ga::TouchZone::getIsUsingCustomBoundsTest |
( |
| ) |
const |
|
inline |
◆ getState()
| State ga::TouchZone::getState |
( |
| ) |
const |
|
inline |
◆ handleTouchEvent()
◆ invertBounds()
| void ga::TouchZone::invertBounds |
( |
bool |
invert = true | ) |
|
|
inline |
◆ setAllowLosingFocus()
| void ga::TouchZone::setAllowLosingFocus |
( |
bool |
isAllowed = true | ) |
|
|
inline |
◆ setCustomBoundsTest()
| void ga::TouchZone::setCustomBoundsTest |
( |
std::function< bool(TouchZone::Event)> |
testFn | ) |
|
|
inline |
◆ setEnableCapturingTouch()
| void ga::TouchZone::setEnableCapturingTouch |
( |
bool |
isEnabled = true | ) |
|
|
inline |
◆ setScene()
| virtual void ga::TouchZone::setScene |
( |
std::shared_ptr< Scene > |
scene | ) |
|
|
inlineprotectedvirtual |
◆ setState()
| void ga::TouchZone::setState |
( |
State |
state | ) |
|
|
inline |
◆ setUseDefaultBoundsTest()
| void ga::TouchZone::setUseDefaultBoundsTest |
( |
| ) |
|
|
inline |
◆ m_allowLosingFocus
| bool ga::TouchZone::m_allowLosingFocus = false |
|
protected |
◆ m_boundsInverted
| bool ga::TouchZone::m_boundsInverted = false |
|
protected |
◆ m_customBoundsTest
| std::function<bool( TouchZone::Event )> ga::TouchZone::m_customBoundsTest = nullptr |
|
protected |
◆ m_isCapturingTouch
| bool ga::TouchZone::m_isCapturingTouch = true |
|
protected |
◆ m_state
| State ga::TouchZone::m_state |
|
protected |
◆ m_touchConnection
◆ onTouchEvent
The documentation for this class was generated from the following file:
- C:/Users/beiji/Desktop/G&A/oF/of_v0.11.2_vs2017_release/addons/ofxGAKit/libs/gaKit/src/ga/graph/components/touchzone_component.h