Holds window properties.
More...
#include <Window.hpp>
|
| int | height () const |
| | Get the height of the window. More...
|
| |
| int | width () const |
| | Get the width of the window. More...
|
| |
| const std::string & | title () const |
| | Get the title of the window. More...
|
| |
| GLFWwindow * | handle_ () const |
| | Get the window handle pointer. You are not supposed to use this value outside the engine namespace. More...
|
| |
◆ Window() [1/2]
| engine::platform::Window::Window |
( |
| ) |
|
|
privatedefault |
◆ Window() [2/2]
| engine::platform::Window::Window |
( |
GLFWwindow * |
handle, |
|
|
int |
width, |
|
|
int |
height, |
|
|
std::string |
title |
|
) |
| |
|
inlineprivate |
◆ height()
| int engine::platform::Window::height |
( |
| ) |
const |
|
inline |
Get the height of the window.
◆ width()
| int engine::platform::Window::width |
( |
| ) |
const |
|
inline |
Get the width of the window.
◆ title()
| const std::string& engine::platform::Window::title |
( |
| ) |
const |
|
inline |
Get the title of the window.
◆ handle_()
| GLFWwindow* engine::platform::Window::handle_ |
( |
| ) |
const |
|
inline |
Get the window handle pointer. You are not supposed to use this value outside the engine namespace.
- Returns
- An opaque pointer to the GLFWwindow. You are not supposed to use this return value outside the Engine.
◆ PlatformController
◆ m_handle
| GLFWwindow* engine::platform::Window::m_handle {} |
|
private |
◆ m_width
| int engine::platform::Window::m_width {} |
|
private |
◆ m_height
| int engine::platform::Window::m_height {} |
|
private |
◆ m_title
| std::string engine::platform::Window::m_title {} |
|
private |
The documentation for this class was generated from the following file: