comparison src/video/gem/SDL_gemwm.c @ 1080:1988b04af19b

Remove debug code
author Patrice Mandin <patmandin@gmail.com>
date Wed, 29 Jun 2005 16:18:08 +0000
parents adb547913775
children c9b51268668f
comparison
equal deleted inserted replaced
1079:39b5606fa543 1080:1988b04af19b
37 37
38 #include "SDL_gemwm_c.h" 38 #include "SDL_gemwm_c.h"
39 39
40 /* Defines */ 40 /* Defines */
41 41
42 #define DEBUG_VIDEO_GEM 0
43
44 #define ICONWIDTH 64 42 #define ICONWIDTH 64
45 #define ICONHEIGHT 64 43 #define ICONHEIGHT 64
46 44
47 /* Functions */ 45 /* Functions */
48 46
62 void GEM_SetIcon(_THIS, SDL_Surface *icon, Uint8 *mask) 60 void GEM_SetIcon(_THIS, SDL_Surface *icon, Uint8 *mask)
63 { 61 {
64 SDL_Surface *sicon; 62 SDL_Surface *sicon;
65 SDL_Rect bounds; 63 SDL_Rect bounds;
66 64
67 #ifdef DEBUG_VIDEO_GEM
68 printf("sdl:video:gem: SetIcon(0x%08x)\n", (long) icon);
69 #endif
70
71 #if 0 65 #if 0
72 if ((GEM_wfeatures & (1<<WF_ICONIFY))==0) { 66 if ((GEM_wfeatures & (1<<WF_ICONIFY))==0) {
73 #ifdef DEBUG_VIDEO_GEM
74 printf("sdl:video:gem: AES can not iconify windows\n");
75 #endif
76 return; 67 return;
77 } 68 }
78 #endif 69 #endif
79 70
80 if (icon == NULL) { 71 if (icon == NULL) {
96 SDL_FreeSurface(sicon); 87 SDL_FreeSurface(sicon);
97 return; 88 return;
98 } 89 }
99 90
100 GEM_icon = sicon; 91 GEM_icon = sicon;
101
102 #ifdef DEBUG_VIDEO_GEM
103 printf("sdl:video:gem: SetIcon(): done\n");
104 #endif
105 } 92 }
106 93
107 int GEM_IconifyWindow(_THIS) 94 int GEM_IconifyWindow(_THIS)
108 { 95 {
109 if ((GEM_wfeatures & (1<<WF_ICONIFY))==0) 96 if ((GEM_wfeatures & (1<<WF_ICONIFY))==0)