17 #ifndef DGL_BASE_HPP_INCLUDED
18 #define DGL_BASE_HPP_INCLUDED
20 #include "../distrho/extra/LeakDetector.hpp"
21 #include "../distrho/extra/ScopedPointer.hpp"
27 # define DGL_NAMESPACE DGL
30 #define START_NAMESPACE_DGL namespace DGL_NAMESPACE {
31 #define END_NAMESPACE_DGL }
32 #define USE_NAMESPACE_DGL using namespace DGL_NAMESPACE;
43 kModifierShift = 1U << 0U,
44 kModifierControl = 1U << 1U,
45 kModifierAlt = 1U << 2U,
46 kModifierSuper = 1U << 3U,
47 kModifierNumLock = 1U << 4U,
48 kModifierScrollLock = 1U << 5U,
49 kModifierCapsLock = 1U << 6U,
68 kKeyBackspace = 0x00000008U,
69 kKeyTab = 0x00000009U,
70 kKeyEnter = 0x0000000DU,
71 kKeyEscape = 0x0000001BU,
72 kKeyDelete = 0x0000007FU,
73 kKeySpace = 0x00000020U,
96 kKeyPrintScreen = 0xE041U,
103 kKeyShiftL = 0xE051U,
122 kKeyPadPageUp = 0xE071U,
130 kKeyPadClear = 0xE09DU,
134 kKeyPadMultiply = 0xE0AAU,
142 kCharBackspace DISTRHO_DEPRECATED_BY(
"kKeyBackspace") = kKeyBackspace,
143 kCharEscape DISTRHO_DEPRECATED_BY(
"kKeyEscape") = kKeyEscape,
144 kCharDelete DISTRHO_DEPRECATED_BY(
"kKeyDelete") = kKeyDelete,
146 kKeyShift DISTRHO_DEPRECATED_BY(
"kKeyShiftL") = kKeyShiftL,
147 kKeyControl DISTRHO_DEPRECATED_BY(
"kKeyControlL") = kKeyControlL,
148 kKeyAlt DISTRHO_DEPRECATED_BY(
"kKeyAltL") = kKeyAltL,
149 kKeySuper DISTRHO_DEPRECATED_BY(
"kKeySuperL") = kKeySuperL,
187 kMouseButtonLeft = 1,
200 kMouseCursorCrosshair,
202 kMouseCursorNotAllowed,
203 kMouseCursorLeftRight,
205 kMouseCursorUpLeftDownRight,
206 kMouseCursorUpRightDownLeft,
207 kMouseCursorAllScroll,
210 kMouseCursorDiagonal DISTRHO_DEPRECATED_BY(
"kMouseCursorUpLeftDownRight") = kMouseCursorUpLeftDownRight,
211 kMouseCursorAntiDiagonal DISTRHO_DEPRECATED_BY(
"kMouseCursorUpRightDownLeft") = kMouseCursorUpRightDownLeft,
221 enum ScrollDirection {
261 virtual void idleCallback() = 0;
268 #ifndef DONT_SET_USING_DGL_NAMESPACE
271 using namespace DGL_NAMESPACE;
const char * type
Definition: Base.hpp:244
uint32_t id
Definition: Base.hpp:238