forked from TheUltDev/TibiaFlashClient
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_ApplicationControlBarStyle.as
More file actions
46 lines (42 loc) · 1.38 KB
/
_ApplicationControlBarStyle.as
File metadata and controls
46 lines (42 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package
{
import mx.core.*;
import mx.styles.*;
public class _ApplicationControlBarStyle extends Object
{
public function _ApplicationControlBarStyle()
{
return;
}// end function
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:* = param1;
var style:* = StyleManager.getStyleDeclaration("ApplicationControlBar");
if (!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("ApplicationControlBar", style, false);
}
if (style.defaultFactory == null)
{
style.defaultFactory = function () : void
{
this.shadowDistance = 5;
this.paddingBottom = 4;
this.paddingRight = 8;
this.dropShadowEnabled = true;
this.fillColors = [16777215, 16777215];
this.paddingTop = 5;
this.borderStyle = "applicationControlBar";
this.docked = false;
this.fillAlphas = [0, 0];
this.paddingLeft = 8;
this.cornerRadius = 5;
return;
}// end function
;
}
return;
}// end function
}
}