-
Notifications
You must be signed in to change notification settings - Fork 1
/
win32gui.h
34 lines (25 loc) · 1.34 KB
/
win32gui.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// win32gui.h
#ifndef _JUCE_WIN32GUI
#define _JUCE_WIN32GUI
#include <windows.h>
#define WIN_WIDTH 380
#define WIN_HEIGHT 215
extern HWND g_kdbDirControl; // displays path to folder that contains KDB
extern HWND g_keyHomeKitControl; // displays key binding for home kit switch
extern HWND g_keyAwayKitControl; // displays key binding for away kit switch
extern HWND g_keyGKHomeKitControl; // displays key binding for home GK kit switch
extern HWND g_keyGKAwayKitControl; // displays key binding for away GK kit switch
extern HWND g_keyPrevBallControl; // displays key binding for previous ball switch
extern HWND g_keyNextBallControl; // displays key binding for next ball switch
extern HWND g_keyRandomBallControl; // displays key binding for random ball switch
extern HWND g_keyResetBallControl; // displays key binding for reset ball switch
extern HWND g_statusTextControl; // displays status messages
extern HWND g_restoreButtonControl; // restore settings button
extern HWND g_saveButtonControl; // save settings button
// macros
#define VKEY_TEXT(key, buffer, buflen) \
ZeroMemory(buffer, buflen); \
GetKeyNameText(MapVirtualKey(key, 0) << 16, buffer, buflen)
// functions
bool BuildControls(HWND parent);
#endif