23 #ifndef _LAX_LAXDEFS_H
24 #define _LAX_LAXDEFS_H
32 #define MIN( a, b ) ((a) < (b) ? (a) : (b))
36 #define MAX( a, b ) ((a) > (b) ? (a) : (b))
42 #define LAX_HAS_IMLIB2 0
43 #define LAX_HAS_CAIRO 1
45 #define LAX_HAS_XINPUT2 3
49 #define LAX_ISNOTLOCAL 0
51 #define LAX_ISLOCAL_ARRAY 2
52 #define LAX_IS_REF_COUNTED 3
56 #define LAX_DUMP_NORMAL 0
57 #define LAX_DUMP_SVG 1
59 #define LAX_DUMP_EPS 3
60 #define LAX_DUMP_PDF 4
68 #define LAX_LEFT (1<<0)
69 #define LAX_HCENTER (1<<1)
70 #define LAX_RIGHT (1<<2)
71 #define LAX_CHAR (1<<3)
72 #define LAX_NUMERIC (1<<4)
73 #define LAX_TOP (1<<5)
74 #define LAX_VCENTER (1<<6)
75 #define LAX_BOTTOM (1<<7)
76 #define LAX_BASELINE (1<<8)
77 #define LAX_CENTER (1<<1|1<<6)
102 #define LAX_FLOW_MASK (0x7)
110 #define LAX_HIDDEN (0)
111 #define LAX_OFF (1<<0)
112 #define LAX_ON (1<<1)
113 #define LAX_GRAY (1<<2)
114 #define LAX_SEPARATOR (1<<3)
115 #define LAX_MSTATE_MASK (0xff)
119 #define LAX_OPEN (1<<8)
120 #define LAX_CCUR (1<<9)
121 #define LAX_MOUSEIN (1<<10)
122 #define LAX_ISLEAF (1<<11)
123 #define LAX_HAS_SUBMENU (1<<12)
124 #define LAX_ISTOGGLE (1<<13)
125 #define LAX_CHECKED (1<<14)
131 #define MIDDLEBUTTON 2
132 #define RIGHTBUTTON 4
133 #define WHEELUPBUTTON 8
134 #define WHEELDOWNBUTTON 16
135 #define WHEELLEFTBUTTON 32
136 #define WHEELRIGHTBUTTON 64
137 #define MOUSEBACK 128
138 #define MOUSEFORWARD 256
156 #define LAX_STATE_MASK ((1<<0)|(1<<2)|(1<<3)|(1<<6))
177 #ifndef _LAX_PLATFORM_XLIB
178 # define ShiftMask (1<<0)
179 # define ControlMask (1<<2)
180 # define Mod3Mask (1<<5)
181 # define Mod5Mask (1<<7)
184 #define CapsLockMask (1<<1)
185 #define AltMask (1<<3)
186 #define NumLockMask (1<<4)
187 #define MetaMask (1<<6)
189 #define LeftButtonMask (1<<8)
190 #define MiddleButtonMask (1<<9)
191 #define RightButtonMask (1<<10)
192 #define WheelUpMask (1<<11)
193 #define WheelDownMask (1<<12)
195 #define KeypadMask (1<<15)
206 #define LAX_Shift 0xffe1
207 #define LAX_Control 0xffe3
208 #define LAX_Esc 0xff1b
209 #define LAX_Menu 0xff67
210 #define LAX_Pause 0xff13
211 #define LAX_Alt 0xffe9
212 #define LAX_Meta 0xffe7
213 #define LAX_Del 0xffff
214 #define LAX_Bksp 0xff08
216 #define LAX_Ins 0xff63
217 #define LAX_Home 0xff50
218 #define LAX_End 0xff57
220 #define LAX_Pgup 0xff55
221 #define LAX_Pgdown 0xff56
222 #define LAX_F1 0xffbe
223 #define LAX_F2 0xffbf
224 #define LAX_F3 0xffc0
225 #define LAX_F4 0xffc1
226 #define LAX_F5 0xffc2
227 #define LAX_F6 0xffc3
228 #define LAX_F7 0xffc4
229 #define LAX_F8 0xffc5
230 #define LAX_F9 0xffc6
231 #define LAX_F10 0xffc7
232 #define LAX_F11 0xffc8
233 #define LAX_F12 0xffc9
234 #define LAX_Left 0xff51
235 #define LAX_Up 0xff52
236 #define LAX_Down 0xff54
237 #define LAX_Right 0xff53
238 #define LAX_Numlock 0xff7f
239 #define LAX_Capslock 0xffe5
246 #define LAX_MonBrightnessUp 0x1008FF02
247 #define LAX_MonBrightnessDown 0x1008FF03
248 #define LAX_KbdLightOnOff 0x1008FF04
249 #define LAX_KbdBrightnessUp 0x1008FF05
250 #define LAX_KbdBrightnessDown 0x1008FF06
255 #define LAX_Standby 0x1008FF10
256 #define LAX_AudioLowerVolume 0x1008FF11
257 #define LAX_AudioMute 0x1008FF12
258 #define LAX_AudioRaiseVolume 0x1008FF13
259 #define LAX_AudioPlay 0x1008FF14
260 #define LAX_AudioStop 0x1008FF15
261 #define LAX_AudioPrev 0x1008FF16
262 #define LAX_AudioNext 0x1008FF17
263 #define LAX_HomePage 0x1008FF18
264 #define LAX_Mail 0x1008FF19
265 #define LAX_Start 0x1008FF1A
266 #define LAX_Search 0x1008FF1B
267 #define LAX_AudioRecord 0x1008FF1C
270 #define LAX_Calculator 0x1008FF1D
271 #define LAX_Memo 0x1008FF1E
272 #define LAX_ToDoList 0x1008FF1F
273 #define LAX_Calendar 0x1008FF20
274 #define LAX_PowerDown 0x1008FF21
275 #define LAX_ContrastAdjust 0x1008FF22
276 #define LAX_RockerUp 0x1008FF23
277 #define LAX_RockerDown 0x1008FF24
278 #define LAX_RockerEnter 0x1008FF25
281 #define LAX_Back 0x1008FF26
282 #define LAX_Forward 0x1008FF27
283 #define LAX_Stop 0x1008FF28
284 #define LAX_Refresh 0x1008FF29
285 #define LAX_PowerOff 0x1008FF2A
286 #define LAX_WakeUp 0x1008FF2B
287 #define LAX_Eject 0x1008FF2C
288 #define LAX_ScreenSaver 0x1008FF2D
289 #define LAX_WWW 0x1008FF2E
290 #define LAX_Sleep 0x1008FF2F
291 #define LAX_Favorites 0x1008FF30
292 #define LAX_AudioPause 0x1008FF31
293 #define LAX_AudioMedia 0x1008FF32
294 #define LAX_MyComputer 0x1008FF33
295 #define LAX_VendorHome 0x1008FF34
296 #define LAX_LightBulb 0x1008FF35
297 #define LAX_Shop 0x1008FF36
298 #define LAX_History 0x1008FF37
299 #define LAX_OpenURL 0x1008FF38
300 #define LAX_AddFavorite 0x1008FF39
301 #define LAX_HotLinks 0x1008FF3A
302 #define LAX_BrightnessAdjust 0x1008FF3B
303 #define LAX_Finance 0x1008FF3C
304 #define LAX_Community 0x1008FF3D
305 #define LAX_AudioRewind 0x1008FF3E
306 #define LAX_BackForward 0x1008FF3F
307 #define LAX_Launch0 0x1008FF40
308 #define LAX_Launch1 0x1008FF41
309 #define LAX_Launch2 0x1008FF42
310 #define LAX_Launch3 0x1008FF43
311 #define LAX_Launch4 0x1008FF44
312 #define LAX_Launch5 0x1008FF45
313 #define LAX_Launch6 0x1008FF46
314 #define LAX_Launch7 0x1008FF47
315 #define LAX_Launch8 0x1008FF48
316 #define LAX_Launch9 0x1008FF49
317 #define LAX_LaunchA 0x1008FF4A
318 #define LAX_LaunchB 0x1008FF4B
319 #define LAX_LaunchC 0x1008FF4C
320 #define LAX_LaunchD 0x1008FF4D
321 #define LAX_LaunchE 0x1008FF4E
322 #define LAX_LaunchF 0x1008FF4F
324 #define LAX_ApplicationLeft 0x1008FF50
325 #define LAX_ApplicationRight 0x1008FF51
326 #define LAX_Book 0x1008FF52
327 #define LAX_CD 0x1008FF53
328 #define LAX_Calculater 0x1008FF54
329 #define LAX_Clear 0x1008FF55
330 #define LAX_Close 0x1008FF56
331 #define LAX_Copy 0x1008FF57
332 #define LAX_Cut 0x1008FF58
333 #define LAX_Display 0x1008FF59
334 #define LAX_DOS 0x1008FF5A
335 #define LAX_Documents 0x1008FF5B
336 #define LAX_Excel 0x1008FF5C
337 #define LAX_Explorer 0x1008FF5D
338 #define LAX_Game 0x1008FF5E
339 #define LAX_Go 0x1008FF5F
340 #define LAX_iTouch 0x1008FF60
341 #define LAX_LogOff 0x1008FF61
342 #define LAX_Market 0x1008FF62
343 #define LAX_Meeting 0x1008FF63
344 #define LAX_MenuKB 0x1008FF65
345 #define LAX_MenuPB 0x1008FF66
346 #define LAX_MySites 0x1008FF67
347 #define LAX_New 0x1008FF68
348 #define LAX_News 0x1008FF69
349 #define LAX_OfficeHome 0x1008FF6A
350 #define LAX_Open 0x1008FF6B
351 #define LAX_Option 0x1008FF6C
352 #define LAX_Paste 0x1008FF6D
353 #define LAX_Phone 0x1008FF6E
354 #define LAX_Q 0x1008FF70
355 #define LAX_Reply 0x1008FF72
356 #define LAX_Reload 0x1008FF73
357 #define LAX_RotateWindows 0x1008FF74
358 #define LAX_RotationPB 0x1008FF75
359 #define LAX_RotationKB 0x1008FF76
360 #define LAX_Save 0x1008FF77
361 #define LAX_ScrollUp 0x1008FF78
362 #define LAX_ScrollDown 0x1008FF79
363 #define LAX_ScrollClick 0x1008FF7A
364 #define LAX_Send 0x1008FF7B
365 #define LAX_Spell 0x1008FF7C
366 #define LAX_SplitScreen 0x1008FF7D
367 #define LAX_Support 0x1008FF7E
368 #define LAX_TaskPane 0x1008FF7F
369 #define LAX_Terminal 0x1008FF80
370 #define LAX_Tools 0x1008FF81
371 #define LAX_Travel 0x1008FF82
372 #define LAX_UserPB 0x1008FF84
373 #define LAX_User1KB 0x1008FF85
374 #define LAX_User2KB 0x1008FF86
375 #define LAX_Video 0x1008FF87
376 #define LAX_WheelButton 0x1008FF88
377 #define LAX_Word 0x1008FF89
378 #define LAX_Xfer 0x1008FF8A
379 #define LAX_ZoomIn 0x1008FF8B
380 #define LAX_ZoomOut 0x1008FF8C
382 #define LAX_Away 0x1008FF8D
383 #define LAX_Messenger 0x1008FF8E
384 #define LAX_WebCam 0x1008FF8F
385 #define LAX_MailForward 0x1008FF90
386 #define LAX_Pictures 0x1008FF91
387 #define LAX_Music 0x1008FF92
389 #define LAX_Battery 0x1008FF93
390 #define LAX_Bluetooth 0x1008FF94
391 #define LAX_WLAN 0x1008FF95
392 #define LAX_UWB 0x1008FF96
394 #define LAX_AudioForward 0x1008FF97
395 #define LAX_AudioRepeat 0x1008FF98
396 #define LAX_AudioRandomPlay 0x1008FF99
397 #define LAX_Subtitle 0x1008FF9A
398 #define LAX_AudioCycleTrack 0x1008FF9B
399 #define LAX_CycleAngle 0x1008FF9C
400 #define LAX_FrameBack 0x1008FF9D
401 #define LAX_FrameForward 0x1008FF9E
402 #define LAX_Time 0x1008FF9F
403 #define LAX_Select 0x1008FFA0
404 #define LAX_View 0x1008FFA1
405 #define LAX_TopMenu 0x1008FFA2
407 #define LAX_Red 0x1008FFA3
408 #define LAX_Green 0x1008FFA4
409 #define LAX_Yellow 0x1008FFA5
410 #define LAX_Blue 0x1008FFA6
412 #define LAX_Suspend 0x1008FFA7
413 #define LAX_Hibernate 0x1008FFA8
414 #define LAX_TouchpadToggle 0x1008FFA9
415 #define LAX_TouchpadOn 0x1008FFB0
416 #define LAX_TouchpadOff 0x1008FFB1
420 #define LAX_Switch_VT_1 0x1008FE01
421 #define LAX_Switch_VT_2 0x1008FE02
422 #define LAX_Switch_VT_3 0x1008FE03
423 #define LAX_Switch_VT_4 0x1008FE04
424 #define LAX_Switch_VT_5 0x1008FE05
425 #define LAX_Switch_VT_6 0x1008FE06
426 #define LAX_Switch_VT_7 0x1008FE07
427 #define LAX_Switch_VT_8 0x1008FE08
428 #define LAX_Switch_VT_9 0x1008FE09
429 #define LAX_Switch_VT_10 0x1008FE0A
430 #define LAX_Switch_VT_11 0x1008FE0B
431 #define LAX_Switch_VT_12 0x1008FE0C
433 #define LAX_Ungrab 0x1008FE20
434 #define LAX_ClearGrab 0x1008FE21
435 #define LAX_Next_VMode 0x1008FE22
436 #define LAX_Prev_VMode 0x1008FE23
437 #define LAX_LogWindowTree 0x1008FE24
438 #define LAX_LogGrabInfo 0x1008FE25
Mon Feb 17 2014 11:52:56, Laxkit