[OSK] Initial implementation of a menu (#1301)
[reactos.git] / base / applications / osk / main.h
1 /*
2 * PROJECT: ReactOS On-Screen Keyboard
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: base/applications/osk/main.h
5 * PURPOSE: On screen keyboard.
6 * PROGRAMMERS: Denis ROBERT
7 */
8
9 #ifndef _OSKMAIN_H
10 #define _OSKMAIN_H
11
12 /* INCLUDES *******************************************************************/
13
14 #include "osk_res.h"
15
16 /* TYPES **********************************************************************/
17
18 typedef struct
19 {
20 HINSTANCE hInstance;
21 HWND hMainWnd;
22 HBRUSH hBrushGreenLed;
23 UINT_PTR iTimer;
24 /* FIXME: To be deleted when ReactOS will support WS_EX_NOACTIVATE */
25 HWND hActiveWnd;
26 BOOL bShowWarning;
27 } OSK_GLOBALS;
28
29 /* DEFINES ********************************************************************/
30
31 extern OSK_GLOBALS Globals;
32
33 #define countof(x) (sizeof(x) / sizeof((x)[0]))
34 #define MAX_BUFF 256
35
36 #endif
37
38 /* EOF */