Fission FSN
Loading...
Searching...
No Matches
gfCWordSearchLensComponent.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: gfCWordSearchLensComponent.h
4*
5* Purpose: Word search lens component. Passes swipes or
6* drag-through selection to the word search logic
7*
8*********************************************************************/
9
10#ifndef gfCWordSearchLensComponenthdr
11#define gfCWordSearchLensComponenthdr
12
13#include <fsCore/fsSColour.h>
15
17
18
20{
21 friend class fsCComponentFactory;
22
23public:
24
25 static const fsCUniqueId mTypeId;
26
28
29protected:
30
31 void initialiseDo() override;
32
33 void doOnDragEnd(const fsPoint& pEndPos) override;
34
35 void updateDo(fsS32 pDeltaMs) override;
36
37 fsBool acceptingInputGet() const override;
38
39 static fsIComponent* create(fsCEntity* pParent);
40
41 gfCWordSearchLensComponent(fsCEntity* pParent, fsBool pHandleTaps, fsBool pHandleDragEvent,
42 fsBool pHandlePinchEvents);
43
44private:
45
47};
48
49#endif
Definition fsCEntity.h:39
Definition fsCUniqueId.h:21
Definition fsIComponent.h:26
static fsIComponent * create(fsCEntity *pParent)
Definition gfCWordSearchLensComponent.cpp:51
void doOnDragEnd(const fsPoint &pEndPos) override
Definition gfCWordSearchLensComponent.cpp:10
friend class fsCComponentFactory
Definition gfCWordSearchLensComponent.h:21
void initialiseDo() override
Definition gfCWordSearchLensComponent.cpp:45
void updateDo(fsS32 pDeltaMs) override
Definition gfCWordSearchLensComponent.cpp:21
gfCWordSearchLensComponent(fsCEntity *pParent, fsBool pHandleTaps, fsBool pHandleDragEvent, fsBool pHandlePinchEvents)
Definition gfCWordSearchLensComponent.cpp:56
fsBool acceptingInputGet() const override
Definition gfCWordSearchLensComponent.cpp:40
virtual ~gfCWordSearchLensComponent()
Definition gfCWordSearchLensComponent.cpp:63
static const fsCUniqueId mTypeId
Definition gfCWordSearchLensComponent.h:25
Definition gfCWordSearchMinigameLogicComponent.h:28
gfIOpaqueLensComponent(fsCEntity *pParent, fsBool pHandleTaps, fsBool pHandleDragEvent, fsBool pHandlePinchEvents)
Definition gfIOpaqueLensComponent.cpp:47
bool fsBool
Definition fsBaseTypes.h:26
int fsS32
Definition fsBaseTypes.h:20
Definition fsPoint.h:17