21 lines
291 B
C++
21 lines
291 B
C++
#pragma once
|
|
#include <atomic>
|
|
|
|
#define MAX_SCREEN_WIDTH 480
|
|
#define MAX_SCREEN_HEIGHT 320
|
|
|
|
enum CLICK_EVENTS {
|
|
NONE = 0,
|
|
LEFT_CLICK = 1,
|
|
RIGHT_CLICK = 2,
|
|
};
|
|
|
|
struct CLICK_EVENT {
|
|
int x;
|
|
int y;
|
|
CLICK_EVENTS event;
|
|
};
|
|
|
|
struct DISPLAY_STATE {
|
|
std::atomic<bool> update_display;
|
|
}; |