Go to the documentation of this file. 1 #ifndef _QUORI_FACE_WINDOW_HPP_
2 #define _QUORI_FACE_WINDOW_HPP_
21 class Window :
public std::enable_shared_from_this<Window>
26 typedef std::shared_ptr<Window>
Ptr;
27 typedef std::shared_ptr<const Window>
ConstPtr;
53 void execute(
const std::function<
void ()> &
f);
58 std::uint8_t t[
sizeof(T)];
63 T &tt = *
reinterpret_cast<T *
>(t);
69 void draw(
const std::function<
void ()> &
f);
71 template<
typename... Args>
void draw(const std::function< void()> &f)
GLsizei const GLchar *const * string
std::uint32_t getHeight() const
std::shared_ptr< const Window > ConstPtr
T execute(const std::function< T()> &f)
GLint GLsizei GLsizei height
void execute(const std::function< void()> &f)
static Ptr open(Args &&...args)
GLuint const GLchar * name
std::uint32_t getWidth() const
std::shared_ptr< Window > Ptr
std::shared_ptr< const Monitor > ConstPtr
Window(const std::uint32_t width, const std::uint32_t height, const std::string &name)
quori_face
Author(s):
autogenerated on Wed Mar 2 2022 00:53:20