comparison src/video/bwindow/SDL_lowvideo.h @ 907:3bd4d7a1ee04

Date: Mon, 21 Jun 2004 16:52:47 +0200 From: Marcin Konicki Subject: SDL 1.2.7 patch for BeOS (new input handling code) I rewrote input handling code for BeOS. It should be faster now (i got report that mouse is faster, keyboard should be too, but it's harder to observe). I'll try to add mouse wheel support too, soon. Stefano Ceccherini (a.k.a Jack Burton) helped me beautify code (working version was less clean), and it was he who asked me to write this thing ;).
author Sam Lantinga <slouken@libsdl.org>
date Sun, 18 Jul 2004 19:36:06 +0000
parents b8d311d90021
children c9b51268668f
comparison
equal deleted inserted replaced
906:a48acf6ee48f 907:3bd4d7a1ee04
47 SDL_Rect **SDL_modelist[NUM_MODELISTS]; 47 SDL_Rect **SDL_modelist[NUM_MODELISTS];
48 48
49 /* A completely clear cursor */ 49 /* A completely clear cursor */
50 WMcursor *BlankCursor; 50 WMcursor *BlankCursor;
51 51
52 /* Mouse state variables */
53 uint32 last_buttons;
54 BPoint last_point;
55
56 /* Keyboard state variables */
57 int key_flip;
58 struct key_info keyinfo[2];
59
60 SDL_Overlay *overlay; 52 SDL_Overlay *overlay;
61 }; 53 };
62 /* Old variable names */ 54 /* Old variable names */
63 #define SDL_Win (_this->hidden->SDL_Win) 55 #define SDL_Win (_this->hidden->SDL_Win)
64 #define saved_mode (_this->hidden->saved_mode) 56 #define saved_mode (_this->hidden->saved_mode)
65 #define SDL_nummodes (_this->hidden->SDL_nummodes) 57 #define SDL_nummodes (_this->hidden->SDL_nummodes)
66 #define SDL_modelist (_this->hidden->SDL_modelist) 58 #define SDL_modelist (_this->hidden->SDL_modelist)
67 #define SDL_BlankCursor (_this->hidden->BlankCursor) 59 #define SDL_BlankCursor (_this->hidden->BlankCursor)
68 #define last_buttons (_this->hidden->last_buttons)
69 #define last_point (_this->hidden->last_point)
70 #define key_flip (_this->hidden->key_flip)
71 #define keyinfo (_this->hidden->keyinfo)
72 #define current_overlay (_this->hidden->overlay) 60 #define current_overlay (_this->hidden->overlay)
73 61
74 #endif /* _SDL_lowvideo_h */ 62 #endif /* _SDL_lowvideo_h */