Advertisement
Guest User

main_ui.xml

a guest
Aug 14th, 2015
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.58 KB | None | 0 0
  1. <root>
  2. <styles>
  3. <include src="s2r://panorama/styles/dotastyles.vcss_c" />
  4. <include src="file://{resources}/styles/custom_game/root.css" />
  5. <include src="file://{resources}/styles/custom_game/main_ui.css" />
  6. </styles>
  7. <scripts>
  8. <include src="file://{resources}/scripts/custom_game/main_ui.js" />
  9. <include src="file://{resources}/scripts/custom_game/smooth_camera.js" />
  10. </scripts>
  11. <Panel class="main-ui" hittest="false"><!--is-not-visible-->
  12. <Panel id="MainUiFlow" class="flow-down fill" hittest="false">
  13. <Panel id="TopBar" class="top-bar flow-right" hittest="false">
  14. <Button id="TopBarOpenMenu" class="panel-left fill-height square margin-4" hittest="false">
  15. </Button>
  16. </Panel>
  17. <Panel id="MainScreen" class="flow-right fill" hittest="false">
  18. <Panel id="PlayerInfo" class="panel-bottom flow-down">
  19. <Panel id="PlayerInfoTopRow" style="height: 72%;" class="fill-width flow-right">
  20. <Panel id="PlayerInfoAvatar" style="width: height-percentage(75%); " class="fill-height margin-4">
  21. <DOTAHeroImage id="PlayerInfoAvatarImage" heroname="npc_dota_hero_rattletrap" class="fill" heroimagestyle="portrait" />
  22. </Panel>
  23. <Panel id="PlayerInfoItems" class="fill margin-4 flow-down">
  24. </Panel>
  25. </Panel>
  26. <Panel id="PlayerInfoBottomRow" class="fill flow-right ">
  27. <Panel id="PlayerInfoPassives" style="width: height-percentage(50%);" class="flow-down">
  28. <Image id="PlayerInfoRolePassive" src="file://{images}/custom_game/roles/role_tactician.png" style="margin-left: 4px; margin-bottom: 2px; margin-top: 4px;" class="even-space-vertical square panel-center passive"/>
  29. <Image id="PlayerInfoShaperPassive" src="file://{images}/custom_game/spellicons/pure_shaper.png" style="margin-left: 4px; margin-bottom: 4px; margin-top: 2px;" class="even-space-vertical square panel-center passive"/>
  30. </Panel>
  31. <Panel id="PlayerInfoStats" class="fill flow-down margin-4">
  32. <Panel id="PlayerInfoStatsTopRow" class="fill flow-right even-space-vertical">
  33. <Panel id="PlayerInfoStatsPower" class="fill-height even-space-horiz flow-right margin-4">
  34. <Label id="PlayerInfoStatsPowerLabel" style="color: #25b61e; font-size: 18px; text-align: center;" text="999" class="panel-center"/>
  35. <Image src="file://{images}/custom_game/hud/icon_stat_power.png" style="margin-top: 4px; margin-bottom: 4px;" class="square panel-right"/>
  36. </Panel>
  37. <Panel id="PlayerInfoStatsHaste" class="fill-height even-space-horiz flow-right margin-4">
  38. <Label id="PlayerInfoStatsHasteLabel" style="color: #5e78fe; font-size: 18px; text-align: center;" text="999" class="panel-center"/>
  39. <Image src="file://{images}/custom_game/hud/icon_stat_haste.png" style="margin-top: 4px; margin-bottom: 4px;" class="square panel-right"/>
  40. </Panel>
  41. <Panel id="PlayerInfoStatsMovespeed" class="fill-height even-space-horiz flow-right margin-4">
  42. <Label id="PlayerInfoStatsMovespeedLabel" style="color: #FFFFFF; font-size: 18px; text-align: center;" text="999" class="panel-center"/>
  43. <Image src="file://{images}/custom_game/hud/icon_stat_movespeed.png" style="margin-top: 4px; margin-bottom: 4px;" class="square panel-right"/>
  44. </Panel>
  45. </Panel>
  46. <Panel id="PlayerInfoStatsBottomRow" class="fill flow-right even-space-vertical">
  47. <Panel id="PlayerInfoStatsAttackDamage" class="fill-height even-space-horiz flow-right margin-4">
  48. <Label id="PlayerInfoStatsAttackDamageLabel" style="color: #07ff00; font-size: 18px; text-align: center;" text="999" class="panel-center"/>
  49. <Image src="file://{images}/custom_game/hud/icon_stat_attack.png" style="margin-top: 4px; margin-bottom: 4px;" class="square panel-right"/>
  50. </Panel>
  51. <Panel id="PlayerInfoStatsArmour" class="fill-height even-space-horiz flow-right margin-4">
  52. <Label id="PlayerInfoStatsArmourLabel" style="color: #d68200; font-size: 18px; text-align: center;" text="999" class="panel-center"/>
  53. <Image src="file://{images}/custom_game/hud/icon_stat_armour.png" style="margin-top: 4px; margin-bottom: 4px;" class="square panel-right"/>
  54. </Panel>
  55. <Panel id="PlayerInfoStatsMagicResistance" class="fill-height even-space-horiz flow-right margin-4">
  56. <Label id="PlayerInfoStatsMagicResistanceLabel" style="color: #d100c5; font-size: 18px; text-align: center;" text="999" class="panel-center"/>
  57. <Image src="file://{images}/custom_game/hud/icon_stat_mresist.png" style="margin-top: 4px; margin-bottom: 4px;" class="square panel-right"/>
  58. </Panel>
  59. </Panel>
  60. </Panel>
  61. </Panel>
  62. </Panel>
  63. <Panel id="PlayerInfoExtended" class="panel-bottom flow-down">
  64. <Panel id="PlayerInfoExtendedTopPanel" class="flow-right fill-height">
  65. <Image src="file://{images}/custom_game/hud/vis.png" style="width: height-percentage(100%);" class="margin-4"/>
  66. <Label id="PlayerInfoExtendedVis" text="Vis: " style="color: #ffffaa; font-size: 20px;" class="panel-center-vertical"/>
  67. </Panel>
  68. <Panel id="PlayerInfoExtendedBottomPanel" class="fill flow-down">
  69. <Label id="PlayerInfoExpLabel" style="color: #ffff55;" class="panel-center" text="Exp: "/>
  70. <Panel id="PlayerInfoExp" class="fill">
  71. <Panel id="PlayerInfoExpBar" class="fill"/>
  72. </Panel>
  73. </Panel>
  74. </Panel>
  75. </Panel>
  76. </Panel>
  77. </Panel>
  78. </root>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement