|
ShishGL
1.0
A simple modular cross-platform graphics library
|
|
Go to the documentation of this file.
2 #ifndef SHISHGL_LAYOUT_MANAGER_HPP
3 #define SHISHGL_LAYOUT_MANAGER_HPP
6 #include <unordered_set>
20 template <
typename SomeWindow,
typename... Args>
21 static SomeWindow*
create(Args&&... args);
27 static void dump(
const std::string_view& file_name);
33 static void refresh();
39 using WindowPool = std::unordered_set<Window*>;
41 static WindowPool& Pool();
42 static WindowPool& ToDestroy();
57 #endif //SHISHGL_LAYOUT_MANAGER_HPP
static Window * Root()
Definition: WindowManager.cpp:23
Definition: WindowManager.hpp:13
Definition: CoreApplication.hpp:15
Definition: Window.hpp:16
static SomeWindow * create(Args &&... args)
Definition: WindowManager.ipp:8
virtual ~WindowManager()=default
static void init()
Definition: WindowManager.cpp:40
Definition: CoreApplication.hpp:10
static void destroy(Window *window)
Definition: WindowManager.cpp:29
static void dump(const std::string_view &file_name)
Definition: WindowManager.cpp:64