aboutsummaryrefslogtreecommitdiffstats
path: root/include/screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/screen.h')
-rw-r--r--include/screen.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/screen.h b/include/screen.h
index 6896b72..c379483 100644
--- a/include/screen.h
+++ b/include/screen.h
@@ -10,20 +10,15 @@
class Screen {
private:
- bool m_redraw;
protected:
- std::unordered_map<std::string, std::shared_ptr<Boxii::Window>> m_windows;
- std::deque<std::weak_ptr<Boxii::Window>> m_order;
public:
Screen() {}
virtual ~Screen() {}
- void addWindow(const std::string &key, std::shared_ptr<Boxii::Window> value);
+ virtual void activate() {}
+ virtual void deactivate() {}
virtual void update() {}
- void render();
-
- void setRedraw() { m_redraw = true; }
};
#endif