Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

162 lines
7.3 KiB

  1. //--------------------------------------------------------------------------
  2. // This is part of the Microsoft Tablet PC Platform SDK
  3. // Copyright (C) 2002 Microsoft Corporation
  4. // All rights reserved.
  5. //
  6. //
  7. // Module:
  8. // RecDefs.h
  9. //
  10. //--------------------------------------------------------------------------
  11. #ifndef __INC_RECDEFS_H
  12. #define __INC_RECDEFS_H
  13. // RECO FLAGS
  14. #define RECOFLAG_WORDMODE 0x00000001
  15. #define RECOFLAG_COERCE 0x00000002
  16. #define RECOFLAG_SINGLESEG 0x00000004
  17. // Confidence constants
  18. #define RECOCONF_LOWCONFIDENCE -1
  19. #define RECOCONF_MEDIUMCONFIDENCE 0
  20. #define RECOCONF_HIGHCONFIDENCE 1
  21. #define RECOCONF_NOTSET 128
  22. // Gesture ids
  23. #define GESTURE_NULL 0xf000
  24. #define GESTURE_SCRATCHOUT 0xf001
  25. #define GESTURE_TRIANGLE 0xf002
  26. #define GESTURE_SQUARE 0xf003
  27. #define GESTURE_STAR 0xf004
  28. #define GESTURE_CHECK 0xf005
  29. #define GESTURE_INFINITY 0xf006
  30. #define GESTURE_CROSS 0xf007
  31. #define GESTURE_PARAGRAPH 0xf008
  32. #define GESTURE_SECTION 0xf009
  33. #define GESTURE_BULLET 0xf00a
  34. #define GESTURE_BULLET_CROSS 0xf00b
  35. #define GESTURE_SQUIGGLE 0xf00c
  36. #define GESTURE_SWAP 0xf00d
  37. #define GESTURE_OPENUP 0xf00e
  38. #define GESTURE_CLOSEUP 0xf00f
  39. #define GESTURE_CURLICUE 0xf010
  40. #define GESTURE_DOUBLE_CURLICUE 0xf011
  41. #define GESTURE_RECTANGLE 0xf012
  42. #define GESTURE_CIRCLE 0xf020
  43. #define GESTURE_DOUBLE_CIRCLE 0xf021
  44. #define GESTURE_CIRCLE_TAP 0xf022
  45. #define GESTURE_CIRCLE_CIRCLE 0xf023
  46. #define GESTURE_CIRCLE_CROSS 0xf025
  47. #define GESTURE_CIRCLE_LINE_VERT 0xf026
  48. #define GESTURE_CIRCLE_LINE_HORZ 0xf027
  49. #define GESTURE_SEMICIRCLE_LEFT 0xf028
  50. #define GESTURE_SEMICIRCLE_RIGHT 0xf029
  51. #define GESTURE_CHEVRON_UP 0xf030
  52. #define GESTURE_CHEVRON_DOWN 0xf031
  53. #define GESTURE_CHEVRON_LEFT 0xf032
  54. #define GESTURE_CHEVRON_RIGHT 0xf033
  55. #define GESTURE_ARROW_UP 0xf038
  56. #define GESTURE_ARROW_DOWN 0xf039
  57. #define GESTURE_ARROW_LEFT 0xf03a
  58. #define GESTURE_ARROW_RIGHT 0xf03b
  59. #define GESTURE_DOUBLE_ARROW_UP 0xf03c
  60. #define GESTURE_DOUBLE_ARROW_DOWN 0xf03d
  61. #define GESTURE_DOUBLE_ARROW_LEFT 0xf03e
  62. #define GESTURE_DOUBLE_ARROW_RIGHT 0xf03f
  63. #define GESTURE_UP_ARROW_LEFT 0xf040
  64. #define GESTURE_UP_ARROW_RIGHT 0xf041
  65. #define GESTURE_DOWN_ARROW_LEFT 0xf042
  66. #define GESTURE_DOWN_ARROW_RIGHT 0xf043
  67. #define GESTURE_LEFT_ARROW_UP 0xf044
  68. #define GESTURE_LEFT_ARROW_DOWN 0xf045
  69. #define GESTURE_RIGHT_ARROW_UP 0xf046
  70. #define GESTURE_RIGHT_ARROW_DOWN 0xf047
  71. #define GESTURE_UP 0xf058
  72. #define GESTURE_DOWN 0xf059
  73. #define GESTURE_LEFT 0xf05a
  74. #define GESTURE_RIGHT 0xf05b
  75. #define GESTURE_DIAGONAL_LEFTUP 0xf05c
  76. #define GESTURE_DIAGONAL_RIGHTUP 0xf05d
  77. #define GESTURE_DIAGONAL_LEFTDOWN 0xf05e
  78. #define GESTURE_DIAGONAL_RIGHTDOWN 0xf05f
  79. #define GESTURE_UP_DOWN 0xf060
  80. #define GESTURE_DOWN_UP 0xf061
  81. #define GESTURE_LEFT_RIGHT 0xf062
  82. #define GESTURE_RIGHT_LEFT 0xf063
  83. #define GESTURE_UP_LEFT_LONG 0xf064
  84. #define GESTURE_UP_RIGHT_LONG 0xf065
  85. #define GESTURE_DOWN_LEFT_LONG 0xf066
  86. #define GESTURE_DOWN_RIGHT_LONG 0xf067
  87. #define GESTURE_UP_LEFT 0xf068
  88. #define GESTURE_UP_RIGHT 0xf069
  89. #define GESTURE_DOWN_LEFT 0xf06a
  90. #define GESTURE_DOWN_RIGHT 0xf06b
  91. #define GESTURE_LEFT_UP 0xf06c
  92. #define GESTURE_LEFT_DOWN 0xf06d
  93. #define GESTURE_RIGHT_UP 0xf06e
  94. #define GESTURE_RIGHT_DOWN 0xf06f
  95. #define GESTURE_LETTER_A 0xf080
  96. #define GESTURE_LETTER_B 0xf081
  97. #define GESTURE_LETTER_C 0xf082
  98. #define GESTURE_LETTER_D 0xf083
  99. #define GESTURE_LETTER_E 0xf084
  100. #define GESTURE_LETTER_F 0xf085
  101. #define GESTURE_LETTER_G 0xf086
  102. #define GESTURE_LETTER_H 0xf087
  103. #define GESTURE_LETTER_I 0xf088
  104. #define GESTURE_LETTER_J 0xf089
  105. #define GESTURE_LETTER_K 0xf08a
  106. #define GESTURE_LETTER_L 0xf08b
  107. #define GESTURE_LETTER_M 0xf08c
  108. #define GESTURE_LETTER_N 0xf08d
  109. #define GESTURE_LETTER_O 0xf08e
  110. #define GESTURE_LETTER_P 0xf08f
  111. #define GESTURE_LETTER_Q 0xf090
  112. #define GESTURE_LETTER_R 0xf091
  113. #define GESTURE_LETTER_S 0xf092
  114. #define GESTURE_LETTER_T 0xf093
  115. #define GESTURE_LETTER_U 0xf094
  116. #define GESTURE_LETTER_V 0xf095
  117. #define GESTURE_LETTER_W 0xf096
  118. #define GESTURE_LETTER_X 0xf097
  119. #define GESTURE_LETTER_Y 0xf098
  120. #define GESTURE_LETTER_Z 0xf099
  121. #define GESTURE_DIGIT_0 0xf09a
  122. #define GESTURE_DIGIT_1 0xf09b
  123. #define GESTURE_DIGIT_2 0xf09c
  124. #define GESTURE_DIGIT_3 0xf09d
  125. #define GESTURE_DIGIT_4 0xf09e
  126. #define GESTURE_DIGIT_5 0xf09f
  127. #define GESTURE_DIGIT_6 0xf0a0
  128. #define GESTURE_DIGIT_7 0xf0a1
  129. #define GESTURE_DIGIT_8 0xf0a2
  130. #define GESTURE_DIGIT_9 0xf0a3
  131. #define GESTURE_EXCLAMATION 0xf0a4
  132. #define GESTURE_QUESTION 0xf0a5
  133. #define GESTURE_SHARP 0xf0a6
  134. #define GESTURE_DOLLAR 0xf0a7
  135. #define GESTURE_ASTERISK 0xf0a8
  136. #define GESTURE_PLUS 0xf0a9
  137. #define GESTURE_DOUBLE_UP 0xf0b8
  138. #define GESTURE_DOUBLE_DOWN 0xf0b9
  139. #define GESTURE_DOUBLE_LEFT 0xf0ba
  140. #define GESTURE_DOUBLE_RIGHT 0xf0bb
  141. #define GESTURE_TRIPLE_UP 0xf0bc
  142. #define GESTURE_TRIPLE_DOWN 0xf0bd
  143. #define GESTURE_TRIPLE_LEFT 0xf0be
  144. #define GESTURE_TRIPLE_RIGHT 0xf0bf
  145. #define GESTURE_BRACKET_OVER 0xf0e4
  146. #define GESTURE_BRACKET_UNDER 0xf0e5
  147. #define GESTURE_BRACKET_LEFT 0xf0e6
  148. #define GESTURE_BRACKET_RIGHT 0xf0e7
  149. #define GESTURE_BRACE_OVER 0xf0e8
  150. #define GESTURE_BRACE_UNDER 0xf0e9
  151. #define GESTURE_BRACE_LEFT 0xf0ea
  152. #define GESTURE_BRACE_RIGHT 0xf0eb
  153. #define GESTURE_TAP 0xf0f0
  154. #define GESTURE_DOUBLE_TAP 0xf0f1
  155. #define GESTURE_TRIPLE_TAP 0xf0f2
  156. #define GESTURE_QUAD_TAP 0xf0f3
  157. #endif