Go to the documentation of this file.
5 #include <GLFW/glfw3.h>
17 throw std::runtime_error(
"GLFW Error");
25 glfwSetInputMode(
window_, GLFW_CURSOR, GLFW_CURSOR_HIDDEN);
37 glfwSetInputMode(
window_, GLFW_CURSOR, GLFW_CURSOR_HIDDEN);
69 if (!
window_)
throw std::runtime_error(
"Window is closed");
78 if (!
window_)
throw std::runtime_error(
"Window is closed");
112 if (!
window_)
throw std::runtime_error(
"Window is closed");
static WindowManager & ref()
void detach(const Window::Ptr &window)
void draw(const std::function< void()> &f)
GLsizei const GLchar *const * string
std::uint32_t getHeight() const
GLint GLsizei GLsizei height
void execute(const std::function< void()> &f)
GLuint const GLchar * name
std::uint32_t getWidth() const
#define QUORI_FACE_TRACE(stmt)
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