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

#include <fsCDragDropComponent.h>

Inheritance diagram for fsCDragDropComponent:

Public Member Functions

void dragStart (const fsPoint &pPos, fsS32 pPointerIndexForDrag)
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 Member Functions

static fsCEntitydragDropEntityCreate (const fsStr &pEntName, std::shared_ptr< fsCBrush > pBrush, fsCEntity *pEnt, const fsPoint &pOffset)
Static Public Member Functions inherited from fsIMessageListener
static fsBool lessThan (const fsIMessageListener *pLHS, const fsIMessageListener *pRHS)

Static Public Attributes

static const fsCUniqueId mTypeId
static const fsCUniqueId mDragEndMsg

Protected Member Functions

fsBool acceptingInputGet () const override
void onDragMove (const fsPoint &pCurrPos) override
void onDragEnd (const fsPoint &pEndPos) override
void renderDo () override
void matrixApplyDo () override
 fsCDragDropComponent (fsCEntity *pParent)
virtual ~fsCDragDropComponent ()
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 updateDo (fsS32 pDeltaMs)
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 ()

Static Protected Member Functions

static fsIComponentcreate (fsCEntity *pParent)

Friends

class fsCComponentFactory

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
}
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
}
Protected Attributes inherited from fsIGestureHandlingComponent
std::vector< sGesturePointmGesturePoints
fsS32 mGestureState
fsS32 mNumPointsDown
fsBool mHighlighted
Protected Attributes inherited from fsIMessageListener
fsS32 mPriority

Constructor & Destructor Documentation

◆ fsCDragDropComponent()

fsCDragDropComponent::fsCDragDropComponent ( fsCEntity * pParent)
protected

◆ ~fsCDragDropComponent()

fsCDragDropComponent::~fsCDragDropComponent ( )
protectedvirtual

Member Function Documentation

◆ acceptingInputGet()

fsBool fsCDragDropComponent::acceptingInputGet ( ) const
overrideprotectedvirtual

◆ create()

fsIComponent * fsCDragDropComponent::create ( fsCEntity * pParent)
staticprotected

◆ dragDropEntityCreate()

fsCEntity * fsCDragDropComponent::dragDropEntityCreate ( const fsStr & pEntName,
std::shared_ptr< fsCBrush > pBrush,
fsCEntity * pEnt,
const fsPoint & pOffset )
static

◆ dragStart()

void fsCDragDropComponent::dragStart ( const fsPoint & pPos,
fsS32 pPointerIndexForDrag )

◆ matrixApplyDo()

void fsCDragDropComponent::matrixApplyDo ( )
overrideprotectedvirtual

Reimplemented from fsIComponent.

◆ onDragEnd()

void fsCDragDropComponent::onDragEnd ( const fsPoint & pEndPos)
overrideprotectedvirtual

Reimplemented from fsIGestureHandlingComponent.

◆ onDragMove()

void fsCDragDropComponent::onDragMove ( const fsPoint & pCurrPos)
overrideprotectedvirtual

Reimplemented from fsIGestureHandlingComponent.

◆ renderDo()

void fsCDragDropComponent::renderDo ( )
overrideprotectedvirtual

Reimplemented from fsIComponent.

◆ fsCComponentFactory

friend class fsCComponentFactory
friend

Member Data Documentation

◆ mDragEndMsg

const fsCUniqueId fsCDragDropComponent::mDragEndMsg
static

◆ mTypeId

const fsCUniqueId fsCDragDropComponent::mTypeId
static

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