Am 2012-07-24 19:35, schrieb James Turner:
> Thomas, one issue I can guess at (though PLIB is also really bad at
> it, and osgWidget is not much better!) - text selection. Do you think
> you'd be able to handle a blinking insertion point and a standard
> draggable text selection area in this approach? Obviously it might
> need some additional C++ helpers but that's okay since text-editing
> is a pretty specialised behaviour.

Yes :)

I have just added some property change listeners to get the position of
the next character at a given position. The highlighting happens only
from Nasal. What is currently missing is the possibility to also change
the color of the selected text and to actually get the selected text,
but this shouldn't be too hard to implement.

> One goal of mine for the GUI is to get platform native copy-and-paste
> working, BTW ;)

This has already been on my wish/todo list :P

> Obviously Thomas knows the Canvas code since he created it [...]

Currently documentation is not too detailed, but looking at the
different demos and maybe also the Nasal API and source code should
help. If not, don't hesitate to ask :)


Thomas Geymayer / C-Forum und Tutorial:
      Student of Computer Science @ Graz University of Technology
------------------------------- Austria --------------------------------

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
Flightgear-devel mailing list

Reply via email to