1
0
Fork 0
fgdata/Aircraft/Instruments-3d/FG1000/Nasal/TAWS/TAWSStyles.nas
2017-12-10 22:15:21 +00:00

28 lines
429 B
Text

# TAWS Styles
var TAWSStyles =
{
new : func() {
var obj = { parents : [ TAWSStyles ]};
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 = {};
},
};