1. import uiScriptLocale
  2. window = {
  3. "name" : "PrivateShopBuilder",
  4. "x" : 0,
  5. "y" : 0,
  6. "style" : ("movable", "float",),
  7. "width" : 184+97,
  8. "height" : 328 + 26,
  9. "children" :
  10. (
  11. {
  12. "name" : "board",
  13. "type" : "board",
  14. "style" : ("attach",),
  15. "x" : 0,
  16. "y" : 0,
  17. "width" : 184+97,
  18. "height" : 328 + 26,
  19. "children" :
  20. (
  21. ## Title
  22. {
  23. "name" : "TitleBar",
  24. "type" : "titlebar",
  25. "style" : ("attach",),
  26. "x" : 8,
  27. "y" : 8,
  28. "width" : 169+97,
  29. "color" : "gray",
  30. "children" :
  31. (
  32. { "name":"TitleName", "type":"text", "x":84+44, "y":4, "text":uiScriptLocale.PRIVATE_SHOP_TITLE, "text_horizontal_align":"center" },
  33. ),
  34. },
  35. ## Name_Static
  36. #{
  37. # "name" : "Name_Static", "type" : "text", "x" : 15, "y" : 35 + 3, "text" : uiScriptLocale.PRIVATE_SHOP_NAME,
  38. #},
  39. ## Name
  40. {
  41. "name" : "NameSlot",
  42. "type" : "slotbar",
  43. "x" : 13,
  44. "y" : 35,
  45. "width" : 90 + 67 + 96,
  46. "height" : 18,
  47. "children" :
  48. (
  49. {
  50. "name" : "NameLine",
  51. "type" : "text",
  52. "x" : 3,
  53. "y" : 3,
  54. "width" : 157,
  55. "height" : 15,
  56. "input_limit" : 25,
  57. "text" : "1234567890123456789012345",
  58. },
  59. ),
  60. },
  61. ## Item Slot
  62. {
  63. "name" : "ItemSlot",
  64. "type" : "grid_table",
  65. "x" : 12,
  66. "y" : 34 + 26,
  67. "start_index" : 0,
  68. "x_count" : 8,
  69. "y_count" : 8,
  70. "x_step" : 32,
  71. "y_step" : 32,
  72. "image" : "d:/ymir work/ui/public/Slot_Base.sub",
  73. },
  74. ## Ok
  75. {
  76. "name" : "OkButton",
  77. "type" : "button",
  78. "x" : 21,
  79. "y" : 295 + 26,
  80. "width" : 61,
  81. "height" : 21,
  82. "text" : uiScriptLocale.OK,
  83. "default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
  84. "over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
  85. "down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
  86. },
  87. ## Close
  88. {
  89. "name" : "CloseButton",
  90. "type" : "button",
  91. "x" : 200,
  92. "y" : 295 + 26,
  93. "width" : 61,
  94. "height" : 21,
  95. "text" : uiScriptLocale.CLOSE,
  96. "default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
  97. "over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
  98. "down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
  99. },
  100. ),
  101. },
  102. ),
  103. }