35 lines
629 B
C++
35 lines
629 B
C++
#ifndef LIME_SDL_WINDOW_H
|
|
#define LIME_SDL_WINDOW_H
|
|
|
|
|
|
#include <SDL.h>
|
|
#include <graphics/ImageBuffer.h>
|
|
#include <ui/Window.h>
|
|
|
|
|
|
namespace lime {
|
|
|
|
|
|
class SDLWindow : public Window {
|
|
|
|
public:
|
|
|
|
SDLWindow (Application* application, int width, int height, int flags, const char* title);
|
|
~SDLWindow ();
|
|
|
|
virtual void Close ();
|
|
virtual void Move (int x, int y);
|
|
virtual void Resize (int width, int height);
|
|
virtual bool SetFullscreen (bool fullscreen);
|
|
virtual void SetIcon (ImageBuffer *imageBuffer);
|
|
virtual bool SetMinimized (bool minimized);
|
|
|
|
SDL_Window* sdlWindow;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
#endif |