20,741
edits
| Line 94: | Line 94: | ||
=== C++ core requirements {{Pending}} === | === C++ core requirements {{Pending}} === | ||
[[File:Progress 40%.png]] | |||
We will need the possibility to create dialog windows from Nasal space. The GUI system listens to a branch in the property tree (eg. /sim/gui/dialogs) and creates a window (=Textured Quad) for every child element (/sim/gui/dialogs/dialog[i]) which is created. Certain properties can be set to affect the appearance and behavior of the dialog: | We will need the possibility to create dialog windows from Nasal space. The GUI system listens to a branch in the property tree (eg. /sim/gui/dialogs) and creates a window (=Textured Quad) for every child element (/sim/gui/dialogs/dialog[i]) which is created. Certain properties can be set to affect the appearance and behavior of the dialog: | ||
| Line 105: | Line 106: | ||
* ... | * ... | ||
The Canvas manager needs to be extended to support using such a window as target for a placeable definition. If a window is resizeable the size property nodes will be updated to allow the canvas and/or its viewport being resized. | * The Canvas manager needs to be extended to support using such a window as target for a placeable definition. If a window is resizeable the size property nodes will be updated to allow the canvas and/or its viewport being resized. {{Done}} | ||
* It would be also be good to allow the canvas textures to be resized at runtime, so that we don't have to reserve to large canvases just because the dialogs could be resized. {{Pending}} | |||
It would be also be good to allow the canvas textures to be resized at runtime, so that we don't have to reserve to large canvases just because the dialogs could be resized. | * The GUI system should take care of handling and forwarding mouse and keyboard events to the property tree as needed (Some parts of the existing code could probably be reused). Eg. if a canvas is assigned picking should occur on mouse clicks and forwarded to the property tree. {{Pending}} | ||
* The existing dialog-show command needs to be modified to call the according function in Nasal space which will handle the whole creation and updating of the GUI. {{Pending}} | |||
The GUI system should take care of handling and forwarding mouse and keyboard events to the property tree as needed (Some parts of the existing code could probably be reused). Eg. if a canvas is assigned picking should occur on mouse clicks and forwarded to the property tree. | |||
The existing dialog-show command needs to be modified to call the according function in Nasal space which will handle the whole creation and updating of the GUI. | |||
=== Multiplatform Clipboard Support (native Copy/Paste) {{Pending}} === | === Multiplatform Clipboard Support (native Copy/Paste) {{Pending}} === | ||