Canvas widgets: Difference between revisions

Jump to navigation Jump to search
Line 68: Line 68:
* '''[[Canvas_Widgets#Widget_Declaration_via_SVG|Extend gui.nas to support loading widgets from SVG files]]''': We want to be able to load widgets from SVG files and link them to Nasal code in $FG_ROOT/Nasal/widgets - for example: $FG_ROOT/Nasal/widgets/button.nas {{Not done}}
* '''[[Canvas_Widgets#Widget_Declaration_via_SVG|Extend gui.nas to support loading widgets from SVG files]]''': We want to be able to load widgets from SVG files and link them to Nasal code in $FG_ROOT/Nasal/widgets - for example: $FG_ROOT/Nasal/widgets/button.nas {{Not done}}
* '''[[Canvas_Widgets#Nasal_requirements|Implement Widgets]]''': {{Not done}}
* '''[[Canvas_Widgets#Nasal_requirements|Implement Widgets]]''': {{Not done}}
* '''[http://wiki.flightgear.org/Canvas_Widgets#Layout_Management_.28_.28Not_done.29.29 Layout Handling]''': {{Not done}}
* '''[[Canvas_Widgets#Dialog_Parser|Implement the dialog/xml parser]]''': {{Not done}}
* '''[[Canvas_Widgets#Dialog_Parser|Implement the dialog/xml parser]]''': {{Not done}}
* '''[http://wiki.flightgear.org/Canvas_Widgets#Layout_Management_.28_.28Not_done.29.29 Layout Handling]''': {{Not done}}
* '''Implement a generic CSS/XSL-based styling class''': {{Not done}}
* '''Implement a generic CSS/XSL-based styling class''': {{Not done}}
* '''Clipping''': For different reasons we will need to be able to clip some elements to certain regions. It should work with specifying either a clipping rectangle or by using a path. OpenVG seems to have support for it, although I haven't looked into it too deep. We also need to ensure that it also works with text. At least rectangular regions are needed.(eg. group/clip-min[0..1], group/clip-max[0..1]) {{Not done}}
* '''Clipping''': For different reasons we will need to be able to clip some elements to certain regions. It should work with specifying either a clipping rectangle or by using a path. OpenVG seems to have support for it, although I haven't looked into it too deep. We also need to ensure that it also works with text. At least rectangular regions are needed.(eg. group/clip-min[0..1], group/clip-max[0..1]) {{Not done}}

Navigation menu