Clean up the AssetBrowser logic.

This commit is contained in:
Paul Chote
2014-04-01 22:19:54 +13:00
parent 1ea48b0167
commit bf0c7297e2
3 changed files with 125 additions and 75 deletions

View File

@@ -5,6 +5,7 @@ Container@ASSETBROWSER_PANEL:
Width:695
Height:435
Children:
LogicTicker@ANIMATION_TICKER:
ColorPreviewManager@COLOR_MANAGER:
Label@ASSETBROWSER_TITLE:
Width:PARENT_RIGHT
@@ -63,7 +64,6 @@ Container@ASSETBROWSER_PANEL:
Y:365
Width:160
Height:25
Text:mouse2.shp
Button@LOAD_BUTTON:
X:15
Y:395
@@ -104,10 +104,9 @@ Container@ASSETBROWSER_PANEL:
Height:325
Background:scrollpanel-bg
Children:
ShpImage@SPRITE:
Sprite@SPRITE:
Width:PARENT_RIGHT
Height:PARENT_BOTTOM
Image:mouse2
Container@FRAME_SELECTOR:
X:190
Y:395

View File

@@ -5,6 +5,7 @@ Background@ASSETBROWSER_PANEL:
Width:700
Height:500
Children:
LogicTicker@ANIMATION_TICKER:
ColorPreviewManager@COLOR_MANAGER:
Label@ASSETBROWSER_TITLE:
Y:20
@@ -58,7 +59,6 @@ Background@ASSETBROWSER_PANEL:
Y:395
Width:160
Height:25
Text:mouse.shp
Button@LOAD_BUTTON:
X:20
Y:425
@@ -99,10 +99,9 @@ Background@ASSETBROWSER_PANEL:
Height:330
Background:dialog3
Children:
ShpImage@SPRITE:
Sprite@SPRITE:
Width:PARENT_RIGHT
Height:PARENT_BOTTOM
Image:mouse
Container@FRAME_SELECTOR:
X:190
Y:425