mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-30 03:15:38 -05:00
give a name to the touch type enum aswell as explicit values
This commit is contained in:
parent
35f7f86e6d
commit
e2e1da069d
1 changed files with 6 additions and 6 deletions
|
@ -47,13 +47,13 @@ typedef enum
|
||||||
} ccTouchSelectorFlag;
|
} ccTouchSelectorFlag;
|
||||||
|
|
||||||
|
|
||||||
enum {
|
enum ccTouchType {
|
||||||
CCTOUCHBEGAN,
|
CCTOUCHBEGAN = 0,
|
||||||
CCTOUCHMOVED,
|
CCTOUCHMOVED = 1,
|
||||||
CCTOUCHENDED,
|
CCTOUCHENDED = 2,
|
||||||
CCTOUCHCANCELLED,
|
CCTOUCHCANCELLED = 3,
|
||||||
|
|
||||||
ccTouchMax,
|
ccTouchMax = 4,
|
||||||
};
|
};
|
||||||
|
|
||||||
class CCSet;
|
class CCSet;
|
||||||
|
|
Loading…
Reference in a new issue