ruby-iup 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. data/Rakefile +1 -1
  2. data/examples/ctrl/degrade.rb +5 -2
  3. data/examples/ctrl/iupgauge.rb +5 -5
  4. data/examples/ctrl/iupplot2.rb +2 -5
  5. data/examples/dlg/iupalarm.rb +3 -1
  6. data/examples/elem/iupbutton.rb +42 -59
  7. data/examples/elem/iupcanvas.rb +4 -2
  8. data/examples/elem/iupcanvas2.rb +9 -8
  9. data/examples/elem/iupcanvas3.rb +19 -29
  10. data/examples/elem/iupdialog.rb +3 -7
  11. data/examples/elem/progressbar.rb +104 -118
  12. data/ext/iup-linux/include/cd.h +494 -494
  13. data/ext/iup-linux/include/cd_canvas.hpp +358 -358
  14. data/ext/iup-linux/include/cd_old.h +158 -158
  15. data/ext/iup-linux/include/cd_private.h +362 -362
  16. data/ext/iup-linux/include/cdcgm.h +34 -34
  17. data/ext/iup-linux/include/cdclipbd.h +22 -22
  18. data/ext/iup-linux/include/cddbuf.h +23 -23
  19. data/ext/iup-linux/include/cddebug.h +24 -24
  20. data/ext/iup-linux/include/cddgn.h +23 -23
  21. data/ext/iup-linux/include/cddxf.h +22 -22
  22. data/ext/iup-linux/include/cdemf.h +22 -22
  23. data/ext/iup-linux/include/cdgdiplus.h +29 -29
  24. data/ext/iup-linux/include/cdimage.h +23 -23
  25. data/ext/iup-linux/include/cdirgb.h +30 -30
  26. data/ext/iup-linux/include/cdiup.h +22 -22
  27. data/ext/iup-linux/include/cdlua.h +39 -39
  28. data/ext/iup-linux/include/cdlua3_private.h +120 -120
  29. data/ext/iup-linux/include/cdlua5_private.h +141 -141
  30. data/ext/iup-linux/include/cdluaim.h +24 -24
  31. data/ext/iup-linux/include/cdluaiup.h +27 -27
  32. data/ext/iup-linux/include/cdluapdf.h +27 -27
  33. data/ext/iup-linux/include/cdmf.h +24 -24
  34. data/ext/iup-linux/include/cdmf_private.h +32 -32
  35. data/ext/iup-linux/include/cdnative.h +26 -26
  36. data/ext/iup-linux/include/cdpdf.h +38 -38
  37. data/ext/iup-linux/include/cdpicture.h +22 -22
  38. data/ext/iup-linux/include/cdprint.h +23 -23
  39. data/ext/iup-linux/include/cdps.h +37 -37
  40. data/ext/iup-linux/include/cdwmf.h +22 -22
  41. data/ext/iup-linux/include/iup.h +318 -255
  42. data/ext/iup-linux/include/iup_pplot.h +40 -40
  43. data/ext/iup-linux/include/iupcb.h +25 -25
  44. data/ext/iup-linux/include/iupcbs.h +43 -42
  45. data/ext/iup-linux/include/iupcells.h +130 -130
  46. data/ext/iup-linux/include/iupcolorbar.h +126 -126
  47. data/ext/iup-linux/include/iupcontrols.h +36 -40
  48. data/ext/iup-linux/include/iupdef.h +520 -520
  49. data/ext/iup-linux/include/iupdial.h +63 -64
  50. data/ext/iup-linux/include/iupgauge.h +57 -57
  51. data/ext/iup-linux/include/iupgetparam.h +1 -1
  52. data/ext/iup-linux/include/iupgl.h +101 -101
  53. data/ext/iup-linux/include/iupim.h +21 -21
  54. data/ext/iup-linux/include/iupkey.h +457 -290
  55. data/ext/iup-linux/include/iuplua.h +41 -41
  56. data/ext/iup-linux/include/iuplua_pplot.h +26 -26
  57. data/ext/iup-linux/include/iupluacontrols.h +27 -27
  58. data/ext/iup-linux/include/iupluagl.h +26 -26
  59. data/ext/iup-linux/include/iupluaim.h +26 -26
  60. data/ext/iup-linux/include/iupluaole.h +26 -26
  61. data/ext/iup-linux/include/iupmask.h +40 -52
  62. data/ext/iup-linux/include/iupmatrix.h +63 -69
  63. data/ext/iup-linux/include/iupole.h +24 -24
  64. data/ext/iup-linux/include/iupspin.h +21 -21
  65. data/ext/iup-linux/include/iuptabs.h +75 -79
  66. data/ext/iup-linux/include/iuptree.h +93 -93
  67. data/ext/iup-linux/include/iupval.h +46 -46
  68. data/ext/iup-linux/include/wd.h +78 -78
  69. data/ext/iup-linux/include/wd_old.h +85 -85
  70. data/ext/iup-linux/libcd.so +0 -0
  71. data/ext/iup-linux/libcdcontextplus.so +0 -0
  72. data/ext/iup-linux/libcdpdf.so +0 -0
  73. data/ext/iup-linux/libim.so +0 -0
  74. data/ext/iup-linux/libim_fftw.so +0 -0
  75. data/ext/iup-linux/libim_jp2.so +0 -0
  76. data/ext/iup-linux/libim_process.so +0 -0
  77. data/ext/iup-linux/libiup.so +0 -0
  78. data/ext/iup-linux/libiup_pplot.so +0 -0
  79. data/ext/iup-linux/libiupcontrols.so +0 -0
  80. data/ext/iup-linux/libiupgl.so +0 -0
  81. data/ext/iup-linux/libiupim.so +0 -0
  82. data/ext/iup-linux/libiupimglib.so +0 -0
  83. data/ext/iup-linux/libiupmot.so +0 -0
  84. data/ext/iup-win32/cd.dll +0 -0
  85. data/ext/iup-win32/cd.lib +0 -0
  86. data/ext/iup-win32/cdcontextplus.dll +0 -0
  87. data/ext/iup-win32/cdcontextplus.lib +0 -0
  88. data/ext/iup-win32/cdpdf.dll +0 -0
  89. data/ext/iup-win32/cdpdf.lib +0 -0
  90. data/ext/iup-win32/freetype6.dll +0 -0
  91. data/ext/iup-win32/freetype6.lib +0 -0
  92. data/ext/iup-win32/im.dll +0 -0
  93. data/ext/iup-win32/im.lib +0 -0
  94. data/ext/iup-win32/im_avi.dll +0 -0
  95. data/ext/iup-win32/im_avi.lib +0 -0
  96. data/ext/iup-win32/im_capture.dll +0 -0
  97. data/ext/iup-win32/im_capture.lib +0 -0
  98. data/ext/iup-win32/im_fftw.dll +0 -0
  99. data/ext/iup-win32/im_fftw.lib +0 -0
  100. data/ext/iup-win32/im_jp2.dll +0 -0
  101. data/ext/iup-win32/im_jp2.lib +0 -0
  102. data/ext/iup-win32/im_process.dll +0 -0
  103. data/ext/iup-win32/im_process.lib +0 -0
  104. data/ext/iup-win32/im_wmv.dll +0 -0
  105. data/ext/iup-win32/im_wmv.lib +0 -0
  106. data/ext/iup-win32/imlua_capture51.dll +0 -0
  107. data/ext/iup-win32/imlua_capture51.lib +0 -0
  108. data/ext/iup-win32/imlua_wmv51.dll +0 -0
  109. data/ext/iup-win32/imlua_wmv51.lib +0 -0
  110. data/ext/iup-win32/include/cd.h +494 -494
  111. data/ext/iup-win32/include/cd_canvas.hpp +358 -358
  112. data/ext/iup-win32/include/cd_old.h +158 -158
  113. data/ext/iup-win32/include/cd_private.h +362 -362
  114. data/ext/iup-win32/include/cdcgm.h +34 -34
  115. data/ext/iup-win32/include/cdclipbd.h +22 -22
  116. data/ext/iup-win32/include/cddbuf.h +23 -23
  117. data/ext/iup-win32/include/cddebug.h +24 -24
  118. data/ext/iup-win32/include/cddgn.h +23 -23
  119. data/ext/iup-win32/include/cddxf.h +22 -22
  120. data/ext/iup-win32/include/cdemf.h +22 -22
  121. data/ext/iup-win32/include/cdgdiplus.h +29 -29
  122. data/ext/iup-win32/include/cdimage.h +23 -23
  123. data/ext/iup-win32/include/cdirgb.h +30 -30
  124. data/ext/iup-win32/include/cdiup.h +22 -22
  125. data/ext/iup-win32/include/cdlua.h +39 -39
  126. data/ext/iup-win32/include/cdlua3_private.h +120 -120
  127. data/ext/iup-win32/include/cdlua5_private.h +141 -141
  128. data/ext/iup-win32/include/cdluaim.h +24 -24
  129. data/ext/iup-win32/include/cdluaiup.h +27 -27
  130. data/ext/iup-win32/include/cdluapdf.h +27 -27
  131. data/ext/iup-win32/include/cdmf.h +24 -24
  132. data/ext/iup-win32/include/cdmf_private.h +32 -32
  133. data/ext/iup-win32/include/cdnative.h +26 -26
  134. data/ext/iup-win32/include/cdpdf.h +38 -38
  135. data/ext/iup-win32/include/cdpicture.h +22 -22
  136. data/ext/iup-win32/include/cdprint.h +23 -23
  137. data/ext/iup-win32/include/cdps.h +37 -37
  138. data/ext/iup-win32/include/cdwmf.h +22 -22
  139. data/ext/iup-win32/include/iup.h +318 -255
  140. data/ext/iup-win32/include/iup_pplot.h +40 -40
  141. data/ext/iup-win32/include/iupcb.h +25 -25
  142. data/ext/iup-win32/include/iupcbs.h +43 -42
  143. data/ext/iup-win32/include/iupcells.h +130 -130
  144. data/ext/iup-win32/include/iupcolorbar.h +126 -126
  145. data/ext/iup-win32/include/iupcontrols.h +36 -40
  146. data/ext/iup-win32/include/iupdef.h +520 -520
  147. data/ext/iup-win32/include/iupdial.h +63 -64
  148. data/ext/iup-win32/include/iupgauge.h +57 -57
  149. data/ext/iup-win32/include/iupgetparam.h +1 -1
  150. data/ext/iup-win32/include/iupgl.h +101 -101
  151. data/ext/iup-win32/include/iupim.h +21 -21
  152. data/ext/iup-win32/include/iupkey.h +457 -290
  153. data/ext/iup-win32/include/iuplua.h +41 -41
  154. data/ext/iup-win32/include/iuplua_pplot.h +26 -26
  155. data/ext/iup-win32/include/iupluacontrols.h +27 -27
  156. data/ext/iup-win32/include/iupluagl.h +26 -26
  157. data/ext/iup-win32/include/iupluaim.h +26 -26
  158. data/ext/iup-win32/include/iupluaole.h +26 -26
  159. data/ext/iup-win32/include/iupmask.h +40 -52
  160. data/ext/iup-win32/include/iupmatrix.h +63 -69
  161. data/ext/iup-win32/include/iupole.h +24 -24
  162. data/ext/iup-win32/include/iupspin.h +21 -21
  163. data/ext/iup-win32/include/iuptabs.h +75 -79
  164. data/ext/iup-win32/include/iuptree.h +93 -93
  165. data/ext/iup-win32/include/iupval.h +46 -46
  166. data/ext/iup-win32/include/wd.h +78 -78
  167. data/ext/iup-win32/include/wd_old.h +85 -85
  168. data/ext/iup-win32/iup.dll +0 -0
  169. data/ext/iup-win32/iup.lib +0 -0
  170. data/ext/iup-win32/iup_pplot.dll +0 -0
  171. data/ext/iup-win32/iup_pplot.lib +0 -0
  172. data/ext/iup-win32/iupcd.dll +0 -0
  173. data/ext/iup-win32/iupcd.lib +0 -0
  174. data/ext/iup-win32/iupcontrols.dll +0 -0
  175. data/ext/iup-win32/iupcontrols.lib +0 -0
  176. data/ext/iup-win32/iupgl.dll +0 -0
  177. data/ext/iup-win32/iupgl.lib +0 -0
  178. data/ext/iup-win32/iupgtk.dll +0 -0
  179. data/ext/iup-win32/iupgtk.lib +0 -0
  180. data/ext/iup-win32/iupim.dll +0 -0
  181. data/ext/iup-win32/iupim.lib +0 -0
  182. data/ext/iup-win32/iupimglib.dll +0 -0
  183. data/ext/iup-win32/iupimglib.lib +0 -0
  184. data/ext/iup-win32/iupole.dll +0 -0
  185. data/ext/iup-win32/iupole.lib +0 -0
  186. data/ext/iup-win32/iupstub.lib +0 -0
  187. data/ext/iup-win32/pdflib.dll +0 -0
  188. data/ext/iup-win32/pdflib.lib +0 -0
  189. data/ext/iup.c +3 -351
  190. data/ext/rb_iup.h +48 -15
  191. data/ext/rb_iupcb.h +1 -0
  192. data/ext/rb_iupcells.h +1 -0
  193. data/ext/rb_iupcolorbar.h +1 -4
  194. data/ext/rb_iupcontrols.h +0 -5
  195. data/ext/rb_iupdial.h +1 -0
  196. data/ext/rb_iupgauge.h +1 -0
  197. data/ext/rb_iupgc.h +0 -1
  198. data/ext/rb_iupmatrix.h +1 -0
  199. data/ext/rb_iupsbox.h +0 -1
  200. data/ext/rb_iuptabs.h +1 -0
  201. data/ext/rb_iuptree.h +1 -0
  202. data/ext/rb_iupval.h +1 -0
  203. metadata +16 -29
  204. data/ext/iup-linux/include/iupcbox.h +0 -23
  205. data/ext/iup-linux/include/iupcompat.h +0 -62
  206. data/ext/iup-linux/include/iupcpi.h +0 -76
  207. data/ext/iup-linux/include/iupgc.h +0 -20
  208. data/ext/iup-linux/include/iupsbox.h +0 -20
  209. data/ext/iup-linux/include/iupspeech.h +0 -23
  210. data/ext/iup-linux/libcdluacontextplus51.so +0 -0
  211. data/ext/iup-win32/cdlua51.lib +0 -0
  212. data/ext/iup-win32/cdluacontextplus51.lib +0 -0
  213. data/ext/iup-win32/cdluaim51.lib +0 -0
  214. data/ext/iup-win32/cdluapdf51.lib +0 -0
  215. data/ext/iup-win32/include/iupcbox.h +0 -23
  216. data/ext/iup-win32/include/iupcompat.h +0 -62
  217. data/ext/iup-win32/include/iupcpi.h +0 -76
  218. data/ext/iup-win32/include/iupgc.h +0 -20
  219. data/ext/iup-win32/include/iupsbox.h +0 -20
  220. data/ext/iup-win32/include/iupspeech.h +0 -23
  221. data/ext/iup-win32/iuplua51.lib +0 -0
  222. data/ext/iup-win32/iuplua_pplot51.lib +0 -0
  223. data/ext/iup-win32/iupluacd51.lib +0 -0
  224. data/ext/iup-win32/iupluacontrols51.lib +0 -0
  225. data/ext/iup-win32/iupluagl51.lib +0 -0
  226. data/ext/iup-win32/iupluaim51.lib +0 -0
  227. data/ext/iup-win32/iupluaimglib51.lib +0 -0
  228. data/ext/iup-win32/iupluaole51.lib +0 -0
  229. data/ext/rb_iupcbox.h +0 -40
  230. data/ext/rb_iupspeech.h +0 -25
@@ -1,21 +1,21 @@
1
- /** \file
2
- * \brief Utilities using IM
3
- *
4
- * See Copyright Notice in iup.h
5
- */
6
-
7
- #ifndef __IUPIM_H
8
- #define __IUPIM_H
9
-
10
- #if defined(__cplusplus)
11
- extern "C" {
12
- #endif
13
-
14
- Ihandle* IupLoadImage(const char* file_name);
15
- int IupSaveImage(Ihandle* image, const char* file_name, const char* format);
16
-
17
- #if defined(__cplusplus)
18
- }
19
- #endif
20
-
21
- #endif
1
+ /** \file
2
+ * \brief Utilities using IM
3
+ *
4
+ * See Copyright Notice in "iup.h"
5
+ */
6
+
7
+ #ifndef __IUPIM_H
8
+ #define __IUPIM_H
9
+
10
+ #if defined(__cplusplus)
11
+ extern "C" {
12
+ #endif
13
+
14
+ Ihandle* IupLoadImage(const char* file_name);
15
+ int IupSaveImage(Ihandle* image, const char* file_name, const char* format);
16
+
17
+ #if defined(__cplusplus)
18
+ }
19
+ #endif
20
+
21
+ #endif
@@ -1,290 +1,457 @@
1
- /** \file
2
- * \brief Keyboard Keys definitions.
3
- *
4
- * See Copyright Notice in iup.h
5
- */
6
-
7
- #ifndef __IUPKEY_H
8
- #define __IUPKEY_H
9
-
10
- #define iup_isprint(_c) ((_c) > 31 && (_c) < 127)
11
-
12
- #define xCODE(c) ((c) | 0x0100)
13
- #define isxkey(c) ((c) & 0x0100)
14
-
15
- #define K_exclam '!'
16
- #define K_quotedbl '\"'
17
- #define K_numbersign '#'
18
- #define K_dollar '$'
19
- #define K_percent '%'
20
- #define K_ampersand '&'
21
- #define K_apostrophe '\''
22
- #define K_parentleft '('
23
- #define K_parentright ')'
24
- #define K_asterisk '*'
25
- #define K_plus '+'
26
- #define K_comma ','
27
- #define K_minus '-'
28
- #define K_period '.'
29
- #define K_slash '/'
30
- #define K_0 '0'
31
- #define K_1 '1'
32
- #define K_2 '2'
33
- #define K_3 '3'
34
- #define K_4 '4'
35
- #define K_5 '5'
36
- #define K_6 '6'
37
- #define K_7 '7'
38
- #define K_8 '8'
39
- #define K_9 '9'
40
- #define K_colon ':'
41
- #define K_semicolon ';'
42
- #define K_less '<'
43
- #define K_equal '='
44
- #define K_greater '>'
45
- #define K_question '?'
46
- #define K_at '@'
47
- #define K_A 'A'
48
- #define K_B 'B'
49
- #define K_C 'C'
50
- #define K_D 'D'
51
- #define K_E 'E'
52
- #define K_F 'F'
53
- #define K_G 'G'
54
- #define K_H 'H'
55
- #define K_I 'I'
56
- #define K_J 'J'
57
- #define K_K 'K'
58
- #define K_L 'L'
59
- #define K_M 'M'
60
- #define K_N 'N'
61
- #define K_O 'O'
62
- #define K_P 'P'
63
- #define K_Q 'Q'
64
- #define K_R 'R'
65
- #define K_S 'S'
66
- #define K_T 'T'
67
- #define K_U 'U'
68
- #define K_V 'V'
69
- #define K_W 'W'
70
- #define K_X 'X'
71
- #define K_Y 'Y'
72
- #define K_Z 'Z'
73
- #define K_bracketleft '['
74
- #define K_backslash '\\'
75
- #define K_bracketright ']'
76
- #define K_circum '^'
77
- #define K_underscore '_'
78
- #define K_grave '`'
79
- #define K_a 'a'
80
- #define K_b 'b'
81
- #define K_c 'c'
82
- #define K_d 'd'
83
- #define K_e 'e'
84
- #define K_f 'f'
85
- #define K_g 'g'
86
- #define K_h 'h'
87
- #define K_i 'i'
88
- #define K_j 'j'
89
- #define K_k 'k'
90
- #define K_l 'l'
91
- #define K_m 'm'
92
- #define K_n 'n'
93
- #define K_o 'o'
94
- #define K_p 'p'
95
- #define K_q 'q'
96
- #define K_r 'r'
97
- #define K_s 's'
98
- #define K_t 't'
99
- #define K_u 'u'
100
- #define K_v 'v'
101
- #define K_w 'w'
102
- #define K_x 'x'
103
- #define K_y 'y'
104
- #define K_z 'z'
105
- #define K_braceleft '{'
106
- #define K_bar '|'
107
- #define K_braceright '}'
108
- #define K_tilde '~'
109
-
110
- #define K_quoteleft K_grave
111
- #define K_quoteright K_apostrophe
112
-
113
- #define K_cA 1
114
- #define K_cB 2
115
- #define K_cC 3
116
- #define K_cD 4
117
- #define K_cE 5
118
- #define K_cF 6
119
- #define K_cG 7
120
- #define K_cH 8
121
- #define K_cI 9
122
- #define K_cJ 10
123
- #define K_cK 11
124
- #define K_cL 12
125
- #define K_cM 13
126
- #define K_cN 14
127
- #define K_cO 15
128
- #define K_cP 16
129
- #define K_cQ 17
130
- #define K_cR 18
131
- #define K_cS 19
132
- #define K_cT 20
133
- #define K_cU 21
134
- #define K_cV 22
135
- #define K_cW 23
136
- #define K_cX 24
137
- #define K_cY 25
138
- #define K_cZ 26
139
-
140
- #define K_mA xCODE(30)
141
- #define K_mB xCODE(48)
142
- #define K_mC xCODE(46)
143
- #define K_mD xCODE(32)
144
- #define K_mE xCODE(18)
145
- #define K_mF xCODE(33)
146
- #define K_mG xCODE(34)
147
- #define K_mH xCODE(35)
148
- #define K_mI xCODE(23)
149
- #define K_mJ xCODE(36)
150
- #define K_mK xCODE(37)
151
- #define K_mL xCODE(38)
152
- #define K_mM xCODE(50)
153
- #define K_mN xCODE(49)
154
- #define K_mO xCODE(24)
155
- #define K_mP xCODE(25)
156
- #define K_mQ xCODE(16)
157
- #define K_mR xCODE(19)
158
- #define K_mS xCODE(31)
159
- #define K_mT xCODE(20)
160
- #define K_mU xCODE(22)
161
- #define K_mV xCODE(47)
162
- #define K_mW xCODE(17)
163
- #define K_mX xCODE(45)
164
- #define K_mY xCODE(21)
165
- #define K_mZ xCODE(44)
166
-
167
- #define K_BS '\b'
168
- #define K_CR '\r'
169
- #define K_sCR xCODE(14)
170
- #define K_ESC 27
171
- #define K_SP ' '
172
-
173
- #define K_TAB '\t'
174
- #define K_sTAB xCODE(15)
175
- #define K_cTAB xCODE(148)
176
- #define K_mTAB xCODE(165)
177
-
178
- #define K_PAUSE xCODE(70)
179
- #define K_HOME xCODE(71)
180
- #define K_UP xCODE(72)
181
- #define K_PGUP xCODE(73)
182
- #define K_LEFT xCODE(75)
183
- #define K_MIDDLE xCODE(76)
184
- #define K_RIGHT xCODE(77)
185
- #define K_END xCODE(79)
186
- #define K_DOWN xCODE(80)
187
- #define K_PGDN xCODE(81)
188
- #define K_INS xCODE(82)
189
- #define K_DEL xCODE(83)
190
-
191
- #define K_sHOME xCODE(200)
192
- #define K_sUP xCODE(201)
193
- #define K_sPGUP xCODE(202)
194
- #define K_sLEFT xCODE(203)
195
- #define K_sRIGHT xCODE(204)
196
- #define K_sEND xCODE(205)
197
- #define K_sDOWN xCODE(206)
198
- #define K_sPGDN xCODE(207)
199
- #define K_sSP xCODE(208)
200
- #define K_sINS xCODE(210)
201
- #define K_sDEL xCODE(211)
202
-
203
- #define K_cHOME xCODE(119)
204
- #define K_cPGUP xCODE(132)
205
- #define K_cLEFT xCODE(115)
206
- #define K_cRIGHT xCODE(116)
207
- #define K_cEND xCODE(117)
208
- #define K_cPGDN xCODE(118)
209
- #define K_cUP xCODE(141)
210
- #define K_cMIDDLE xCODE(143)
211
- #define K_cDOWN xCODE(145)
212
- #define K_cINS xCODE(146)
213
- #define K_cDEL xCODE(147)
214
- #define K_cSP xCODE(209)
215
-
216
- #define K_mHOME xCODE(151)
217
- #define K_mPGUP xCODE(153)
218
- #define K_mLEFT xCODE(155)
219
- #define K_mRIGHT xCODE(157)
220
- #define K_mEND xCODE(159)
221
- #define K_mPGDN xCODE(161)
222
- #define K_mUP xCODE(152)
223
- #define K_mDOWN xCODE(160)
224
- #define K_mINS xCODE(162)
225
- #define K_mDEL xCODE(163)
226
-
227
- #define K_F1 xCODE(59)
228
- #define K_F2 xCODE(60)
229
- #define K_F3 xCODE(61)
230
- #define K_F4 xCODE(62)
231
- #define K_F5 xCODE(63)
232
- #define K_F6 xCODE(64)
233
- #define K_F7 xCODE(65)
234
- #define K_F8 xCODE(66)
235
- #define K_F9 xCODE(67)
236
- #define K_F10 xCODE(68)
237
- #define K_F11 xCODE(133)
238
- #define K_F12 xCODE(134)
239
-
240
- #define K_sF1 xCODE(84)
241
- #define K_sF2 xCODE(85)
242
- #define K_sF3 xCODE(86)
243
- #define K_sF4 xCODE(87)
244
- #define K_sF5 xCODE(88)
245
- #define K_sF6 xCODE(89)
246
- #define K_sF7 xCODE(90)
247
- #define K_sF8 xCODE(91)
248
- #define K_sF9 xCODE(92)
249
- #define K_sF10 xCODE(93)
250
- #define K_sF11 xCODE(135)
251
- #define K_sF12 xCODE(136)
252
-
253
- #define K_cF1 xCODE(94)
254
- #define K_cF2 xCODE(95)
255
- #define K_cF3 xCODE(96)
256
- #define K_cF4 xCODE(97)
257
- #define K_cF5 xCODE(98)
258
- #define K_cF6 xCODE(99)
259
- #define K_cF7 xCODE(100)
260
- #define K_cF8 xCODE(101)
261
- #define K_cF9 xCODE(102)
262
- #define K_cF10 xCODE(103)
263
- #define K_cF11 xCODE(137)
264
- #define K_cF12 xCODE(138)
265
-
266
- #define K_mF1 xCODE(104)
267
- #define K_mF2 xCODE(105)
268
- #define K_mF3 xCODE(106)
269
- #define K_mF4 xCODE(107)
270
- #define K_mF5 xCODE(108)
271
- #define K_mF6 xCODE(109)
272
- #define K_mF7 xCODE(110)
273
- #define K_mF8 xCODE(111)
274
- #define K_mF9 xCODE(112)
275
- #define K_mF10 xCODE(113)
276
- #define K_mF11 xCODE(139)
277
- #define K_mF12 xCODE(140)
278
-
279
- #define K_m1 xCODE(120)
280
- #define K_m2 xCODE(121)
281
- #define K_m3 xCODE(122)
282
- #define K_m4 xCODE(123)
283
- #define K_m5 xCODE(124)
284
- #define K_m6 xCODE(125)
285
- #define K_m7 xCODE(126)
286
- #define K_m8 xCODE(127)
287
- #define K_m9 xCODE(128)
288
- #define K_m0 xCODE(129)
289
-
290
- #endif
1
+ /** \file
2
+ * \brief Keyboard Keys definitions.
3
+ *
4
+ * See Copyright Notice in "iup.h"
5
+ */
6
+
7
+ #ifndef __IUPKEY_H
8
+ #define __IUPKEY_H
9
+
10
+ /* from 32 to 126, all character sets are equal,
11
+ the key code i the same as the character code. */
12
+
13
+ #define K_SP ' ' /* 32 */
14
+ #define K_exclam '!' /* 33 */
15
+ #define K_quotedbl '\"' /* 34 */
16
+ #define K_numbersign '#' /* 35 */
17
+ #define K_dollar '$' /* 36 */
18
+ #define K_percent '%' /* 37 */
19
+ #define K_ampersand '&' /* 38 */
20
+ #define K_apostrophe '\'' /* 39 */
21
+ #define K_parentleft '(' /* 40 */
22
+ #define K_parentright ')' /* 41 */
23
+ #define K_asterisk '*' /* 42 */
24
+ #define K_plus '+' /* 43 */
25
+ #define K_comma ',' /* 44 */
26
+ #define K_minus '-' /* 45 */
27
+ #define K_period '.' /* 46 */
28
+ #define K_slash '/' /* 47 */
29
+ #define K_0 '0' /* 48 */
30
+ #define K_1 '1' /* 49 */
31
+ #define K_2 '2' /* 50 */
32
+ #define K_3 '3' /* 51 */
33
+ #define K_4 '4' /* 52 */
34
+ #define K_5 '5' /* 53 */
35
+ #define K_6 '6' /* 54 */
36
+ #define K_7 '7' /* 55 */
37
+ #define K_8 '8' /* 56 */
38
+ #define K_9 '9' /* 57 */
39
+ #define K_colon ':' /* 58 */
40
+ #define K_semicolon ';' /* 59 */
41
+ #define K_less '<' /* 60 */
42
+ #define K_equal '=' /* 61 */
43
+ #define K_greater '>' /* 62 */
44
+ #define K_question '?' /* 63 */
45
+ #define K_at '@' /* 64 */
46
+ #define K_A 'A' /* 65 */
47
+ #define K_B 'B' /* 66 */
48
+ #define K_C 'C' /* 67 */
49
+ #define K_D 'D' /* 68 */
50
+ #define K_E 'E' /* 69 */
51
+ #define K_F 'F' /* 70 */
52
+ #define K_G 'G' /* 71 */
53
+ #define K_H 'H' /* 72 */
54
+ #define K_I 'I' /* 73 */
55
+ #define K_J 'J' /* 74 */
56
+ #define K_K 'K' /* 75 */
57
+ #define K_L 'L' /* 76 */
58
+ #define K_M 'M' /* 77 */
59
+ #define K_N 'N' /* 78 */
60
+ #define K_O 'O' /* 79 */
61
+ #define K_P 'P' /* 80 */
62
+ #define K_Q 'Q' /* 81 */
63
+ #define K_R 'R' /* 82 */
64
+ #define K_S 'S' /* 83 */
65
+ #define K_T 'T' /* 84 */
66
+ #define K_U 'U' /* 85 */
67
+ #define K_V 'V' /* 86 */
68
+ #define K_W 'W' /* 87 */
69
+ #define K_X 'X' /* 88 */
70
+ #define K_Y 'Y' /* 89 */
71
+ #define K_Z 'Z' /* 90 */
72
+ #define K_bracketleft '[' /* 91 */
73
+ #define K_backslash '\\' /* 92 */
74
+ #define K_bracketright ']' /* 93 */
75
+ #define K_circum '^' /* 94 */
76
+ #define K_underscore '_' /* 95 */
77
+ #define K_grave '`' /* 96 */
78
+ #define K_a 'a' /* 97 */
79
+ #define K_b 'b' /* 98 */
80
+ #define K_c 'c' /* 99 */
81
+ #define K_d 'd' /* 100 */
82
+ #define K_e 'e' /* 101 */
83
+ #define K_f 'f' /* 102 */
84
+ #define K_g 'g' /* 103 */
85
+ #define K_h 'h' /* 104 */
86
+ #define K_i 'i' /* 105 */
87
+ #define K_j 'j' /* 106 */
88
+ #define K_k 'k' /* 107 */
89
+ #define K_l 'l' /* 108 */
90
+ #define K_m 'm' /* 109 */
91
+ #define K_n 'n' /* 110 */
92
+ #define K_o 'o' /* 111 */
93
+ #define K_p 'p' /* 112 */
94
+ #define K_q 'q' /* 113 */
95
+ #define K_r 'r' /* 114 */
96
+ #define K_s 's' /* 115 */
97
+ #define K_t 't' /* 116 */
98
+ #define K_u 'u' /* 117 */
99
+ #define K_v 'v' /* 118 */
100
+ #define K_w 'w' /* 119 */
101
+ #define K_x 'x' /* 120 */
102
+ #define K_y 'y' /* 121 */
103
+ #define K_z 'z' /* 122 */
104
+ #define K_braceleft '{' /* 123 */
105
+ #define K_bar '|' /* 124 */
106
+ #define K_braceright '}' /* 125 */
107
+ #define K_tilde '~' /* 126 */
108
+
109
+ #define iup_isprint(_c) ((_c) > 31 && (_c) < 127)
110
+
111
+ /* also define the escape sequences that have keys associated */
112
+
113
+ #define K_BS '\b' /* 8 */
114
+ #define K_TAB '\t' /* 9 */
115
+ #define K_LF '\n' /* 10 (0x0A) not a real key, is a combination of CR with a modifier, just to document */
116
+ #define K_CR '\r' /* 13 (0x0D) */
117
+
118
+ /* backward compatible definitions */
119
+
120
+ #define K_quoteleft K_grave
121
+ #define K_quoteright K_apostrophe
122
+ #define isxkey iup_isXkey
123
+
124
+ /* IUP Extended Key Codes, range start at 128 */
125
+ /* Modifiers use 256 interval */
126
+ /* These key code definitions are specific to IUP */
127
+
128
+ #define iup_isXkey(_c) ((_c) > 128)
129
+ #define iup_isShiftXkey(_c) (((_c) > 256) && ((_c) < 512))
130
+ #define iup_isCtrlXkey(_c) (((_c) > 512) && ((_c) < 768))
131
+ #define iup_isAltXkey(_c) (((_c) > 768) && ((_c) < 1024))
132
+ #define iup_isSysXkey(_c) (((_c) > 1024) && ((_c) < 1280))
133
+
134
+ #define IUPxCODE(_c) ((_c) + 128) /* Normal (must be above 128) */
135
+ #define IUPsxCODE(_c) ((_c) + 256) /* Shift (must have range to include the standard keys and the normal extended keys, so must be above 256 */
136
+ #define IUPcxCODE(_c) ((_c) + 512) /* Ctrl */
137
+ #define IUPmxCODE(_c) ((_c) + 768) /* Alt */
138
+ #define IUPyxCODE(_c) ((_c) + 1024) /* Sys (Win or Apple) */
139
+
140
+ #define IUP_NUMMAXCODES 1280 /* 5*256=1280 Normal+Shift+Ctrl+Alt+Sys */
141
+
142
+ #define K_HOME IUPxCODE(1)
143
+ #define K_UP IUPxCODE(2)
144
+ #define K_PGUP IUPxCODE(3)
145
+ #define K_LEFT IUPxCODE(4)
146
+ #define K_MIDDLE IUPxCODE(5)
147
+ #define K_RIGHT IUPxCODE(6)
148
+ #define K_END IUPxCODE(7)
149
+ #define K_DOWN IUPxCODE(8)
150
+ #define K_PGDN IUPxCODE(9)
151
+ #define K_INS IUPxCODE(10)
152
+ #define K_DEL IUPxCODE(11)
153
+ #define K_PAUSE IUPxCODE(12)
154
+ #define K_ESC IUPxCODE(13)
155
+ #define K_ccedilla IUPxCODE(14)
156
+ #define K_F1 IUPxCODE(15)
157
+ #define K_F2 IUPxCODE(16)
158
+ #define K_F3 IUPxCODE(17)
159
+ #define K_F4 IUPxCODE(18)
160
+ #define K_F5 IUPxCODE(19)
161
+ #define K_F6 IUPxCODE(20)
162
+ #define K_F7 IUPxCODE(21)
163
+ #define K_F8 IUPxCODE(22)
164
+ #define K_F9 IUPxCODE(23)
165
+ #define K_F10 IUPxCODE(24)
166
+ #define K_F11 IUPxCODE(25)
167
+ #define K_F12 IUPxCODE(26)
168
+ #define K_Print IUPxCODE(27)
169
+ #define K_Menu IUPxCODE(28)
170
+
171
+ #define K_acute IUPxCODE(29) /* no Shift/Ctrl/Alt */
172
+
173
+ #define K_sHOME IUPsxCODE(K_HOME )
174
+ #define K_sUP IUPsxCODE(K_UP )
175
+ #define K_sPGUP IUPsxCODE(K_PGUP )
176
+ #define K_sLEFT IUPsxCODE(K_LEFT )
177
+ #define K_sMIDDLE IUPsxCODE(K_MIDDLE )
178
+ #define K_sRIGHT IUPsxCODE(K_RIGHT )
179
+ #define K_sEND IUPsxCODE(K_END )
180
+ #define K_sDOWN IUPsxCODE(K_DOWN )
181
+ #define K_sPGDN IUPsxCODE(K_PGDN )
182
+ #define K_sINS IUPsxCODE(K_INS )
183
+ #define K_sDEL IUPsxCODE(K_DEL )
184
+ #define K_sSP IUPsxCODE(K_SP )
185
+ #define K_sTAB IUPsxCODE(K_TAB )
186
+ #define K_sCR IUPsxCODE(K_CR )
187
+ #define K_sBS IUPsxCODE(K_BS )
188
+ #define K_sPAUSE IUPsxCODE(K_PAUSE )
189
+ #define K_sESC IUPsxCODE(K_ESC )
190
+ #define K_Ccedilla IUPsxCODE(K_ccedilla)
191
+ #define K_sF1 IUPsxCODE(K_F1 )
192
+ #define K_sF2 IUPsxCODE(K_F2 )
193
+ #define K_sF3 IUPsxCODE(K_F3 )
194
+ #define K_sF4 IUPsxCODE(K_F4 )
195
+ #define K_sF5 IUPsxCODE(K_F5 )
196
+ #define K_sF6 IUPsxCODE(K_F6 )
197
+ #define K_sF7 IUPsxCODE(K_F7 )
198
+ #define K_sF8 IUPsxCODE(K_F8 )
199
+ #define K_sF9 IUPsxCODE(K_F9 )
200
+ #define K_sF10 IUPsxCODE(K_F10 )
201
+ #define K_sF11 IUPsxCODE(K_F11 )
202
+ #define K_sF12 IUPsxCODE(K_F12 )
203
+ #define K_sPrint IUPsxCODE(K_Print )
204
+ #define K_sMenu IUPsxCODE(K_Menu )
205
+
206
+ #define K_cHOME IUPcxCODE(K_HOME )
207
+ #define K_cUP IUPcxCODE(K_UP )
208
+ #define K_cPGUP IUPcxCODE(K_PGUP )
209
+ #define K_cLEFT IUPcxCODE(K_LEFT )
210
+ #define K_cMIDDLE IUPcxCODE(K_MIDDLE )
211
+ #define K_cRIGHT IUPcxCODE(K_RIGHT )
212
+ #define K_cEND IUPcxCODE(K_END )
213
+ #define K_cDOWN IUPcxCODE(K_DOWN )
214
+ #define K_cPGDN IUPcxCODE(K_PGDN )
215
+ #define K_cINS IUPcxCODE(K_INS )
216
+ #define K_cDEL IUPcxCODE(K_DEL )
217
+ #define K_cSP IUPcxCODE(K_SP )
218
+ #define K_cTAB IUPcxCODE(K_TAB )
219
+ #define K_cCR IUPcxCODE(K_CR )
220
+ #define K_cBS IUPcxCODE(K_BS )
221
+ #define K_cPAUSE IUPcxCODE(K_PAUSE )
222
+ #define K_cESC IUPcxCODE(K_ESC )
223
+ #define K_cCcedilla IUPcxCODE(K_ccedilla)
224
+ #define K_cF1 IUPcxCODE(K_F1 )
225
+ #define K_cF2 IUPcxCODE(K_F2 )
226
+ #define K_cF3 IUPcxCODE(K_F3 )
227
+ #define K_cF4 IUPcxCODE(K_F4 )
228
+ #define K_cF5 IUPcxCODE(K_F5 )
229
+ #define K_cF6 IUPcxCODE(K_F6 )
230
+ #define K_cF7 IUPcxCODE(K_F7 )
231
+ #define K_cF8 IUPcxCODE(K_F8 )
232
+ #define K_cF9 IUPcxCODE(K_F9 )
233
+ #define K_cF10 IUPcxCODE(K_F10 )
234
+ #define K_cF11 IUPcxCODE(K_F11 )
235
+ #define K_cF12 IUPcxCODE(K_F12 )
236
+ #define K_cPrint IUPcxCODE(K_Print )
237
+ #define K_cMenu IUPcxCODE(K_Menu )
238
+
239
+ #define K_mHOME IUPmxCODE(K_HOME )
240
+ #define K_mUP IUPmxCODE(K_UP )
241
+ #define K_mPGUP IUPmxCODE(K_PGUP )
242
+ #define K_mLEFT IUPmxCODE(K_LEFT )
243
+ #define K_mMIDDLE IUPmxCODE(K_MIDDLE )
244
+ #define K_mRIGHT IUPmxCODE(K_RIGHT )
245
+ #define K_mEND IUPmxCODE(K_END )
246
+ #define K_mDOWN IUPmxCODE(K_DOWN )
247
+ #define K_mPGDN IUPmxCODE(K_PGDN )
248
+ #define K_mINS IUPmxCODE(K_INS )
249
+ #define K_mDEL IUPmxCODE(K_DEL )
250
+ #define K_mSP IUPmxCODE(K_SP )
251
+ #define K_mTAB IUPmxCODE(K_TAB )
252
+ #define K_mCR IUPmxCODE(K_CR )
253
+ #define K_mBS IUPmxCODE(K_BS )
254
+ #define K_mPAUSE IUPmxCODE(K_PAUSE )
255
+ #define K_mESC IUPmxCODE(K_ESC )
256
+ #define K_mCcedilla IUPmxCODE(K_ccedilla)
257
+ #define K_mF1 IUPmxCODE(K_F1 )
258
+ #define K_mF2 IUPmxCODE(K_F2 )
259
+ #define K_mF3 IUPmxCODE(K_F3 )
260
+ #define K_mF4 IUPmxCODE(K_F4 )
261
+ #define K_mF5 IUPmxCODE(K_F5 )
262
+ #define K_mF6 IUPmxCODE(K_F6 )
263
+ #define K_mF7 IUPmxCODE(K_F7 )
264
+ #define K_mF8 IUPmxCODE(K_F8 )
265
+ #define K_mF9 IUPmxCODE(K_F9 )
266
+ #define K_mF10 IUPmxCODE(K_F10 )
267
+ #define K_mF11 IUPmxCODE(K_F11 )
268
+ #define K_mF12 IUPmxCODE(K_F12 )
269
+ #define K_mPrint IUPmxCODE(K_Print )
270
+ #define K_mMenu IUPmxCODE(K_Menu )
271
+
272
+ #define K_yHOME IUPyxCODE(K_HOME )
273
+ #define K_yUP IUPyxCODE(K_UP )
274
+ #define K_yPGUP IUPyxCODE(K_PGUP )
275
+ #define K_yLEFT IUPyxCODE(K_LEFT )
276
+ #define K_yMIDDLE IUPyxCODE(K_MIDDLE )
277
+ #define K_yRIGHT IUPyxCODE(K_RIGHT )
278
+ #define K_yEND IUPyxCODE(K_END )
279
+ #define K_yDOWN IUPyxCODE(K_DOWN )
280
+ #define K_yPGDN IUPyxCODE(K_PGDN )
281
+ #define K_yINS IUPyxCODE(K_INS )
282
+ #define K_yDEL IUPyxCODE(K_DEL )
283
+ #define K_ySP IUPyxCODE(K_SP )
284
+ #define K_yTAB IUPyxCODE(K_TAB )
285
+ #define K_yCR IUPyxCODE(K_CR )
286
+ #define K_yBS IUPyxCODE(K_BS )
287
+ #define K_yPAUSE IUPyxCODE(K_PAUSE )
288
+ #define K_yESC IUPyxCODE(K_ESC )
289
+ #define K_yCcedilla IUPyxCODE(K_ccedilla)
290
+ #define K_yF1 IUPyxCODE(K_F1 )
291
+ #define K_yF2 IUPyxCODE(K_F2 )
292
+ #define K_yF3 IUPyxCODE(K_F3 )
293
+ #define K_yF4 IUPyxCODE(K_F4 )
294
+ #define K_yF5 IUPyxCODE(K_F5 )
295
+ #define K_yF6 IUPyxCODE(K_F6 )
296
+ #define K_yF7 IUPyxCODE(K_F7 )
297
+ #define K_yF8 IUPyxCODE(K_F8 )
298
+ #define K_yF9 IUPyxCODE(K_F9 )
299
+ #define K_yF10 IUPyxCODE(K_F10 )
300
+ #define K_yF11 IUPyxCODE(K_F11 )
301
+ #define K_yF12 IUPyxCODE(K_F12 )
302
+ #define K_yPrint IUPyxCODE(K_Print )
303
+ #define K_yMenu IUPyxCODE(K_Menu )
304
+
305
+ #define K_sPlus IUPsxCODE(K_plus )
306
+ #define K_sComma IUPsxCODE(K_comma )
307
+ #define K_sMinus IUPsxCODE(K_minus )
308
+ #define K_sPeriod IUPsxCODE(K_period )
309
+ #define K_sSlash IUPsxCODE(K_slash )
310
+ #define K_sAsterisk IUPsxCODE(K_asterisk)
311
+
312
+ #define K_cA IUPcxCODE(K_A)
313
+ #define K_cB IUPcxCODE(K_B)
314
+ #define K_cC IUPcxCODE(K_C)
315
+ #define K_cD IUPcxCODE(K_D)
316
+ #define K_cE IUPcxCODE(K_E)
317
+ #define K_cF IUPcxCODE(K_F)
318
+ #define K_cG IUPcxCODE(K_G)
319
+ #define K_cH IUPcxCODE(K_H)
320
+ #define K_cI IUPcxCODE(K_I)
321
+ #define K_cJ IUPcxCODE(K_J)
322
+ #define K_cK IUPcxCODE(K_K)
323
+ #define K_cL IUPcxCODE(K_L)
324
+ #define K_cM IUPcxCODE(K_M)
325
+ #define K_cN IUPcxCODE(K_N)
326
+ #define K_cO IUPcxCODE(K_O)
327
+ #define K_cP IUPcxCODE(K_P)
328
+ #define K_cQ IUPcxCODE(K_Q)
329
+ #define K_cR IUPcxCODE(K_R)
330
+ #define K_cS IUPcxCODE(K_S)
331
+ #define K_cT IUPcxCODE(K_T)
332
+ #define K_cU IUPcxCODE(K_U)
333
+ #define K_cV IUPcxCODE(K_V)
334
+ #define K_cW IUPcxCODE(K_W)
335
+ #define K_cX IUPcxCODE(K_X)
336
+ #define K_cY IUPcxCODE(K_Y)
337
+ #define K_cZ IUPcxCODE(K_Z)
338
+ #define K_c1 IUPcxCODE(K_1)
339
+ #define K_c2 IUPcxCODE(K_2)
340
+ #define K_c3 IUPcxCODE(K_3)
341
+ #define K_c4 IUPcxCODE(K_4)
342
+ #define K_c5 IUPcxCODE(K_5)
343
+ #define K_c6 IUPcxCODE(K_6)
344
+ #define K_c7 IUPcxCODE(K_7)
345
+ #define K_c8 IUPcxCODE(K_8)
346
+ #define K_c9 IUPcxCODE(K_9)
347
+ #define K_c0 IUPcxCODE(K_0)
348
+ #define K_cPlus IUPcxCODE(K_plus )
349
+ #define K_cComma IUPcxCODE(K_comma )
350
+ #define K_cMinus IUPcxCODE(K_minus )
351
+ #define K_cPeriod IUPcxCODE(K_period )
352
+ #define K_cSlash IUPcxCODE(K_slash )
353
+ #define K_cSemicolon IUPcxCODE(K_semicolon )
354
+ #define K_cEqual IUPcxCODE(K_equal )
355
+ #define K_cBracketleft IUPcxCODE(K_bracketleft )
356
+ #define K_cBracketright IUPcxCODE(K_bracketright)
357
+ #define K_cBackslash IUPcxCODE(K_backslash )
358
+ #define K_cAsterisk IUPcxCODE(K_asterisk )
359
+
360
+ #define K_mA IUPmxCODE(K_A)
361
+ #define K_mB IUPmxCODE(K_B)
362
+ #define K_mC IUPmxCODE(K_C)
363
+ #define K_mD IUPmxCODE(K_D)
364
+ #define K_mE IUPmxCODE(K_E)
365
+ #define K_mF IUPmxCODE(K_F)
366
+ #define K_mG IUPmxCODE(K_G)
367
+ #define K_mH IUPmxCODE(K_H)
368
+ #define K_mI IUPmxCODE(K_I)
369
+ #define K_mJ IUPmxCODE(K_J)
370
+ #define K_mK IUPmxCODE(K_K)
371
+ #define K_mL IUPmxCODE(K_L)
372
+ #define K_mM IUPmxCODE(K_M)
373
+ #define K_mN IUPmxCODE(K_N)
374
+ #define K_mO IUPmxCODE(K_O)
375
+ #define K_mP IUPmxCODE(K_P)
376
+ #define K_mQ IUPmxCODE(K_Q)
377
+ #define K_mR IUPmxCODE(K_R)
378
+ #define K_mS IUPmxCODE(K_S)
379
+ #define K_mT IUPmxCODE(K_T)
380
+ #define K_mU IUPmxCODE(K_U)
381
+ #define K_mV IUPmxCODE(K_V)
382
+ #define K_mW IUPmxCODE(K_W)
383
+ #define K_mX IUPmxCODE(K_X)
384
+ #define K_mY IUPmxCODE(K_Y)
385
+ #define K_mZ IUPmxCODE(K_Z)
386
+ #define K_m1 IUPmxCODE(K_1)
387
+ #define K_m2 IUPmxCODE(K_2)
388
+ #define K_m3 IUPmxCODE(K_3)
389
+ #define K_m4 IUPmxCODE(K_4)
390
+ #define K_m5 IUPmxCODE(K_5)
391
+ #define K_m6 IUPmxCODE(K_6)
392
+ #define K_m7 IUPmxCODE(K_7)
393
+ #define K_m8 IUPmxCODE(K_8)
394
+ #define K_m9 IUPmxCODE(K_9)
395
+ #define K_m0 IUPmxCODE(K_0)
396
+ #define K_mPlus IUPmxCODE(K_plus )
397
+ #define K_mComma IUPmxCODE(K_comma )
398
+ #define K_mMinus IUPmxCODE(K_minus )
399
+ #define K_mPeriod IUPmxCODE(K_period )
400
+ #define K_mSlash IUPmxCODE(K_slash )
401
+ #define K_mSemicolon IUPmxCODE(K_semicolon )
402
+ #define K_mEqual IUPmxCODE(K_equal )
403
+ #define K_mBracketleft IUPmxCODE(K_bracketleft )
404
+ #define K_mBracketright IUPmxCODE(K_bracketright)
405
+ #define K_mBackslash IUPmxCODE(K_backslash )
406
+ #define K_mAsterisk IUPmxCODE(K_asterisk )
407
+
408
+ #define K_yA IUPyxCODE(K_A)
409
+ #define K_yB IUPyxCODE(K_B)
410
+ #define K_yC IUPyxCODE(K_C)
411
+ #define K_yD IUPyxCODE(K_D)
412
+ #define K_yE IUPyxCODE(K_E)
413
+ #define K_yF IUPyxCODE(K_F)
414
+ #define K_yG IUPyxCODE(K_G)
415
+ #define K_yH IUPyxCODE(K_H)
416
+ #define K_yI IUPyxCODE(K_I)
417
+ #define K_yJ IUPyxCODE(K_J)
418
+ #define K_yK IUPyxCODE(K_K)
419
+ #define K_yL IUPyxCODE(K_L)
420
+ #define K_yM IUPyxCODE(K_M)
421
+ #define K_yN IUPyxCODE(K_N)
422
+ #define K_yO IUPyxCODE(K_O)
423
+ #define K_yP IUPyxCODE(K_P)
424
+ #define K_yQ IUPyxCODE(K_Q)
425
+ #define K_yR IUPyxCODE(K_R)
426
+ #define K_yS IUPyxCODE(K_S)
427
+ #define K_yT IUPyxCODE(K_T)
428
+ #define K_yU IUPyxCODE(K_U)
429
+ #define K_yV IUPyxCODE(K_V)
430
+ #define K_yW IUPyxCODE(K_W)
431
+ #define K_yX IUPyxCODE(K_X)
432
+ #define K_yY IUPyxCODE(K_Y)
433
+ #define K_yZ IUPyxCODE(K_Z)
434
+ #define K_y1 IUPyxCODE(K_1)
435
+ #define K_y2 IUPyxCODE(K_2)
436
+ #define K_y3 IUPyxCODE(K_3)
437
+ #define K_y4 IUPyxCODE(K_4)
438
+ #define K_y5 IUPyxCODE(K_5)
439
+ #define K_y6 IUPyxCODE(K_6)
440
+ #define K_y7 IUPyxCODE(K_7)
441
+ #define K_y8 IUPyxCODE(K_8)
442
+ #define K_y9 IUPyxCODE(K_9)
443
+ #define K_y0 IUPyxCODE(K_0)
444
+ #define K_yPlus IUPyxCODE(K_plus )
445
+ #define K_yComma IUPyxCODE(K_comma )
446
+ #define K_yMinus IUPyxCODE(K_minus )
447
+ #define K_yPeriod IUPyxCODE(K_period )
448
+ #define K_ySlash IUPyxCODE(K_slash )
449
+ #define K_ySemicolon IUPyxCODE(K_semicolon )
450
+ #define K_yEqual IUPyxCODE(K_equal )
451
+ #define K_yBracketleft IUPyxCODE(K_bracketleft )
452
+ #define K_yBracketright IUPyxCODE(K_bracketright)
453
+ #define K_yBackslash IUPyxCODE(K_backslash )
454
+ #define K_yAsterisk IUPyxCODE(K_asterisk )
455
+
456
+
457
+ #endif