Hrm, not sure I understand. I’m fine with writing my own “SetTitleBarColor” function or something, however I can’t figure out where the relevant data is. For instance, this seems to be the SDL_Window struct (SDL_sysvideo.h line 70):
[code]/* Define the SDL window structure, corresponding to toplevel windows */
struct SDL_Window
{
const void *magic;
Uint32 id;
char *title;
SDL_Surface *icon;
int x, y;
int w, h;
int min_w, min_h;
int max_w, max_h;
Uint32 flags;
Uint32 last_fullscreen_flags;
/* Stored position and size for windowed mode */
SDL_Rect windowed;
SDL_DisplayMode fullscreen_mode;
float brightness;
Uint16 *gamma;
Uint16 *saved_gamma; /* (just offset into gamma) */
SDL_Surface *surface;
SDL_bool surface_valid;
SDL_bool is_hiding;
SDL_bool is_destroying;
SDL_WindowShaper *shaper;
SDL_HitTest hit_test;
void *hit_test_data;
SDL_WindowUserData *data;
void *driverdata;
SDL_Window *prev;
SDL_Window *next;
};[/code]
Obviously, the SetWindowTitle and SetWindowIcon modify the “title” and icon fields. But it doesn’t look like there is anything title bar related in here. Are you suggesting modifying the SDL code base to get at that info? I think that might be a bit out of my league.
As a shot in the dark, is the title bar color related to the window background color? I found a couple references to that, but it seems unlikely.