]> git.localhorst.tv Git - blank.git/blobdiff - src/app/State.hpp
chat state
[blank.git] / src / app / State.hpp
index f79bc60f03d7c96e6c0668b73ad62688fc0c44c2..b6c20f662dc12804ab5b6dd410292ca296ae2691 100644 (file)
@@ -11,6 +11,7 @@ class Viewport;
 
 struct State {
 
+       friend class Application;
        friend class HeadlessApplication;
 
        virtual void Handle(const SDL_Event &) = 0;
@@ -28,6 +29,10 @@ private:
        virtual void OnPause() { }
        virtual void OnExit() { }
 
+       virtual void OnFocus() { }
+       virtual void OnBlur() { }
+       virtual void OnResize(Viewport &) { }
+
 };
 
 };