Advertisement
P3NG3R

CostumeEquipmentDialog.py

Sep 10th, 2014
797
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.03 KB | None | 0 0
  1. import uiScriptLocale
  2.  
  3. window = {
  4.     "name" : "CostumeEquipmentDialog",
  5.  
  6.     "x" : 0,
  7.     "y" : 0,
  8.  
  9.     "width" : 139,
  10.     "height" : 145,
  11.  
  12.     "children" :
  13.     (
  14.         {
  15.             "name" : "ExpandButton",
  16.             "type" : "button",
  17.  
  18.             "x" : 2,
  19.             "y" : 15,
  20.  
  21.             "default_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_normal.tga",
  22.             "over_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_over.tga",
  23.             "down_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_down.tga",
  24.             "disable_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_disabled.tga",
  25.         },
  26.  
  27.         {
  28.             "name" : "CostumeEquipmentLayer",
  29.  
  30.             "x" : 5,
  31.             "y" : 0,
  32.  
  33.             "width" : 139,
  34.             "height" : 145,
  35.  
  36.             "children" :
  37.             (
  38.                 {
  39.                     "name" : "MinimizeButton",
  40.                     "type" : "button",
  41.  
  42.                     "x" : 2,
  43.                     "y" : 15,
  44.  
  45.                     "default_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_normal.tga",
  46.                     "over_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_over.tga",
  47.                     "down_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_down.tga",
  48.                     "disable_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_disabled.tga",
  49.                 },
  50.  
  51.                 {
  52.                     "name" : "CostumeEquipmentBoard",
  53.                     "type" : "board",
  54.                     "style" : ("attach", "float"),
  55.  
  56.                     "x" : 10,
  57.                     "y" : 0,
  58.  
  59.                     "width" : 129,
  60.                     "height" : 145,
  61.  
  62.                     "children" :
  63.                     (
  64.                         {
  65.                             "name" : "Costume_Base",
  66.                             "type" : "image",
  67.  
  68.                             "x" : 8,
  69.                             "y" : 8,
  70.  
  71.                             "image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "costume/costume_bg.jpg",
  72.  
  73.                             "children" :
  74.                             (
  75.                                 {
  76.                                     "name" : "CostumeEquipmentSlot",
  77.                                     "type" : "slot",
  78.  
  79.                                     "x" : 3,
  80.                                     "y" : 3,
  81.  
  82.                                     "width" : 127,
  83.                                     "height" : 145,
  84.  
  85.                                     "slot" : (
  86.                                         {"index":11, "x":61, "y":45, "width":32, "height":64},
  87.                                         {"index":12, "x":61, "y": 8, "width":32, "height":32},
  88.                                         #{"index":16, "x":5, "y":145, "width":32, "height":32},
  89.                                     ),
  90.                                 },
  91.                             ),
  92.                         },
  93.                     ),
  94.                 },
  95.             ),
  96.         },
  97.     ),
  98. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement