Merge branch '8.1.0-Dev' into 8.2.0-Dev
This commit is contained in:
@@ -358,6 +358,23 @@ namespace lime {
|
||||
}
|
||||
|
||||
|
||||
bool SDLWindow::SetVisible (bool visible) {
|
||||
|
||||
if (visible) {
|
||||
|
||||
SDL_ShowWindow (sdlWindow);
|
||||
|
||||
} else {
|
||||
|
||||
SDL_HideWindow (sdlWindow);
|
||||
|
||||
}
|
||||
|
||||
return (SDL_GetWindowFlags (sdlWindow) & SDL_WINDOW_SHOWN);
|
||||
|
||||
}
|
||||
|
||||
|
||||
void SDLWindow::ContextFlip () {
|
||||
|
||||
if (context && !sdlRenderer) {
|
||||
|
||||
@@ -55,6 +55,7 @@ namespace lime {
|
||||
virtual void SetTextInputEnabled (bool enabled);
|
||||
virtual void SetTextInputRect (Rectangle *rect);
|
||||
virtual const char* SetTitle (const char* title);
|
||||
virtual bool SetVisible (bool visible);
|
||||
virtual void WarpMouse (int x, int y);
|
||||
SDL_Renderer* sdlRenderer;
|
||||
SDL_Texture* sdlTexture;
|
||||
|
||||
Reference in New Issue
Block a user