Mercurial > sdl-ios-xcode
comparison src/video/wincommon/SDL_wingl.c @ 1316:0781906086fa
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 01 Feb 2006 08:24:32 +0000 |
parents | e94b0d7c33bc |
children | 450721ad5436 |
comparison
equal
deleted
inserted
replaced
1315:e94b0d7c33bc | 1316:0781906086fa |
---|---|
51 style = GetWindowLong(SDL_Window, GWL_STYLE); | 51 style = GetWindowLong(SDL_Window, GWL_STYLE); |
52 GetWindowRect(SDL_Window, &rect); | 52 GetWindowRect(SDL_Window, &rect); |
53 DestroyWindow(SDL_Window); | 53 DestroyWindow(SDL_Window); |
54 SDL_Window = CreateWindow(SDL_Appname, SDL_Appname, | 54 SDL_Window = CreateWindow(SDL_Appname, SDL_Appname, |
55 style, | 55 style, |
56 rect.left, rect.top, | 56 rect.left, rect.top, |
57 (rect.right-rect.left)+1, | 57 (rect.right-rect.left)+1, |
58 (rect.top-rect.bottom)+1, | 58 (rect.top-rect.bottom)+1, |
59 NULL, NULL, SDL_Instance, NULL); | 59 NULL, NULL, SDL_Instance, NULL); |
60 if ( SDL_Window ) { | 60 if ( SDL_Window ) { |
61 this->SetCaption(this, this->wm_title, this->wm_icon); | 61 this->SetCaption(this, this->wm_title, this->wm_icon); |
62 } else { | 62 } else { |
63 SDL_SetError("Couldn't create window"); | 63 SDL_SetError("Couldn't create window"); |