23 lines
285 B
C++
23 lines
285 B
C++
#pragma once
|
|
#include <atomic>
|
|
|
|
enum CLICK_EVENTS {
|
|
NONE = 0,
|
|
LEFT_CLICK = 1,
|
|
RIGHT_CLICK = 2,
|
|
};
|
|
|
|
enum REDRAW_EVENT {
|
|
DESKTOP = 0,
|
|
WINDOWS = 1,
|
|
};
|
|
|
|
struct CLICK_EVENT {
|
|
int x;
|
|
int y;
|
|
CLICK_EVENTS event;
|
|
};
|
|
|
|
struct DISPLAY_STATE {
|
|
std::atomic<bool> update_display;
|
|
}; |