• Advertisement
Sign in to follow this  

SDL Timers/Menu's?

This topic is 4772 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm just starting out using SDL with C and I'm wondering two things: First, how do I use timers with SDL? I don't know what a callback is or how to use one, that's where I get stuck. Second, can I make menu's? Is there any way to mix the functions for menu's from the Win32 api with SDL?

Share this post


Link to post
Share on other sites
Advertisement
For some stuff on the timers take a look at my post here. As for how to make menu's, if you do not want to use something like SDL_Gui you would have to make your own. You cannot get menus like the one's in the Win32 API per se simply because of the way SDL works - it is not a GUI toolkit, but you could make your own perhaps. It might take a bit, but hey, at least you'd have your menus [wink].

- Drew

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement