Canvas widgets: Difference between revisions

Jump to navigation Jump to search
m
Line 78: Line 78:


== The current PUI/CanvasWidget Implementation (finished) ==
== The current PUI/CanvasWidget Implementation (finished) ==
[[File:Progress 100%.png]]
{{Progressbar|100}}
* implement a new "WidgetCanvas" class to create a puObject which renders a canvas texture as a PUI widget and which invokes Nasal callbacks for GUI events (update,redraw,keyboard/mouse events) {{Done}}
* implement a new "WidgetCanvas" class to create a puObject which renders a canvas texture as a PUI widget and which invokes Nasal callbacks for GUI events (update,redraw,keyboard/mouse events) {{Done}}
* modify the [https://gitorious.org/fg/flightgear/blobs/next/src/GUI/FGPUIDialog.cxx#line708 FGPUIDialog::makeObject] helper such that a custom "canvas" widget is supported {{Done}}
* modify the [https://gitorious.org/fg/flightgear/blobs/next/src/GUI/FGPUIDialog.cxx#line708 FGPUIDialog::makeObject] helper such that a custom "canvas" widget is supported {{Done}}

Navigation menu