diff --git a/project/src/backend/sdl/SDLWindow.h b/project/src/backend/sdl/SDLWindow.h index 2bc707a3d..e047076c2 100644 --- a/project/src/backend/sdl/SDLWindow.h +++ b/project/src/backend/sdl/SDLWindow.h @@ -33,6 +33,7 @@ namespace lime { virtual int GetHeight (); virtual uint32_t GetID (); virtual bool GetMouseLock (); + virtual float GetOpacity (); virtual double GetScale (); virtual bool GetTextInputEnabled (); virtual int GetWidth (); @@ -49,13 +50,12 @@ namespace lime { virtual bool SetMaximized (bool maximized); virtual bool SetMinimized (bool minimized); virtual void SetMouseLock (bool mouseLock); + virtual void SetOpacity (float opacity); virtual bool SetResizable (bool resizable); virtual void SetTextInputEnabled (bool enabled); virtual void SetTextInputRect (Rectangle *rect); virtual const char* SetTitle (const char* title); virtual void WarpMouse (int x, int y); - virtual float GetOpacity(); - virtual void SetOpacity(float opacity); SDL_Renderer* sdlRenderer; SDL_Texture* sdlTexture; SDL_Window* sdlWindow; @@ -72,4 +72,4 @@ namespace lime { } -#endif \ No newline at end of file +#endif