comparison src/video/cybergfx/SDL_cgxwm.c @ 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
32 32
33 /* This is necessary for working properly with Enlightenment, etc. */ 33 /* This is necessary for working properly with Enlightenment, etc. */
34 #define USE_ICON_WINDOW 34 #define USE_ICON_WINDOW
35 35
36 void 36 void
37 CGX_SetIcon (_THIS, SDL_Surface * icon, Uint8 * mask) 37 CGX_SetIcon(_THIS, SDL_Surface * icon, Uint8 * mask)
38 { 38 {
39 /* Not yet implemented */ 39 /* Not yet implemented */
40 } 40 }
41 41
42 void 42 void
43 CGX_SetCaption (_THIS, const char *title, const char *icon) 43 CGX_SetCaption(_THIS, const char *title, const char *icon)
44 { 44 {
45 if (SDL_Window) 45 if (SDL_Window)
46 SetWindowTitles (SDL_Window, (char *) title, NULL); 46 SetWindowTitles(SDL_Window, (char *) title, NULL);
47 } 47 }
48 48
49 /* Iconify the window */ 49 /* Iconify the window */
50 int 50 int
51 CGX_IconifyWindow (_THIS) 51 CGX_IconifyWindow(_THIS)
52 { 52 {
53 /* Not yet implemented */ 53 /* Not yet implemented */
54 return 0; 54 return 0;
55 } 55 }
56 56
57 int 57 int
58 CGX_GetWMInfo (_THIS, SDL_SysWMinfo * info) 58 CGX_GetWMInfo(_THIS, SDL_SysWMinfo * info)
59 { 59 {
60 if (info->version.major <= SDL_MAJOR_VERSION) { 60 if (info->version.major <= SDL_MAJOR_VERSION) {
61 return (1); 61 return (1);
62 } else { 62 } else {
63 SDL_SetError ("Application not compiled with SDL %d.%d\n", 63 SDL_SetError("Application not compiled with SDL %d.%d\n",
64 SDL_MAJOR_VERSION, SDL_MINOR_VERSION); 64 SDL_MAJOR_VERSION, SDL_MINOR_VERSION);
65 return (-1); 65 return (-1);
66 } 66 }
67 } 67 }
68 68
69 /* vi: set ts=4 sw=4 expandtab: */ 69 /* vi: set ts=4 sw=4 expandtab: */