20,741
edits
m (→The Plan) |
|||
| Line 42: | Line 42: | ||
* '''TheTom''' (05/2013): "I'm still not completely sure how to implement the GUI, but currently I'm thinking of something similar to most available UI toolkits with mainly using images together with 9-scale/slicing. Theming would be possible by simply exchanging the images and/or modulate them with a color. For some icons/elements also SVG could be used, and maybe I'll implement the possibility to cache rendered images of SVG elements for faster rendering of them." [http://flightgear.org/forums/viewtopic.php?f=71&t=19850#p182509] | * '''TheTom''' (05/2013): "I'm still not completely sure how to implement the GUI, but currently I'm thinking of something similar to most available UI toolkits with mainly using images together with 9-scale/slicing. Theming would be possible by simply exchanging the images and/or modulate them with a color. For some icons/elements also SVG could be used, and maybe I'll implement the possibility to cache rendered images of SVG elements for faster rendering of them." [http://flightgear.org/forums/viewtopic.php?f=71&t=19850#p182509] | ||
* '''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''': (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 | * '''TheTom''': "As of 07/2012, most things for building a GUI should be already available." | ||
* '''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." | ||