aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/graphics/SkSystemEventTypes.h
blob: 3cf826c4bcafccdbd5e08c54b0cf2ca3b15cc31c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef SkSystemEventTypes_DEFINED
#define SkSystemEventTypes_DEFINED

/*
	The goal of these strings is two-fold:
	1) make funny strings (containing at least one char < 32) to avoid colliding with "user" strings
	2) keep them <= 4 bytes, so we can avoid an allocation in SkEvent::setType()
*/
#define SK_EventType_Delay		"\xd" "lay"
#define SK_EventType_Inval		"nv" "\xa" "l"
#define SK_EventType_Key		"key" "\x1" 
#define SK_EventType_OnEnd "on" "\xe" "n"
#define SK_EventType_Unichar	"\xc" "har"
#define SK_EventType_KeyUp      "key" "\xf"

#endif