mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
d000a1e1c6
- 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
40 lines
998 B
C
40 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 */
|