mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-20 17:37:50 -05:00
Brought up to date with the private repository (feea4c7)
This commit is contained in:
1 parent
1aa738d692
commit
1b1df1ae48
7925 files changed
+2617237
-20
No files matched your search
@@ -0,0 +1,35 @@
|
||||
package gui
|
||||
{
|
||||
import flash.text.TextField;
|
||||
|
||||
public class ItemWindowTextBar extends ItemWindowBase
|
||||
{
|
||||
|
||||
public function ItemWindowTextBar(windowLoaded:Function, currItem:String, iconLayerName:String, index:int, mouseDown:Function = null, mouseOver:Function = null, mouseOut:Function = null, memberOnlyDown:Function = null, customParams:Object = null)
|
||||
{
|
||||
super("userDenBtnCont",windowLoaded,currItem,iconLayerName,index,mouseDown,mouseOver,mouseOut,memberOnlyDown);
|
||||
}
|
||||
|
||||
override public function loadCurrItem(currYLocation:int = 0, currXLocation:int = 0) : void
|
||||
{
|
||||
_itemYLocation = currYLocation;
|
||||
_itemXLocation = currXLocation;
|
||||
if(Boolean(_currItem))
|
||||
{
|
||||
_window.txt.text = _currItem;
|
||||
}
|
||||
}
|
||||
|
||||
public function get txt() : TextField
|
||||
{
|
||||
return _window.txt;
|
||||
}
|
||||
|
||||
public function setText(updateText:String) : void
|
||||
{
|
||||
_currItem = updateText;
|
||||
_window.txt.text = updateText;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user