Skip to content

Commit f9c02e6

Browse files
author
as
committed
ds
1 parent 1d3fae0 commit f9c02e6

File tree

6 files changed

+55
-8
lines changed

6 files changed

+55
-8
lines changed

.actionScriptProperties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
<excludedEntries>
88
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_charts.swc" useDefaultLinkType="false"/>
99
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/advancedgrids.swc" useDefaultLinkType="false"/>
10-
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/charts.swc" useDefaultLinkType="false"/>
1110
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_air.swc" useDefaultLinkType="false"/>
12-
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/locale/{locale}" useDefaultLinkType="false"/>
11+
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/charts.swc" useDefaultLinkType="false"/>
1312
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/netmon.swc" useDefaultLinkType="false"/>
13+
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/locale/{locale}" useDefaultLinkType="false"/>
1414
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/spark.swc" useDefaultLinkType="false"/>
1515
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/sparkskins.swc" useDefaultLinkType="false"/>
1616
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/rpc.swc" useDefaultLinkType="false"/>
17-
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/qtp_air.swc" useDefaultLinkType="false"/>
1817
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/videoPlayer.swc" useDefaultLinkType="false"/>
18+
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/qtp_air.swc" useDefaultLinkType="false"/>
1919
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flash-integration.swc" useDefaultLinkType="false"/>
2020
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/authoringsupport.swc" useDefaultLinkType="false"/>
2121
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/qtp.swc" useDefaultLinkType="false"/>
@@ -34,8 +34,8 @@
3434
</excludedEntries>
3535
</libraryPathEntry>
3636
<libraryPathEntry kind="1" linkType="1" path="libs"/>
37-
<libraryPathEntry kind="3" linkType="1" path="/Starling/bin-debug/Starling.swc" useDefaultLinkType="false"/>
38-
<libraryPathEntry kind="3" linkType="1" path="/Feathers/bin/Feathers.swc" useDefaultLinkType="false"/>
37+
<libraryPathEntry kind="3" linkType="2" path="/Starling/bin-debug/Starling.swc" useDefaultLinkType="false"/>
38+
<libraryPathEntry kind="3" linkType="2" path="/Feather-2.2/bin/Feather-2.2.swc" useDefaultLinkType="false"/>
3939
</libraryPath>
4040
<sourceAttachmentPath/>
4141
</compiler>

bin/Falcon.swc

-444 KB
Binary file not shown.

src/com/hendrix/feathers/controls/CompsFactory.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ package com.hendrix.feathers.controls
3939
*/
4040
public function CompsFactory()
4141
{
42+
4243
// placed here in order to load the TextFieldLibarary
4344
var btf:BidiTextField;
4445
var coll:IdCollection;

src/com/hendrix/feathers/controls/flex/FlexImage.as

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ package com.hendrix.feathers.controls.flex
66
import starling.animation.Tween;
77
import starling.core.Starling;
88
import starling.display.Image;
9+
import starling.display.Quad;
910
import starling.textures.ConcreteTexture;
1011
import starling.textures.Texture;
1112
import starling.textures.TextureSmoothing;
@@ -41,6 +42,9 @@ package com.hendrix.feathers.controls.flex
4142
private var _forceDisposeConcreteTexture: Boolean = false;
4243
private var _flagFadeInLoadedImage: Boolean = false;
4344

45+
private var _flagDebugMode: Boolean = false;
46+
private var _quad_debug: Quad;
47+
4448
/**
4549
* <p>a Flex comp Image container</p>
4650
* <ul>
@@ -56,6 +60,22 @@ package com.hendrix.feathers.controls.flex
5660
super();
5761
}
5862

63+
/**
64+
*
65+
* @return the original texture width
66+
*/
67+
public function get textureWidth():uint {
68+
return _tex.width;
69+
}
70+
71+
/**
72+
*
73+
* @return the original texture height
74+
*/
75+
public function get textureHeight():uint {
76+
return _tex.height;
77+
}
78+
5979
override public function dispose():void
6080
{
6181
super.dispose();
@@ -77,6 +97,26 @@ package com.hendrix.feathers.controls.flex
7797

7898
}
7999

100+
/**
101+
* set debug mode of the comp. setting to <code>true</code> will show the background as black.
102+
*
103+
*/
104+
public function get flagDebugMode():Boolean { return _flagDebugMode; }
105+
public function set flagDebugMode(value:Boolean):void
106+
{
107+
_flagDebugMode = value;
108+
109+
_quad_debug = (_quad_debug == null) ? new Quad(width, height, 0x00) : _quad_debug;
110+
111+
addChildAt(_quad_debug, 0);
112+
113+
if(isInitialized) {
114+
_quad_debug.width = width;
115+
_quad_debug.height = height;
116+
}
117+
118+
}
119+
80120
/**
81121
* source can be anything<br>
82122
* <code>Texture, bitmap class, bitmapdata, bitmap, GfxPackage path, local path</code>
@@ -132,7 +172,7 @@ package com.hendrix.feathers.controls.flex
132172

133173
override protected function initialize():void
134174
{
135-
super.initialize();
175+
super.initialize();
136176
}
137177

138178
override protected function draw():void
@@ -148,6 +188,12 @@ package com.hendrix.feathers.controls.flex
148188

149189
if(alignInvalid || sizeInvalid)
150190
applyAlignment();
191+
192+
if(_quad_debug) {
193+
_quad_debug.width = width;
194+
_quad_debug.height = height;
195+
}
196+
151197
}
152198

153199
private function applyScaleMode():void

src/com/hendrix/feathers/controls/flex/labelList/LabelList.as

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ package com.hendrix.feathers.controls.flex.labelList
8383

8484
var vLayout: VerticalLayout = new VerticalLayout();
8585

86-
vLayout.manageVisibility = true;
86+
//vLayout.manageVisibility = true;
8787
vLayout.hasVariableItemDimensions = false;
8888
vLayout.horizontalAlign = HorizontalLayout.HORIZONTAL_ALIGN_CENTER;
8989
vLayout.useVirtualLayout = true;

src/com/hendrix/feathers/controls/flex/magnifyList/MagnifyList.as

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ package com.hendrix.feathers.controls.flex.magnifyList
104104
var hLayout: HorizontalLayout = new HorizontalLayout();
105105

106106
hLayout.useVirtualLayout = false;
107-
hLayout.manageVisibility = true;
107+
//hLayout.manageVisibility = true;
108108
hLayout.hasVariableItemDimensions = true;
109109
hLayout.horizontalAlign = HorizontalLayout.HORIZONTAL_ALIGN_CENTER;
110110

0 commit comments

Comments
 (0)