diff options
Diffstat (limited to 'src/ui/window.hpp')
-rw-r--r-- | src/ui/window.hpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ui/window.hpp b/src/ui/window.hpp index d98e60e2..a3fba57a 100644 --- a/src/ui/window.hpp +++ b/src/ui/window.hpp @@ -2,7 +2,6 @@ #include "system_headers.hpp" #include <map> -#include <list> #include <memory> #include "control.hpp" @@ -208,15 +207,6 @@ namespace cru::ui void SetSizeFitContent(const Size& max_size = Size(1000, 1000)); - //*************** region: functions *************** - - //Refresh control list. - //It should be invoked every time a control is added or removed from the tree. - void RefreshControlList(); - - //Get the most top control at "point". - Control* HitTest(const Point& point); - //*************** region: focus *************** @@ -320,8 +310,6 @@ namespace cru::ui Window* parent_window_ = nullptr; std::shared_ptr<graph::WindowRenderTarget> render_target_{}; - std::list<Control*> control_list_{}; - Control* mouse_hover_control_ = nullptr; bool window_focus_ = false; |