Fission FSN
Loading...
Searching...
No Matches
gfILensComponent Class Reference

#include <gfILensComponent.h>

Inheritance diagram for gfILensComponent:

Classes

struct  sLensMessageParam

Public Member Functions

void zoomSet (fsF32 pMin, fsF32 pMax, fsF32 pCurr)
void zoomClear ()
virtual ~gfILensComponent ()
Public Member Functions inherited from fsIGestureHandlingComponent
fsBool hitTest (const fsPoint &pPos) const
Public Member Functions inherited from fsIMessageListenerComponent
 fsIMessageListenerComponent (fsCEntity *pParent)
 fsIMessageListenerComponent (fsCEntity *pParent, fsS32 pPriority)
virtual ~fsIMessageListenerComponent ()
Public Member Functions inherited from fsIComponent
template<typename TInterface>
std::vector< fsCEntity * > appSceneEntitiesWithComponentOfFamilyType () const
template<typename TInterface>
fsCEntityappSceneFirstEntityWithComponentOfFamilyType () const
fsCEntityappSceneEntityNamed (const fsStr &pName) const
void reset ()
void update (fsS32 pDeltaMs)
void render ()
void matrixApply ()
void postLoad ()
void deserialise ()
void serialise ()
void initialiseFromVariableTable (const fsCVariableTable &pVars)
void initialise ()
void finalise ()
fsCEntityparentGet () const
fsCEntitygrandparentGet () const
Public Member Functions inherited from fsIMessageListener
void listenersRegister ()
void listenersDeregister ()
void prioritySet (fsS32 pPriority)
fsBool messageProcess (const fsCUniqueId &pMessageType, const fsIMessageDispatcher::sMessageParameters &pParam)
void inputSteal ()

Static Public Attributes

static const fsCUniqueId mDragMessage

Protected Member Functions

fsCEntity *const targetGet ()
virtual fsCEntity *const targetGetDo ()
void zoomAndScrollReset ()
void updateDo (fsS32 pDeltaMs) override
virtual void doOnTap (const fsPoint &pTapPos)
virtual void doOnDragStart (const fsPoint &pStartPos)
virtual void doOnDragMove (const fsPoint &pCurrPos)
virtual void doOnDragEnd (const fsPoint &pEndPos)
virtual void doOnPinchStart (const fsPoint &pStartPosPointA, const fsPoint &pStartPosPointB)
virtual void doOnPinchMove (const fsPoint &pCurrPos, const fsPoint &pDelta, fsS32 pPointID)
virtual void doOnPinchEnd (const fsPoint &pCurrPos, const fsPoint &pDelta, fsS32 pPointID)
 gfILensComponent (fsCEntity *pParent, fsBool pHandleTaps, fsBool pHandleDragEvent, fsBool pHandlePinchEvents)
Protected Member Functions inherited from fsIGestureHandlingComponent
virtual void stolenInputDo ()
void gestureTypesSet (fsBool pHandleTaps, fsBool pHandleDragEvent, fsBool pHandlePinchEvents)
fsBool messageProcessDo (const fsCUniqueId &pMessageType, const fsIMessageDispatcher::sMessageParameters &pParam) override
void listenersRegisterDo () override
void listenersDeregisterDo () override
void gestureReset ()
 fsIGestureHandlingComponent (fsCEntity *pParent, fsBool pHandleTaps, fsBool pHandleDragEvent, fsBool pHandlePinchEvents)
virtual ~fsIGestureHandlingComponent ()
Protected Member Functions inherited from fsIComponent
virtual void resetDo ()
virtual void renderDo ()
virtual void matrixApplyDo ()
virtual void postLoadDo ()
virtual void deserialiseDo ()
virtual void serialiseDo ()
virtual void initialiseFromVariableTableDo (const fsCVariableTable &pVars)
virtual void initialiseDo ()
virtual void finaliseDo ()
virtual ~fsIComponent ()
 fsIComponent (fsCEntity *pParent)
Protected Member Functions inherited from fsIMessageListener
virtual void inputStealDo ()
 fsIMessageListener (fsS32 pPriority)
virtual ~fsIMessageListener ()

Protected Attributes

fsPoint mDragPos
fsS32 mRunningTime
std::unique_ptr< fsCDragmDrag
std::unique_ptr< fsCZoommZoom
fsCEntitymInitialisedTarget = nullptr
Protected Attributes inherited from fsIGestureHandlingComponent
std::vector< sGesturePointmGesturePoints
fsS32 mGestureState
fsS32 mNumPointsDown
fsBool mHighlighted
Protected Attributes inherited from fsIMessageListener
fsS32 mPriority

Additional Inherited Members

Public Types inherited from fsIMessageListener
enum  {
  ePRIORITY_NORMAL = 0 , ePRIORITY_DEBUG_WINDOW , ePRIORITY_SOFTWARE_CURSOR , ePRIORITY_TEXT_ENTRY ,
  ePRIORITY_DEBUG_MODAL , ePRIORITY_DEBUG_MODAL_BUTTON
}
Static Public Member Functions inherited from fsIMessageListener
static fsBool lessThan (const fsIMessageListener *pLHS, const fsIMessageListener *pRHS)
Protected Types inherited from fsIGestureHandlingComponent
enum  {
  eSTATE_NOT_IN_GESTURE = 0 , eSTATE_MOUSE_OVER , eSTATE_EVALUATING_GESTURE_TYPE , eSTATE_IN_TAP_GESTURE ,
  eSTATE_IN_DRAG_GESTURE , eSTATE_IN_PINCH_GESTURE , eSTATE_WAITING_FOR_ALL_POINTS_TO_RELEASE
}

Constructor & Destructor Documentation

◆ ~gfILensComponent()

gfILensComponent::~gfILensComponent ( )
virtual

◆ gfILensComponent()

gfILensComponent::gfILensComponent ( fsCEntity * pParent,
fsBool pHandleTaps,
fsBool pHandleDragEvent,
fsBool pHandlePinchEvents )
protected

Member Function Documentation

◆ doOnDragEnd()

void gfILensComponent::doOnDragEnd ( const fsPoint & pEndPos)
protectedvirtual

◆ doOnDragMove()

void gfILensComponent::doOnDragMove ( const fsPoint & pCurrPos)
protectedvirtual

Reimplemented in gfIOpaqueLensComponent.

◆ doOnDragStart()

void gfILensComponent::doOnDragStart ( const fsPoint & pStartPos)
protectedvirtual

Reimplemented in gfIOpaqueLensComponent.

◆ doOnPinchEnd()

void gfILensComponent::doOnPinchEnd ( const fsPoint & pCurrPos,
const fsPoint & pDelta,
fsS32 pPointID )
protectedvirtual

◆ doOnPinchMove()

void gfILensComponent::doOnPinchMove ( const fsPoint & pCurrPos,
const fsPoint & pDelta,
fsS32 pPointID )
protectedvirtual

◆ doOnPinchStart()

void gfILensComponent::doOnPinchStart ( const fsPoint & pStartPosPointA,
const fsPoint & pStartPosPointB )
protectedvirtual

◆ doOnTap()

void gfILensComponent::doOnTap ( const fsPoint & pTapPos)
protectedvirtual

◆ targetGet()

fsCEntity *const gfILensComponent::targetGet ( )
protected

◆ targetGetDo()

fsCEntity *const gfILensComponent::targetGetDo ( )
protectedvirtual

Reimplemented in gfCParkLensComponent.

◆ updateDo()

void gfILensComponent::updateDo ( fsS32 pDeltaMs)
overrideprotectedvirtual

Reimplemented from fsIComponent.

◆ zoomAndScrollReset()

void gfILensComponent::zoomAndScrollReset ( )
protected

◆ zoomClear()

void gfILensComponent::zoomClear ( )

◆ zoomSet()

void gfILensComponent::zoomSet ( fsF32 pMin,
fsF32 pMax,
fsF32 pCurr )

Member Data Documentation

◆ mDrag

std::unique_ptr<fsCDrag> gfILensComponent::mDrag
protected

◆ mDragMessage

const fsCUniqueId gfILensComponent::mDragMessage
static

◆ mDragPos

fsPoint gfILensComponent::mDragPos
protected

◆ mInitialisedTarget

fsCEntity* gfILensComponent::mInitialisedTarget = nullptr
protected

◆ mRunningTime

fsS32 gfILensComponent::mRunningTime
protected

◆ mZoom

std::unique_ptr<fsCZoom> gfILensComponent::mZoom
protected

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