1
0
Fork 0
fgdata/Aircraft/Instruments-3d/FG1000/Nasal/TAWSB/TAWSBStyles.nas
Stuart Buchanan cbb281759c NAV/COM Radio support
Add NAV/COM 8.33MHz radio support and integration
with the property trees for radios.

Also general cleanup.
2018-01-13 18:53:06 +00:00

28 lines
432 B
Text

# TAWSB Styles
var TAWSBStyles =
{
new : func() {
var obj = { parents : [ TAWSBStyles ]};
obj.Styles = {};
obj.loadStyles();
return obj;
},
getStyle : func(type) {
return me.Styles[type];
},
setStyle : func(type, name, value) {
me.Styles[type][name] = value;
},
loadStyles : func() {
me. clearStyles();
me.Styles.XXX = {};
},
clearStyles : func() {
me.Styles = {};
},
};