mirror of
https://github.com/reactos/reactos.git
synced 2024-09-08 19:59:49 +00:00
![Bișoc George](/assets/img/avatar_default.png)
- Add the respective standard keyboard resource. - Implement the standard/enhanced keyboard dialog switcher. - Implement save/load handler. - Move the warning box conditinal check (bShowWarning) to wWinMain application entry point (this will prevent the modal welcome box from displaying each time the user switches into another dialog). CORE-14428
40 lines
970 B
C
40 lines
970 B
C
/*
|
|
* PROJECT: ReactOS On-Screen Keyboard
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* FILE: base/applications/osk/main.h
|
|
* PURPOSE: On screen keyboard.
|
|
* PROGRAMMERS: Denis ROBERT
|
|
*/
|
|
|
|
#ifndef _OSKMAIN_H
|
|
#define _OSKMAIN_H
|
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
#include "osk_res.h"
|
|
|
|
/* TYPES **********************************************************************/
|
|
|
|
typedef struct
|
|
{
|
|
HINSTANCE hInstance;
|
|
HWND hMainWnd;
|
|
HBRUSH hBrushGreenLed;
|
|
UINT_PTR iTimer;
|
|
/* FIXME: To be deleted when ReactOS will support WS_EX_NOACTIVATE */
|
|
HWND hActiveWnd;
|
|
BOOL bShowWarning;
|
|
BOOL bIsEnhancedKeyboard;
|
|
} OSK_GLOBALS;
|
|
|
|
/* DEFINES ********************************************************************/
|
|
|
|
extern OSK_GLOBALS Globals;
|
|
|
|
#define countof(x) (sizeof(x) / sizeof((x)[0]))
|
|
#define MAX_BUFF 256
|
|
|
|
#endif
|
|
|
|
/* EOF */
|