Tatooine
gl
include
tatooine
gl
glfw
window.h
Go to the documentation of this file.
1
#ifndef TATOOINE_GL_GLFW_WINDOW_H
2
#define TATOOINE_GL_GLFW_WINDOW_H
3
//==============================================================================
4
#include <
tatooine/gl/glfw/base.h
>
5
#include <
tatooine/gl/window_notifier.h
>
6
7
#include <string>
8
//==============================================================================
9
namespace
tatooine::gl::glfw
{
10
//==============================================================================
11
struct
window
:
base
,
window_notifier
{
12
//============================================================================
13
window
(
size_t
const
width,
size_t
const
height,
14
std::string
const
& title =
"tatooine"
);
15
//----------------------------------------------------------------------------
16
auto
should_close
() const ->
bool
;
17
auto
swap_buffers
() ->
void
;
18
};
19
//==============================================================================
20
}
// namespace tatooine::gl::glfw
21
//==============================================================================
22
#endif
base.h
tatooine::gl::glfw
Definition:
api.h:8
tatooine::gl::glfw::base
Definition:
base.h:8
tatooine::gl::glfw::window
Definition:
window.h:11
tatooine::gl::glfw::window::should_close
auto should_close() const -> bool
tatooine::gl::glfw::window::swap_buffers
auto swap_buffers() -> void
tatooine::gl::glfw::window::window
window(size_t const width, size_t const height, std::string const &title="tatooine")
tatooine::gl::window_notifier
Definition:
window_notifier.h:122
window_notifier.h
Generated by
1.9.5