1. import uiScriptLocale
  2. import app
  3. ROOT = "d:/ymir work/ui/game/"
  4. Y_ADD_POSITION = 0
  5. window = {
  6. "name" : "ExpandTaskBar",
  7. "x" : SCREEN_WIDTH/2 - 97 + 10 + 26 - 17 - 19 - 19,
  8. "y" : SCREEN_HEIGHT - 74,
  9. "width" : 260-10-22-12+37,
  10. "height" : 37,
  11. "children" :
  12. [
  13. {
  14. "name" : "ExpanedTaskBar_Board",
  15. "type" : "window",
  16. "x" : 0,
  17. "y" : 0,
  18. "width" : 260-10-22-12+37,
  19. "height" : 37,
  20. "children" :
  21. [
  22. {
  23. "name" : "DragonSoulButton",
  24. "type" : "button",
  25. "x" : 0,
  26. "y" : 0,
  27. "width" : 37,
  28. "height" : 37,
  29. "tooltip_text" : uiScriptLocale.TASKBAR_DRAGON_SOUL,
  30. "default_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_01.tga",
  31. "over_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_02.tga",
  32. "down_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_03.tga",
  33. },
  34. {
  35. "name" : "PetGuiButton",
  36. "type" : "button",
  37. "x" : 37,
  38. "y" : 0,
  39. "width" : 37,
  40. "height" : 37,
  41. "tooltip_text" : "Pet Gui",
  42. "default_image" : "d:/ymir work/ui/pet/taskbar_pet_button_01.tga",
  43. "over_image" : "d:/ymir work/ui/pet/taskbar_pet_button_02.tga",
  44. "down_image" : "d:/ymir work/ui/pet/taskbar_pet_button_03.tga",
  45. },
  46. ],
  47. },
  48. ],
  49. }

d