> Sprites in a UI toolkit, odd?  True but i thought it might be 
> in here somewhere.  It's for a dumb little off-shoot of 
> something i want to do.  The dumb little thing is a text 
> editor where the chars are all sprites that are subject to 
> mild physical effects: getting bumped this way and that as 
> strings are moved around, falling over each other as the user 
> inserts text, etc.  Deleting text sends it falling down, 
> leaving it to pile up.  Just a bit of fun.

OK. Sounds cool. But weird...


> Using OpenGL directly is fine (i'm familiar enough with it to 
> hack basic stuff up) and a little google has shown me a few 
> tutes on how to implement sprites in gl.

Font handling under OpenGL can be a bit "sub-optimal" too, if you are
using it for a text editor (though that may not matter of you are making
your entire "font" as sprites...)

There are libs that can help - FTGL is worth a look for example...

http://sourceforge.net/projects/ftgl/

> So it's all good, as i said just making sure there wasn't a 
> sprite handler in here all ready for me!

No - the fltk approach has pretty much always been to resort to GL when
you need to do anything fancy!  :-)



SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to