From 1010d0d526ad7419449f19ac4db42d63f7731540 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Fri, 16 Feb 2018 21:10:24 +0100 Subject: Add basic widget implementation (not usable) and configure cmake --- src/main/headers/Scene.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/main/headers/Scene.hpp') diff --git a/src/main/headers/Scene.hpp b/src/main/headers/Scene.hpp index 2d720a9..0e121e9 100644 --- a/src/main/headers/Scene.hpp +++ b/src/main/headers/Scene.hpp @@ -1,7 +1,10 @@ #ifndef SCENE_HPP #define SCENE_HPP +#include "Widget.hpp" + #include +#include class Scene { @@ -15,7 +18,7 @@ public: virtual void keyPress(const sf::Event::KeyEvent &event) {} protected: - float _zoom = 1; + std::vector widgets; sf::RenderWindow &_window; Scene(sf::RenderWindow &window) : _window(window) {} -- cgit v1.2.1