update
This commit is contained in:
@@ -17,13 +17,8 @@
|
||||
},
|
||||
{
|
||||
"id": "loginInput", "@type": "haxework.gui.InputView",
|
||||
"skin": {
|
||||
"@type": "haxework.gui.skin.BitmapSkin",
|
||||
"image": "@asset:image:resources/images/map/map_3-0.png",
|
||||
"fillType": "REPEAT"
|
||||
},
|
||||
"width": 220, "height": 44, "text": "",
|
||||
"@style": "label"
|
||||
"@style": "input"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -38,13 +33,8 @@
|
||||
},
|
||||
{
|
||||
"id": "passwordInput", "@type": "haxework.gui.InputView",
|
||||
"skin": {
|
||||
"@type": "haxework.gui.skin.BitmapSkin",
|
||||
"image": "@asset:image:resources/images/map/map_3-0.png",
|
||||
"fillType": "REPEAT"
|
||||
},
|
||||
"width": 220, "height": 44, "text": "",
|
||||
"@style": "label"
|
||||
"@style": "input"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"pWidth": 100, "pHeight": 100,
|
||||
"skin": {
|
||||
"@type": "haxework.gui.skin.BitmapSkin",
|
||||
"image": "@asset:image:resources/images/map/map_1.png",
|
||||
"image": "@asset:image:resources/images/background.png",
|
||||
"fillType": "REPEAT"
|
||||
},
|
||||
"views": [
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
{
|
||||
"person": {
|
||||
"width": 440, "height": 44,
|
||||
"skin": {
|
||||
"@type": "haxework.gui.skin.BitmapSkin",
|
||||
"image": "@asset:image:resources/images/map/map_3-0.png",
|
||||
"fillType": "REPEAT"
|
||||
},
|
||||
"views": [
|
||||
{
|
||||
"id": "nameLabel",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"button_skin": {
|
||||
"_button_skin": {
|
||||
"skin": {
|
||||
"@type": "haxework.gui.skin.ButtonBitmapSkin",
|
||||
"image": "@asset:image:resources/images/map/map_4.png",
|
||||
@@ -12,11 +12,34 @@
|
||||
"shadowColor": "0x000000"
|
||||
},
|
||||
|
||||
"button_skin": {
|
||||
"skin": {
|
||||
"@type": "haxework.gui.skin.ButtonBitmapSkin",
|
||||
"upImage": "@asset:image:resources/images/control/button_normal.png",
|
||||
"downImage": "@asset:image:resources/images/control/button_down.png",
|
||||
"overImage": "@asset:image:resources/images/control/button_over.png",
|
||||
"fillType": "NINEPATH"
|
||||
},
|
||||
"fontColor": "0xffffff"
|
||||
},
|
||||
|
||||
"label": {
|
||||
"fontColor": "0xffffff",
|
||||
"fontEmbed": true,
|
||||
"fontEmbed": false,
|
||||
"fontFamily": "@res:text:fontName",
|
||||
"fontSize": 16,
|
||||
"shadowColor": "0x000000"
|
||||
},
|
||||
|
||||
"input": {
|
||||
"fontColor": "0xffffff",
|
||||
"fontEmbed": false,
|
||||
"fontFamily": "@res:text:fontName",
|
||||
"fontSize": 16,
|
||||
"shadowColor": "0x000000",
|
||||
"skin": {
|
||||
"@type": "haxework.gui.skin.ColorSkin",
|
||||
"color": "0x000000"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -42,8 +42,9 @@ class Client implements IConnectionHandler {
|
||||
Provider.setFactory(IResources, Resources);
|
||||
Provider.setFactory(GameData, GameData);
|
||||
|
||||
var font = Assets.getFont("resources/fonts/8-BIT WONDER.TTF");
|
||||
Provider.get(IResources).text.put("fontName", font.fontName);
|
||||
//var font = Assets.getFont("resources/fonts/8-BIT WONDER.TTF");
|
||||
//Provider.get(IResources).text.put("fontName", font.fontName);
|
||||
Provider.get(IResources).text.put("fontName", "Arial");
|
||||
|
||||
Provider.set(IPacketBuilder, new PacketBuilder());
|
||||
#if flash
|
||||
|
||||
Reference in New Issue
Block a user