2012/7/26 James Turner <zakal...@mac.com>: > Okay, I wasn't clear from the Wiki page what the final idea was. As you say, > so long as we're going through show-dialog it should be fine. My feeling is > we still want a C++ hook around creating individual widgets, so we have the > option the create custom widgets in C++, but it's not a difficult thing to > change internally.
You can always create widgets from C++ by adding canvas elements through the property tree, but I think a fully scripted GUI is the most flexible and powerfull approach. Do you have any usecase where you wan't to create a widget in C++? > Hmm, I wonder if having a C++ base class for widgets in the canvas will > simplify picking and mouse-over. To avoid such details to the basic canvas > item. I'm currently thinking of adding a property to each element which allows enabling picking for this element. If the element is a group it receives picking events from all children otherwise only its own. We should also keep in mind that the Canvas won't be used only for the GUI but also eg. for MFDs which may have a touch interface where not necessarily widgets are used... Regards, Tom ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel