GuiBuilder => Builder

This commit is contained in:
2015-06-30 17:57:36 +03:00
parent e2361b66a0
commit 374f540fe5
2 changed files with 153 additions and 2 deletions

View File

@@ -9,7 +9,6 @@ import haxework.dispath.IDispatcher;
import haxework.gui.IGroupView;
import haxework.gui.ButtonView;
import haxework.gui.skin.ColorSkin;
import haxework.gui.GuiBuilder;
import haxework.gui.GroupView;
class PopupView extends GroupView {
@@ -26,7 +25,7 @@ class PopupView extends GroupView {
inLayout = false;
skin = new ColorSkin(0x000000, 0.6);
contentView = GuiBuilder.buildFromAssets(resource, key, {listener:this});
contentView = Builder.createFromAsset(resource, key).build({listener:this});
addView(contentView);
}