changing gl_window
parent
b6ffb77922
commit
898b6afbaa
|
@ -8,9 +8,9 @@
|
|||
#include <string_view>
|
||||
|
||||
namespace saw {
|
||||
class GlWindow {
|
||||
class gl_window {
|
||||
public:
|
||||
virtual ~GlWindow() = default;
|
||||
virtual ~gl_window() = default;
|
||||
|
||||
/*
|
||||
* Bind the current window as the default framebuffer target (id 0)
|
||||
|
@ -21,11 +21,11 @@ public:
|
|||
virtual void hide() = 0;
|
||||
virtual void swap() = 0;
|
||||
|
||||
virtual const VideoMode &videoMode() const = 0;
|
||||
virtual const video_mode &videoMode() const = 0;
|
||||
virtual const std::string_view title() const = 0;
|
||||
|
||||
virtual void resize(size_t height, size_t width) = 0;
|
||||
|
||||
virtual Conveyor<Window::VariantEvent> onEvent() = 0;
|
||||
virtual conveyor<window::variant_event> onEvent() = 0;
|
||||
};
|
||||
} // namespace saw
|
||||
|
|
Loading…
Reference in New Issue