comparison src/video/cybergfx/SDL_cgxvideo.h @ 21:75a95f82bc1f

Updated the Amiga OS port of SDL (thanks Gabriele)
author Sam Lantinga <slouken@lokigames.com>
date Thu, 10 May 2001 20:13:29 +0000
parents 74212992fb08
children e8157fcb3114
comparison
equal deleted inserted replaced
20:3dc008dc229d 21:75a95f82bc1f
67 struct Screen *GFX_Display; /* Used for graphics and colormap stuff */ 67 struct Screen *GFX_Display; /* Used for graphics and colormap stuff */
68 Uint32 SDL_VisualUnused; /* The visual used by our window */ 68 Uint32 SDL_VisualUnused; /* The visual used by our window */
69 struct Window *SDL_Window; /* Shared by both displays (no X security?) */ 69 struct Window *SDL_Window; /* Shared by both displays (no X security?) */
70 unsigned char *BlankCursor; /* The invisible cursor */ 70 unsigned char *BlankCursor; /* The invisible cursor */
71 71
72 char *SDL_windowid; /* Flag: true if we have been passed a window */
73
72 /* The variables used for displaying graphics */ 74 /* The variables used for displaying graphics */
73 Uint8 *Ximage; /* The X image for our window */ 75 Uint8 *Ximage; /* The X image for our window */
74 int swap_pixels; /* Flag: true if display is swapped endian */ 76 int swap_pixels; /* Flag: true if display is swapped endian */
75 77
76 /* The current width and height of the fullscreen mode */ 78 /* The current width and height of the fullscreen mode */
132 #define WMwindow (this->hidden->WMwindow) 134 #define WMwindow (this->hidden->WMwindow)
133 #define FSwindow (this->hidden->FSwindow) 135 #define FSwindow (this->hidden->FSwindow)
134 #define SDL_Window (this->hidden->SDL_Window) 136 #define SDL_Window (this->hidden->SDL_Window)
135 #define WM_DELETE_WINDOW (this->hidden->WM_DELETE_WINDOW) 137 #define WM_DELETE_WINDOW (this->hidden->WM_DELETE_WINDOW)
136 #define SDL_BlankCursor (this->hidden->BlankCursor) 138 #define SDL_BlankCursor (this->hidden->BlankCursor)
139 #define SDL_windowid (this->hidden->SDL_windowid)
137 #define SDL_Ximage (this->hidden->Ximage) 140 #define SDL_Ximage (this->hidden->Ximage)
138 #define SDL_GC (this->hidden->gc) 141 #define SDL_GC (this->hidden->gc)
139 #define swap_pixels (this->hidden->swap_pixels) 142 #define swap_pixels (this->hidden->swap_pixels)
140 #define current_w (this->hidden->current_w) 143 #define current_w (this->hidden->current_w)
141 #define current_h (this->hidden->current_h) 144 #define current_h (this->hidden->current_h)
149 #define currently_fullscreen (this->hidden->currently_fullscreen) 152 #define currently_fullscreen (this->hidden->currently_fullscreen)
150 #define blit_queued (this->hidden->blit_queued) 153 #define blit_queued (this->hidden->blit_queued)
151 #define SDL_DisplayColormap (this->hidden->GFX_Display->ViewPort.ColorMap) 154 #define SDL_DisplayColormap (this->hidden->GFX_Display->ViewPort.ColorMap)
152 #define SDL_XPixels (this->hidden->XPixels) 155 #define SDL_XPixels (this->hidden->XPixels)
153 #define SDL_iconcolors (this->hidden->iconcolors) 156 #define SDL_iconcolors (this->hidden->iconcolors)
157
158 /* Used to get the X cursor from a window-manager specific cursor */
159 // extern Cursor SDL_GetWMXCursor(WMcursor *cursor);
154 160
155 extern int CGX_CreateWindow(_THIS, SDL_Surface *screen, 161 extern int CGX_CreateWindow(_THIS, SDL_Surface *screen,
156 int w, int h, int bpp, Uint32 flags); 162 int w, int h, int bpp, Uint32 flags);
157 extern int CGX_ResizeWindow(_THIS, 163 extern int CGX_ResizeWindow(_THIS,
158 SDL_Surface *screen, int w, int h, Uint32 flags); 164 SDL_Surface *screen, int w, int h, Uint32 flags);