1 2/* 3 * Copyright 2006 The Android Open Source Project 4 * 5 * Use of this source code is governed by a BSD-style license that can be 6 * found in the LICENSE file. 7 */ 8 9 10#ifndef SkSystemEventTypes_DEFINED 11#define SkSystemEventTypes_DEFINED 12 13/* 14 The goal of these strings is two-fold: 15 1) make funny strings (containing at least one char < 32) to avoid colliding with "user" strings 16 2) keep them <= 4 bytes, so we can avoid an allocation in SkEvent::setType() 17*/ 18#define SK_EventType_Delay "\xd" "lay" 19#define SK_EventType_Inval "nv" "\xa" "l" 20#define SK_EventType_Key "key" "\x1" 21#define SK_EventType_OnEnd "on" "\xe" "n" 22#define SK_EventType_Unichar "\xc" "har" 23#define SK_EventType_KeyUp "key" "\xf" 24 25#endif 26