Molybden API
Loading...
Searching...
No Matches
shortcut.hpp
1
// Copyright (c) 2000-2024 TeamDev Ltd. All rights reserved.
2
// TeamDev PROPRIETARY and CONFIDENTIAL.
3
// Use is subject to license terms.
4
5
#ifndef MOLYBDEN_SHORTCUT_HPP
6
#define MOLYBDEN_SHORTCUT_HPP
7
8
#include <cstdint>
9
10
#include "molybden/shortcuts/key_code.hpp"
11
#include "molybden/shortcuts/key_modifiers.hpp"
12
13
namespace
molybden {
14
25
struct
Shortcut
{
26
explicit
Shortcut
(KeyCode key = KeyCode::UNKNOWN,
27
int32_t modifiers = 0);
28
29
KeyCode key = KeyCode::UNKNOWN;
30
int32_t modifiers;
31
};
32
33
}
// namespace molybden
34
35
#endif
// MOLYBDEN_SHORTCUT_HPP
molybden::Shortcut
A combination of a key code and modifier keys, such as Shift, Alt, etc.
Definition
shortcut.hpp:25
include
molybden
shortcuts
shortcut.hpp