29 lines
483 B
Text
29 lines
483 B
Text
|
# ActiveFlightPlanNarrow Styles
|
||
|
var ActiveFlightPlanNarrowStyles =
|
||
|
{
|
||
|
new : func() {
|
||
|
var obj = { parents : [ ActiveFlightPlanNarrowStyles ]};
|
||
|
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 = {};
|
||
|
},
|
||
|
|
||
|
};
|