40 #ifndef EVENTGAMEWINDOW_H
41 #define EVENTGAMEWINDOW_H
47 #include "eventbase.h"
54 class EventGameWindowData;
68 GAME_WINDOW_FIRST = GAME_WINDOW_NONE,
70 GAME_WINDOW_SHOWN = 1,
71 GAME_WINDOW_HIDDEN = 2,
72 GAME_WINDOW_EXPOSED = 3,
74 GAME_WINDOW_MOVED = 4,
76 GAME_WINDOW_RESIZED = 5,
77 GAME_WINDOW_SIZE_CHANGED = 6,
78 GAME_WINDOW_MINIMIZED = 7,
79 GAME_WINDOW_MAXIMIZED = 8,
80 GAME_WINDOW_RESTORED = 9,
82 GAME_WINDOW_ENTER = 10,
83 GAME_WINDOW_LEAVE = 11,
84 GAME_WINDOW_FOCUS_GAINED = 12,
85 GAME_WINDOW_FOCUS_LOST = 13,
87 GAME_WINDOW_CLOSE = 14,
88 GAME_WINDOW_LAST = GAME_WINDOW_CLOSE
99 explicit EventGameWindow(GameWindowEventID GWEventID=GAME_WINDOW_NONE,
int First=0,
int Second=0);
112 virtual EventType GetType()
const;
116 GameWindowEventID GetEventID()
const;
122 int GetFirstEventData()
const;
128 int GetSecondEventData()
const;
138 bool IsEventIDValid()
const;
152 bool operator==(
const GameWindowEventID& Other)
const;