AVA2 cross-platform client parity baseline
This commit is contained in:
@@ -0,0 +1,130 @@
|
||||
import localeInfo
|
||||
|
||||
WINDOW_WIDTH = 636
|
||||
WINDOW_HEIGHT = 518
|
||||
|
||||
IMG_DIR = "d:/ymir work/ui/game/track/ymirdesign/"
|
||||
|
||||
window = {
|
||||
"name" : "TrackWindow",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"style" : ("movable", "float",),
|
||||
"width" : WINDOW_WIDTH,
|
||||
"height" : WINDOW_HEIGHT,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board_with_titlebar",
|
||||
"style" : ("movable","attach", "float",),
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"width":WINDOW_WIDTH,
|
||||
"height":WINDOW_HEIGHT,
|
||||
"title":localeInfo.TRACK_WINDOW_TITLE,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "bg",
|
||||
"type" : "image",
|
||||
"style" : ("movable","attach", "float",),
|
||||
"x" : 10,
|
||||
"y" : 36,
|
||||
"image" : IMG_DIR+"bg.tga",
|
||||
},
|
||||
{
|
||||
"name" : "dungeon_info",
|
||||
"type" : "radio_button",
|
||||
"x" : WINDOW_WIDTH-171,
|
||||
"y" : 55,
|
||||
"default_image" : IMG_DIR+"dungeon_0.tga",
|
||||
"over_image" : IMG_DIR+"dungeon_1.tga",
|
||||
"down_image" : IMG_DIR+"dungeon_2.tga",
|
||||
"children":(
|
||||
{
|
||||
"name" : "dungeon_info_text",
|
||||
"type" : "multi_text",
|
||||
"x" : 93,
|
||||
"y" : 32,
|
||||
"text" : localeInfo.TRACK_DUNGEON_INFORMATION,
|
||||
"text_type" : "horizontal#center",
|
||||
"text_range" : 11,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "worldboss_info",
|
||||
"type" : "radio_button",
|
||||
"x" : WINDOW_WIDTH-171,
|
||||
"y" : 148,
|
||||
"default_image" : IMG_DIR+"boss_0.tga",
|
||||
"over_image" : IMG_DIR+"boss_1.tga",
|
||||
"down_image" : IMG_DIR+"boss_2.tga",
|
||||
"children":(
|
||||
{
|
||||
"name" : "worldboss_info_text",
|
||||
"type" : "multi_text",
|
||||
"x" : 93,
|
||||
"y" : 32,
|
||||
"text" : localeInfo.TRACK_BOSS_INFORMATION,
|
||||
"text_type" : "horizontal#center",
|
||||
"text_range" : 11,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "open_shop",
|
||||
"type" : "button",
|
||||
"x" : WINDOW_WIDTH-171,
|
||||
"y" : 374,
|
||||
"default_image" : IMG_DIR+"open_shop_0.tga",
|
||||
"over_image" : IMG_DIR+"open_shop_1.tga",
|
||||
"down_image" : IMG_DIR+"open_shop_2.tga",
|
||||
"text" : localeInfo.TRACK_OPEN_SHOP,
|
||||
},
|
||||
{
|
||||
"name" : "dungeon_info_notice",
|
||||
"type" : "toggle_button",
|
||||
"x" : WINDOW_WIDTH-171,
|
||||
"y" : WINDOW_HEIGHT-72,
|
||||
"default_image" : IMG_DIR+"checkbox.tga",
|
||||
"over_image" : IMG_DIR+"checkbox.tga",
|
||||
"down_image" : IMG_DIR+"checked.tga",
|
||||
"children":(
|
||||
{
|
||||
"name" : "dungeon_info_notice_text",
|
||||
"type" : "multi_text",
|
||||
"x" : 22,
|
||||
"y" : -5,
|
||||
"text" : localeInfo.TRACK_DUNGEON_NOTICE_INFORMATION,
|
||||
"text_type" : "horizontal#left",
|
||||
"text_range" : 11,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "worldboss_info_notice",
|
||||
"type" : "toggle_button",
|
||||
"x" : WINDOW_WIDTH-171,
|
||||
"y" : WINDOW_HEIGHT-42,
|
||||
"default_image" : IMG_DIR+"checkbox.tga",
|
||||
"over_image" : IMG_DIR+"checkbox.tga",
|
||||
"down_image" : IMG_DIR+"checked.tga",
|
||||
"children":(
|
||||
{
|
||||
"name" : "dungeon_info_notice_text",
|
||||
"type" : "multi_text",
|
||||
"x" : 22,
|
||||
"y" : -5,
|
||||
"text" : localeInfo.TRACK_BOSS_NOTICE_INFORMATION,
|
||||
"text_type" : "horizontal#left",
|
||||
"text_range" : 11,
|
||||
},
|
||||
),
|
||||
},
|
||||
{"name" : "listbox","type" : "listbox_new","x" : 18,"y" : 50,"width" : 405,"height" : 452,},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
Reference in New Issue
Block a user