20,741
edits
m (→Status 07/2013) |
|||
Line 24: | Line 24: | ||
Tom is currently working on creating a standard widget and layout system (similar to eg. Qt). At the moment there only exists a button widget (but already with focus, and hover/press effects) [http://flightgear.org/forums/viewtopic.php?f=24&p=186563#p186563]. | Tom is currently working on creating a standard widget and layout system (similar to eg. Qt). At the moment there only exists a button widget (but already with focus, and hover/press effects) [http://flightgear.org/forums/viewtopic.php?f=24&p=186563#p186563]. | ||
Specifically, see [https://gitorious.org/~tomprogs/fg/toms-fgdata/trees/canvas-gui-demo/Nasal/canvas/gui $FG_ROOT/Nasal/canvas/gui]. | Specifically, see [https://gitorious.org/~tomprogs/fg/toms-fgdata/trees/canvas-gui-demo/Nasal/canvas/gui $FG_ROOT/Nasal/canvas/gui]. | ||
Before we can replace PUI with a Canvas based GUI a lot work has to be done. Tom is currently working on extending the current canvas windows manager to also become a simple decorator engine which will allow creating unified window decorations and handling like dragging/resizing/closing windows. When this is done we can think of creating simple dialogs. And then we can start creating different widgets and see how to implement a layouting engine. And only then we can start thinking about replacing PUI dialogs with Canvas dialogs. (We may also need a fallback for older hardware as render-to-texture probably won't be supported). | |||
So in the current state it would bring us much benefit to create a separate canvas dialog showing log messages without being able to show it in normal PUI dialogs. Later if we have got a list widgets it will be very easy to just print the log messages to this list widget. | |||
== PUI Widgets == | == PUI Widgets == |