1
0
Fork 0
fgdata/Aircraft/Instruments-3d/FG1000/Nasal/MFDPages/Checklist2/Checklist2Styles.nas

29 lines
447 B
Text
Raw Normal View History

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