[SDL] How to make a window with scroll bars?

Manuel García Cabrera manugarciac5 at yahoo.com.ar
Mon Jun 4 10:36:07 PDT 2007


Right now I want to do it as easy as possible... Right now I'm sending a
video over a LAN, and playing it with SDL (actually, I send images over
the LAN and show them with SDL). Well, when the resolution of the sent
images is higher than the resolution of the PC that plays them, I want
the video to play but inside a window that fits the player screen, and
to be able to see the whole image via scrollbars.

What's the easiest way to do that? I would prefer to do it with plain
SDL, but any other way will do.

Paulo Pinto escribió:
> Hi,
> 
> you are being a bit too vague.
> 
> Do you want to do it in plain SDL, with any of the gui libraries or using
> OS specific toolkits?
> 
> Cheers,
> Paulo
> 
> Manuel García Cabrera schrieb:
>> Suppose I have a 1280x1024 image, and want to show it on a 800x600
>> window, how can I make my window have scroll bars?
>> _______________________________________________
>> SDL mailing list
>> SDL at lists.libsdl.org
>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>
>>
>>   
> 
> 
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
> 


More information about the SDL mailing list