2014-12-05 21:43:00 +00:00
|
|
|
/*
|
2014-12-05 22:09:10 +00:00
|
|
|
* PROJECT: ReactOS On-Screen Keyboard
|
2014-12-05 21:43:00 +00:00
|
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
|
|
* FILE: base/applications/osk/main.h
|
|
|
|
* PURPOSE: On screen keyboard.
|
|
|
|
* PROGRAMMERS: Denis ROBERT
|
|
|
|
*/
|
|
|
|
|
2014-12-05 22:09:10 +00:00
|
|
|
#ifndef _OSKMAIN_H
|
|
|
|
#define _OSKMAIN_H
|
|
|
|
|
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
|
2014-12-05 21:43:00 +00:00
|
|
|
#include "osk_res.h"
|
|
|
|
|
2014-12-05 22:09:10 +00:00
|
|
|
/* TYPES **********************************************************************/
|
2014-12-05 21:43:00 +00:00
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
2014-12-05 22:09:10 +00:00
|
|
|
HINSTANCE hInstance;
|
|
|
|
HWND hMainWnd;
|
|
|
|
HBRUSH hBrushGreenLed;
|
|
|
|
UINT_PTR iTimer;
|
|
|
|
/* FIXME: To be deleted when ReactOS will support WS_EX_NOACTIVATE */
|
|
|
|
HWND hActiveWnd;
|
2018-11-17 20:27:33 +00:00
|
|
|
BOOL bShowWarning;
|
2019-02-10 15:04:16 +00:00
|
|
|
BOOL bIsEnhancedKeyboard;
|
2019-02-24 15:40:02 +00:00
|
|
|
BOOL bSoundClick;
|
2014-12-05 21:43:00 +00:00
|
|
|
} OSK_GLOBALS;
|
|
|
|
|
2014-12-05 22:09:10 +00:00
|
|
|
/* DEFINES ********************************************************************/
|
2014-12-05 21:43:00 +00:00
|
|
|
|
|
|
|
extern OSK_GLOBALS Globals;
|
|
|
|
|
|
|
|
#define countof(x) (sizeof(x) / sizeof((x)[0]))
|
2019-01-27 16:35:26 +00:00
|
|
|
#define MAX_BUFF 256
|
2014-12-05 21:43:00 +00:00
|
|
|
|
|
|
|
#endif
|
2014-12-05 22:09:10 +00:00
|
|
|
|
2014-12-05 21:43:00 +00:00
|
|
|
/* EOF */
|