Photon microGUI widgets library 0.6.0
WidgetKeys.h
1#ifndef WIDGET_KEYS_H
2#define WIDGET_KEYS_H
3
4#include <photon/PkKeyDef.h>
5
6namespace PhWidgets
7{
8
9 struct Hotkeys
10 {
11 enum eHotkeys
12 {
13 Left = Pk_Left,
14 BackSpace = Pk_BackSpace,
15 Tab = Pk_Tab,
16 Return = Pk_Return,
17 Escape = Pk_Escape,
18 Home = Pk_Home,
19 Up = Pk_Up,
20 Right = Pk_Right,
21 Down = Pk_Down,
22 Pg_Up = Pk_Pg_Up,
23 Pg_Down = Pk_Pg_Down,
24 End = Pk_End,
25 Insert = Pk_Insert,
26 Delete = Pk_Delete,
27 Menu = Pk_Menu,
28 F1 = Pk_F1,
29 F2 = Pk_F2,
30 F3 = Pk_F3,
31 F4 = Pk_F4,
32 F5 = Pk_F5,
33 F6 = Pk_F6,
34 F7 = Pk_F7,
35 F8 = Pk_F8,
36 F9 = Pk_F9,
37 F10 = Pk_F10,
38 F11 = Pk_F11,
39 F12 = Pk_F12,
40 F13 = Pk_F13,
41 F14 = Pk_F14,
42 F15 = Pk_F15,
43 F16 = Pk_F16,
44 F17 = Pk_F17,
45 F18 = Pk_F18,
46 F19 = Pk_F19,
47 F20 = Pk_F20,
48 F21 = Pk_F21,
49 F22 = Pk_F22,
50 F23 = Pk_F23,
51 F24 = Pk_F24,
52 F25 = Pk_F25,
53 F26 = Pk_F26,
54 F27 = Pk_F27,
55 F28 = Pk_F28,
56 F29 = Pk_F29,
57 F30 = Pk_F30,
58 F31 = Pk_F31,
59 F32 = Pk_F32,
60 F33 = Pk_F33,
61 F34 = Pk_F34,
62 F35 = Pk_F35
63 };
64
65
66 };
67
68 struct KeyModes
69 {
70 enum eKeyModes
71 {
72 Shift = Pk_KM_Shift,
73 Ctrl = Pk_KM_Ctrl,
74 Alt = Pk_KM_Alt,
75 none = 0
76 };
77 };
78
79} // namespace PhWidgets
80
81#endif // WIDGET_HOTKEYS_H
The main namespace for all widgets.
Definition: Basic.h:11