mirror of
https://github.com/reactos/reactos.git
synced 2024-08-23 19:58:25 +00:00
![Bișoc George](/assets/img/avatar_default.png)
- Implement the save/load handler for this feature - Check the "Use Click Sound" item state accordingly depending if it's enabled or disabled - Use PlaySoundW() to play the wave sound file from resource - Add the WAV sound click file. The work is made thanks to Midori Mizuno
41 lines
998 B
C
41 lines
998 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;
|
|
BOOL bSoundClick;
|
|
} OSK_GLOBALS;
|
|
|
|
/* DEFINES ********************************************************************/
|
|
|
|
extern OSK_GLOBALS Globals;
|
|
|
|
#define countof(x) (sizeof(x) / sizeof((x)[0]))
|
|
#define MAX_BUFF 256
|
|
|
|
#endif
|
|
|
|
/* EOF */
|