ad77dc2f9c
- New Emesary notificaion type for engine data - New Canvas PFD UI Elements - Pointer, Rotating - Upate EIS to use above.
28 lines
426 B
Text
28 lines
426 B
Text
# EIS Styles
|
|
var EISStyles =
|
|
{
|
|
new : func() {
|
|
var obj = { parents : [ EISStyles ]};
|
|
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 = {};
|
|
},
|
|
|
|
};
|