Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
interactionsStructs.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_UI_INTERACTIONSSTRUCTS_HPP_
2#define IV_SRC_UI_INTERACTIONSSTRUCTS_HPP_
3
4namespace iv::ui
5{
6
8{
9 bool isLeftClick {false};
10 bool isMiddleClick {false};
11 bool isRightClick {false};
12
13 bool isDoubleClick {false};
14 bool isTripleClick {false};
15};
16
18{
19 bool isShift {false};
20 bool isControl {false};
21};
22
24{
25 // State Keys
26 bool isShift {false};
27 bool isControl {false};
28
29 // Shortcuts
30 bool isKeyEsc {false};
31 bool isKeyDelete {false};
32 bool isKeyPlus {false};
33 bool isKeyC {false};// +Ctrl: Copy ;
34 bool isKeyV {false};// +Ctrl: Paste ;
35 bool isKeyX {false};// +Ctrl: Cut ;
36 bool isKeyZ {false};// +Ctrl: Undo ;
37 bool isKeyY {false};// +Ctrl: Redo ;
38 bool isKeyR {false};// +Ctrl: Rotate ;
39 bool isKeyE {false};// +Ctrl: Equidistance ;
40 bool isKeyA {false};// +Ctrl: Alignment ;
41 bool isKeyP {false};// +Ctrl: Center page ;
42
43 // Arrow Keys
44 bool isArrowKeyDown {false}; // Arrow Down
45 bool isArrowKeyRight {false};// Arrow Right
46 bool isArrowKeyUp {false}; // Arrow Up
47 bool isArrowKeyLeft {false}; // Arrow Left
48};
49
50}// namespace iv::ui
51
52#endif//IV_SRC_UI_INTERACTIONSSTRUCTS_HPP_
Definition enums.hpp:5
Definition interactionsStructs.hpp:24
bool isKeyPlus
Definition interactionsStructs.hpp:32
bool isKeyR
Definition interactionsStructs.hpp:38
bool isArrowKeyUp
Definition interactionsStructs.hpp:46
bool isKeyP
Definition interactionsStructs.hpp:41
bool isKeyY
Definition interactionsStructs.hpp:37
bool isKeyZ
Definition interactionsStructs.hpp:36
bool isArrowKeyLeft
Definition interactionsStructs.hpp:47
bool isKeyEsc
Definition interactionsStructs.hpp:30
bool isKeyX
Definition interactionsStructs.hpp:35
bool isKeyE
Definition interactionsStructs.hpp:39
bool isArrowKeyRight
Definition interactionsStructs.hpp:45
bool isKeyC
Definition interactionsStructs.hpp:33
bool isArrowKeyDown
Definition interactionsStructs.hpp:44
bool isShift
Definition interactionsStructs.hpp:26
bool isKeyA
Definition interactionsStructs.hpp:40
bool isKeyV
Definition interactionsStructs.hpp:34
bool isKeyDelete
Definition interactionsStructs.hpp:31
bool isControl
Definition interactionsStructs.hpp:27
Definition interactionsStructs.hpp:8
bool isRightClick
Definition interactionsStructs.hpp:11
bool isMiddleClick
Definition interactionsStructs.hpp:10
bool isLeftClick
Definition interactionsStructs.hpp:9
bool isDoubleClick
Definition interactionsStructs.hpp:13
bool isTripleClick
Definition interactionsStructs.hpp:14
Definition interactionsStructs.hpp:18
bool isShift
Definition interactionsStructs.hpp:19
bool isControl
Definition interactionsStructs.hpp:20