1 #ifndef UGDK_DESKTOP_2D_WINDOW_H_
2 #define UGDK_DESKTOP_2D_WINDOW_H_
19 Window(SDL_Window* sdl_window);
33 const char*
title()
const override;
36 bool vsync()
const override {
return vsync_; }
39 SDL_Window* sdl_window_;
42 friend class ::ugdk::desktop::mode2d::Manager;
43 friend class ::ugdk::graphic::Manager;
50 #endif // UGDK_DESKTOP_2D_WINDOW_H_
math::Integer2D size() const override
bool fullscreen() const override
uint32_t uint32
Definition: types.h:14
Definition: integer2D.h:20
void Present() override
Presents the current canvas in the screen.
Window()
Definition: window.h:31
Definition: animation.h:11
const char * title() const override
bool vsync() const override
Definition: window.h:36
void ChangeSettings(const math::Integer2D &size, bool fullscreen, bool vsync) override
Updates the settings and applies the changes.
uint32 id() const override