20,741
edits
m (→Nasal dialog) |
|||
Line 377: | Line 377: | ||
## | ## | ||
# vector with hashes containing subsystems that will be added as buttons to the dialog | # vector with hashes containing subsystems that will be added as buttons to the dialog | ||
# each hash will end up with an additional "label" field that is updated separately | |||
# Also, the hash can be extended to add tooltips and/or other meta information that can be | |||
# used for dealing with subsystems differently (think Nasal depending on events). | |||
# | |||
# NOTE: this must match $FG_SRC/Main/subsystemFactory.cxx, so you need to extend this | # NOTE: this must match $FG_SRC/Main/subsystemFactory.cxx, so you need to extend this | ||
# code if you are using this in conjunction with a topic branch like the FGPythonSys branch | # code if you are using this in conjunction with a topic branch like the FGPythonSys branch |