[SDL] "layering" surfaces

Edward Byard e_byard at yahoo.co.uk
Wed Feb 14 08:43:52 PST 2007


Hi Folks,

At work, some of our coders use an OpenGL library to "layer" surfaces, and it's easy to use, eg:

surface.setDepth(value)  - zero being at the front
surface.setVisible(boolean) - guess ;-)

So, with these simple commands (not to mention scaling, rotation, positioning, etc) we can easily display or hide surfaces.

My question is, does anything like this exist in SDL (either 1.2.x or the forthcoming 1.3)?

Unfortunately the library the guys here use was developed by a partner company and they will not let us have the source code, nor can we just re-use the library (it's very bespoke).

Hope someone can help!

Many Thanks,
Ed



		
___________________________________________________________ 
All New Yahoo! Mail – Tired of unwanted email come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070214/43192357/attachment.htm 


More information about the SDL mailing list