comparison src/video/bwindow/SDL_syswm.cc @ 1668:4da1ee79c9af SDL-1.3

more tweaking indent options
author Sam Lantinga <slouken@libsdl.org>
date Mon, 29 May 2006 04:04:35 +0000
parents 782fd950bd46
children
comparison
equal deleted inserted replaced
1667:1fddae038bc8 1668:4da1ee79c9af
27 { 27 {
28 28
29 #include "SDL_syswm_c.h" 29 #include "SDL_syswm_c.h"
30 #include "SDL_error.h" 30 #include "SDL_error.h"
31 31
32 void BE_SetWMCaption (_THIS, const char *title, const char *icon) 32 void BE_SetWMCaption(_THIS, const char *title, const char *icon)
33 { 33 {
34 SDL_Win->SetTitle (title); 34 SDL_Win->SetTitle(title);
35 } 35 }
36 36
37 int BE_IconifyWindow (_THIS) 37 int BE_IconifyWindow(_THIS)
38 { 38 {
39 SDL_Win->Minimize (true); 39 SDL_Win->Minimize(true);
40 } 40 }
41 41
42 int BE_GetWMInfo (_THIS, SDL_SysWMinfo * info) 42 int BE_GetWMInfo(_THIS, SDL_SysWMinfo * info)
43 { 43 {
44 if (info->version.major <= SDL_MAJOR_VERSION) { 44 if (info->version.major <= SDL_MAJOR_VERSION) {
45 return 1; 45 return 1;
46 } else { 46 } else {
47 SDL_SetError ("Application not compiled with SDL %d.%d\n", 47 SDL_SetError("Application not compiled with SDL %d.%d\n",
48 SDL_MAJOR_VERSION, SDL_MINOR_VERSION); 48 SDL_MAJOR_VERSION, SDL_MINOR_VERSION);
49 return -1; 49 return -1;
50 } 50 }
51 } 51 }
52 52
53 }; /* Extern C */ 53 }; /* Extern C */