Move _al_win_* functs to aintwin.h.

This commit is contained in:
David Capello 2010-10-20 00:09:12 -03:00
parent 3de0da7f93
commit e1bfbc4f3c
2 changed files with 8 additions and 9 deletions

View File

@ -109,9 +109,17 @@ AL_FUNC(int, wnd_call_proc, (int (*proc)(void)));
AL_FUNC(void, wnd_schedule_proc, (int (*proc)(void)));
/* keyboard routines */
AL_FUNC(void, _al_win_kbd_handle_key_press, (int scode, int vcode, BOOL repeated));
AL_FUNC(void, _al_win_kbd_handle_key_release, (int vcode));
/* mouse routines */
AL_VAR(HCURSOR, _win_hcursor);
AL_FUNC(int, mouse_set_syscursor, (void));
AL_FUNC(void, _al_win_mouse_handle_button, (HWND hwnd, int button, BOOL down, int x, int y, BOOL abs));
AL_FUNC(void, _al_win_mouse_handle_wheel, (HWND hwnd, int z, BOOL abs));
AL_FUNC(void, _al_win_mouse_handle_move, (HWND hwnd, int x, int y));
/* thread routines */

View File

@ -90,15 +90,6 @@ typedef struct {
#endif /* ifndef CCHILDREN_TITLEBAR */
/* In wmouse.c */
void _al_win_mouse_handle_button(HWND hwnd, int button, BOOL down, int x, int y, BOOL abs);
void _al_win_mouse_handle_wheel(HWND hwnd, int z, BOOL abs);
void _al_win_mouse_handle_move(HWND hwnd, int x, int y);
/* In wkeybd.c */
void _al_win_kbd_handle_key_press(int scode, int vcode, BOOL repeated);
void _al_win_kbd_handle_key_release(int vcode);
/* init_window_modules:
* Initialises the modules that are specified by the WM argument.