1
0
Fork 0
fgdata/Aircraft/Instruments-3d/FG1000/Nasal/MFDPages/AirportDeparture/AirportDepartureStyles.nas
2018-02-05 19:33:28 +00:00

28 lines
465 B
Text

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