1
0
Fork 0
Commit graph

13 commits

Author SHA1 Message Date
mfranz
6a577072da - write last clicked entry to /sim/gui/dialogs/property-browser/selected
- darken clone button
- cleanup & cosmetics
2008-05-14 10:19:17 +00:00
mfranz
cb405c955f - don't use random numbers for cloned dialogs, but good old boring
sequential numbers (looks nicer, and is slightly less risky)
- use var keyword on functions
2007-06-17 13:44:54 +00:00
mfranz
065bd859d6 don't pause the update loop 2007-05-07 16:24:16 +00:00
mfranz
c1c86bb8a5 - use <hrule/> and <vrule/> without dummy children
- minor improvements/cosmetics
2007-03-26 15:25:27 +00:00
mfranz
715a7dc50e cosmetics 2006-05-26 10:42:45 +00:00
mfranz
dfe86f89e6 fix update() for the root dialog 2006-05-26 08:50:14 +00:00
mfranz
738b5eea60 who said cloning was bad? 2006-05-26 08:30:41 +00:00
mfranz
d01ec5042b from the cosmetics department ... 2006-05-25 18:12:52 +00:00
mfranz
ae4ac0ea2d two lines less is still three lines more than in the old dialog 2006-05-24 21:19:53 +00:00
mfranz
2281563b22 cleanup 2006-05-24 09:36:20 +00:00
mfranz
c1754859e3 update widget every two seconds in addition to the usual updates. This
works for tied() properties, too. Search for "update_interval" and set
it to 0 if you don't want these updates at all.
2006-05-23 20:30:32 +00:00
mfranz
b7f4916161 - improved layout (The close button was in the way. Is the "window" close
button oK?)
- print fancy hint in the title bar if someone selects a bool value
2006-05-23 09:46:57 +00:00
mfranz
efde6c834f alternative property browser. It is meant to replace the hardcoded browser,
but as this is an integral part of FlightGear, I don't want to push for it.
Try out and comment. It's available under "Debug/Property Browser". Note,
that this isn't the slow pure-Nasal implementation, but a regular dialog
using a c++ based widget. Only the handling is done in Nasal, so there should
really be not performance degradation compared with the old dialog.

Easter Eggs: some entries work differently when the Control-key is pressed:
"."         ->  toggle output of SGPropertyNode flags
".."        ->  go to root (not just one dir level)
bool entry  ->  toggle bool entry value
2006-05-22 17:42:57 +00:00