Horizon
|
This is what a Tool receives when the user did something. More...
#include <core.hpp>
Public Types | |
enum | Modifieres { MOD_FINE = (1 << 0), MOD_ALT = (1 << 1), MOD_CTRL = (1 << 2) } |
Public Attributes | |
ToolEventType | type = ToolEventType::NONE |
Coordi | coords |
std::set< SelectableRef > | selection |
bool | keep_selection = false |
unsigned int | button = 0 |
unsigned int | key = 0 |
unsigned int | mod = 0 |
Target | target |
int | work_layer = 0 |
std::unique_ptr< ToolData > | data = nullptr |
This is what a Tool receives when the user did something.
i.e. moved the cursor or pressed key