I've now added two more features to property browser handling: (A) a Nasal function: gui.property_browser(path); This opens a property browser for the given property path. More than one call is possible, but note that all browsers will be drawn centered on the screen, so one will be drawn over the other. Example:
settimer(func { gui.property_browser("/position"); gui.property_browser("/orientation"); }, 0); (B) a function that opens one browser per /browser[] property. These properties are removed from the property tree after opening, so as not to clutter the property root. Example: $ fgfs --prop:browser=position --prop:browser[1]=orientation ------------------------------------------------------------------------- Old features that some may have forgotten: (C) the dialog doesn't only contain a "close" button on the top right, but also a "clone" button on the top left. This make a duplicate of the dialog in which it was pressed. It can be used multiple times. (D) Control-click on a "." entry toggles verbose/developer mode, in which for each property all set flags are shown: r ... read protected w ... write protected R ... trace read ops \ in --log-level=info create log line W ... trace write ops / with TRACE prefix on write/read operation; set with <foo trace-write="y">... A ... archive bit set (makes writeProperties() also save this property in restricted mode ("save flight"), while all others are only saved in full mode) U ... user archive bit set (saved into ~/.fgfs/autosave.xml, and restored next time) T ... tied property (C/C++ code my write directly to the value memory, in which case listeners aren't triggered) (E) Control-click on a ".." entry goes immediately to the property root. (F) Control-click on a (bool) entry toggles this entry. No need to enter 1 or 0. Note that if you are using the dark GUI style and the property browser is drawn with a black (and thus hard to read) font: this is a plib bug that will be fixed in the next release (if one will ever happen; The pathetic plib maintenance couldn't even manage to migrate to SVN during the last few *months*. No development was possible in that time.) A patch for the black font is available. It makes it white. m. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel