#pragma once #include #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; }; enum class ApplicationEventState { NONE = 0, CREATED = 1, CLOSED = 2, }; struct APPLICATION_EVENT { int id; ApplicationEventState state; char title[64]; }; struct DISPLAY_STATE { std::atomic update_display; };