AeonGUI
A portable video game graphic user interface library.
Loading...
Searching...
No Matches
EventModifierInit.hpp
1/*
2Copyright (C) 2026 Rodrigo Jose Hernandez Cordoba
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16#ifndef AEONGUI_DOM_EVENTMODIFIERINIT_H
17#define AEONGUI_DOM_EVENTMODIFIERINIT_H
18#include "aeongui/dom/UIEvent.hpp"
19
20namespace AeonGUI
21{
22 namespace DOM
23 {
31 {
32 bool ctrlKey{false};
33 bool shiftKey{false};
34 bool altKey{false};
35 bool metaKey{false};
36 bool modifierAltGraph{false};
37 bool modifierCapsLock{false};
38 bool modifierFn{false};
39 bool modifierFnLock{false};
40 bool modifierHyper{false};
41 bool modifierNumLock{false};
42 bool modifierScrollLock{false};
43 bool modifierSuper{false};
44 bool modifierSymbol{false};
45 bool modifierSymbolLock{false};
46 };
47 }
48}
49#endif
Shared modifier key initialization dictionary.
Definition EventModifierInit.hpp:31
bool shiftKey
Shift key modifier active.
Definition EventModifierInit.hpp:33
bool metaKey
Meta (Command/Windows) key modifier active.
Definition EventModifierInit.hpp:35
bool modifierHyper
Hyper modifier active.
Definition EventModifierInit.hpp:40
bool modifierNumLock
NumLock modifier active.
Definition EventModifierInit.hpp:41
bool modifierSymbol
Symbol modifier active.
Definition EventModifierInit.hpp:44
bool modifierAltGraph
AltGraph modifier active.
Definition EventModifierInit.hpp:36
bool modifierSymbolLock
SymbolLock modifier active.
Definition EventModifierInit.hpp:45
bool ctrlKey
Control key modifier active.
Definition EventModifierInit.hpp:32
bool modifierFnLock
FnLock modifier active.
Definition EventModifierInit.hpp:39
bool modifierSuper
Super modifier active.
Definition EventModifierInit.hpp:43
bool modifierCapsLock
CapsLock modifier active.
Definition EventModifierInit.hpp:37
bool altKey
Alt (Option) key modifier active.
Definition EventModifierInit.hpp:34
bool modifierFn
Fn modifier active.
Definition EventModifierInit.hpp:38
bool modifierScrollLock
ScrollLock modifier active.
Definition EventModifierInit.hpp:42
Initialization dictionary for UIEvent construction.
Definition UIEvent.hpp:29