Canvas widgets: Difference between revisions

Jump to navigation Jump to search
m
Line 49: Line 49:
== Status (08/2012) ==
== Status (08/2012) ==


* '''TheTom''': (27/07/2012) "I have now also commited some code for creating and handling the GUI windows and events. It's not possible to create real windows yet, but at least you can see the mouse events are received and that large parts of the CanvasMgr have been reused for creating windows from Nasal through the property tree. It's a simply principle but again proved to be very powerful" [http://gitorious.org/~tomprogs/fg/toms-flightgear/commit/c45961cdc4b12ba6178e994ad413c73e51d1900f]
* '''TheTom''': (30/07/2012) I have now pushed some updates to my branch. It is now possible to create windows (texture rectangles) with just using the property tree and place a canvas texture onto it. Mouse events are passed to the active window (=the window the cursor is hovering over, or for dragging the window where the drag gesture started) and can be handled from Nasal or anything else that has access to the property tree.
* '''TheTom''': "As of 07/2012, most things for building a GUI should be already available. What's missing is clipping, picking (that currently happens by just comparing mouse coordinates to the actual region with Nasal) and displaying images. Also mouseover won't be possible without modifying, but I think we've talked about this already."
* '''TheTom''': "As of 07/2012, most things for building a GUI should be already available. What's missing is clipping, picking (that currently happens by just comparing mouse coordinates to the actual region with Nasal) and displaying images. Also mouseover won't be possible without modifying, but I think we've talked about this already."
* '''TheTom''': "Maybe with some advanced formatting possibilities even syntax highlighting will be possible."
* '''TheTom''': "Maybe with some advanced formatting possibilities even syntax highlighting will be possible."

Navigation menu