Skip to content

Commit

Permalink
Add transparent attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Alaa-eddine committed May 2, 2015
1 parent 9d5aaea commit d9a3e5c
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions EZGUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
<Content Include="examples\test\index.html" />
<Content Include="js\pixi2.dev.js" />
<Content Include="js\pixi3.dev.js" />
<TypeScriptCompile Include="lib\TweenJS.d.ts" />
<TypeScriptCompile Include="src\components\Label.ts" />
<TypeScriptCompile Include="src\components\Slider.ts" />
<TypeScriptCompile Include="src\GUIObject.ts" />
Expand Down
1 change: 0 additions & 1 deletion dist/EZGUI.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ declare module EZGUI {
update(time: any): boolean;
}
}
declare var TWEEN: any;
declare module EZGUI {
var VERSION: string;
var tilingRenderer: any;
Expand Down
4 changes: 3 additions & 1 deletion dist/EZGUI.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/EZGUI.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
component: 'Window',
header: { id: 'ttl', /*skin: 'blueheader', */position: { x: 0, y: 0 }, height: 40, text: 'Header' },
draggable: true,

/*padding: 4,*/
position: { x: 0, y: 0 },
width: 500,
Expand Down
1 change: 1 addition & 0 deletions lib/TweenJS.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare var TWEEN;
4 changes: 2 additions & 2 deletions src/EZGUI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
/// <reference path="compatibility.ts" />

/// <reference path="theme.ts" />
declare var TWEEN;

module EZGUI {
export var VERSION = '0.1.0 beta';
export var VERSION = '0.1.2 beta';
//export var states = ['default', 'hover', 'down', 'checked'];
export var tilingRenderer;

Expand Down
2 changes: 1 addition & 1 deletion src/GUISprite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ module EZGUI {
}

protected createVisuals(settings, state) {

if (settings.transparent === true) return [];
//priority to image
var img = this.createThemeImage(settings, state);

Expand Down

0 comments on commit d9a3e5c

Please sign in to comment.