20,741
edits
| Line 78: | Line 78: | ||
== The current PUI/CanvasWidget Implementation (finished) == | == The current PUI/CanvasWidget Implementation (finished) == | ||
{{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}} | ||