void ShowMenu()
{
SDL_Surface *menu = SDL_SetVideoMode(200, 150, 32, SDL_HWSURFACE|SDL_DOUBLEBUF);
SDL_Delay(1000);
}
Creating a second window using SDL
Hi all,
my question is quite simple, how can I create a second window using SDL?
I try'd
but this erases the old one. any idea how I could create a 2nd?
Thanks,
Joshua
P.S. if you know how, could you also tell me how to close it afterwards? :D
Last time I checked, SDL only supports one window(they're going to add multiple window support in one of the next versions, IIRC). Although, there are some GUIs that can have "windows" open inside the SDL window, such as ParaGUI
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement