|
ShishGL
1.0
A simple modular cross-platform graphics library
|
|
Go to the documentation of this file.
2 #ifndef SHISHGL_WINDOW_HPP
3 #define SHISHGL_WINDOW_HPP
33 template <
typename SomeWindow,
typename... Args>
34 SomeWindow*
attach(Args&&... args);
36 template <
typename SomeWindow>
37 SomeWindow*
attach(SomeWindow* child);
84 std::list<Window*> children;
92 #endif //SHISHGL_WINDOW_HPP
const Vector2< double > & getPos() const
Definition: Window.cpp:31
Definition: WindowManager.hpp:13
Window * detach(Window *child)
Definition: Window.cpp:74
const std::list< Window * > & getChildren()
Definition: Window.hpp:60
Definition: Window.hpp:16
virtual void translate(const Vector2< double > &delta)
Definition: Window.cpp:98
const Window * getParent() const
Definition: Window.cpp:19
virtual bool contains(const Vector2< double > &point) const
Definition: Window.cpp:110
virtual void setPos(const Vector2< double > &pos)
Definition: Window.cpp:84
const Vector2< double > & getSize() const
Definition: Window.cpp:27
virtual void setParent(Window *new_parent)
Definition: Window.cpp:37
~Window() override=default
Window(const Window &other)=delete
Definition: CoreApplication.hpp:10
SomeWindow * attach(Args &&... args)
Definition: Window.ipp:8
virtual void onRender()
Definition: Window.cpp:56
Window & operator=(const Window &other)=delete
Definition: Listener.hpp:7
const Frame & getFrame() const
Definition: Window.cpp:23