| @@ -0,0 +1,112 @@ | |||
| 1 | + | MainWindow | |
| 2 | + | id: passiveWindow | |
| 3 | + | size: 310 350 | |
| 4 | + | image-source: /images/custom/Shop/item_shop_view | |
| 5 | + | draggable: false | |
| 6 | + | focusable: true | |
| 7 | + | @onEscape: closer_boxShop() | |
| 8 | + | ||
| 9 | + | UIButton | |
| 10 | + | id: categoria_1 | |
| 11 | + | size: 60 35 | |
| 12 | + | anchors.top: parent.top | |
| 13 | + | anchors.left: parent.left | |
| 14 | + | margin-top: 05 | |
| 15 | + | margin-left: 10 | |
| 16 | + | @onClick: onLoadPassives(01) | |
| 17 | + | opacity: 0.8 | |
| 18 | + | $pressed: | |
| 19 | + | opacity: 0.6 | |
| 20 | + | $hover !pressed: | |
| 21 | + | opacity: 1.0 | |
| 22 | + | ||
| 23 | + | UIButton | |
| 24 | + | id: categoria_2 | |
| 25 | + | size: 60 35 | |
| 26 | + | anchors.top: parent.top | |
| 27 | + | anchors.left: categoria_1.right | |
| 28 | + | margin-left: 05 | |
| 29 | + | margin-top: 05 | |
| 30 | + | @onClick: onLoadPassives(02) | |
| 31 | + | opacity: 0.8 | |
| 32 | + | $pressed: | |
| 33 | + | opacity: 0.6 | |
| 34 | + | $hover !pressed: | |
| 35 | + | opacity: 1.0 | |
| 36 | + | ||
| 37 | + | UIButton | |
| 38 | + | id: categoria_3 | |
| 39 | + | size: 60 35 | |
| 40 | + | anchors.top: parent.top | |
| 41 | + | anchors.left: categoria_2.right | |
| 42 | + | margin-left: 05 | |
| 43 | + | margin-top: 05 | |
| 44 | + | @onClick: onLoadPassives(03) | |
| 45 | + | opacity: 0.8 | |
| 46 | + | $pressed: | |
| 47 | + | opacity: 0.6 | |
| 48 | + | $hover !pressed: | |
| 49 | + | opacity: 1.0 | |
| 50 | + | ||
| 51 | + | UIButton | |
| 52 | + | id: categoria_4 | |
| 53 | + | size: 60 35 | |
| 54 | + | anchors.top: parent.top | |
| 55 | + | anchors.left: categoria_3.right | |
| 56 | + | margin-left: 05 | |
| 57 | + | margin-top: 05 | |
| 58 | + | @onClick: onLoadPassives(04) | |
| 59 | + | opacity: 0.8 | |
| 60 | + | $pressed: | |
| 61 | + | opacity: 0.6 | |
| 62 | + | $hover !pressed: | |
| 63 | + | opacity: 1.0 | |
| 64 | + | ||
| 65 | + | VerticalScrollBar | |
| 66 | + | id: PassiveListScrollBar | |
| 67 | + | anchors.top: categoria_1.bottom | |
| 68 | + | anchors.bottom: parent.bottom | |
| 69 | + | anchors.right: parent.right | |
| 70 | + | step: 24 | |
| 71 | + | opacity: 0.8 | |
| 72 | + | margin-bottom: 50 | |
| 73 | + | margin-top: 10 | |
| 74 | + | margin-right: 5 | |
| 75 | + | pixels-scroll: true | |
| 76 | + | ||
| 77 | + | ScrollablePanel | |
| 78 | + | id: passivePanel | |
| 79 | + | size: 250 64 | |
| 80 | + | anchors.right: parent.right | |
| 81 | + | anchors.right: prev.left | |
| 82 | + | anchors.top: categoria_1.bottom | |
| 83 | + | anchors.bottom: parent.bottom | |
| 84 | + | vertical-scrollbar: PassiveListScrollBar | |
| 85 | + | margin-top: 10 | |
| 86 | + | margin-left: 02 | |
| 87 | + | margin-right: 02 | |
| 88 | + | margin-bottom: 50 | |
| 89 | + | layout: | |
| 90 | + | type: grid | |
| 91 | + | cell-size: 250 100 | |
| 92 | + | flow: true | |
| 93 | + | margin-top: 5 | |
| 94 | + | ||
| 95 | + | UIButton | |
| 96 | + | id: exitButton | |
| 97 | + | !text: tr('CANCELAR') | |
| 98 | + | image-source: /images/custom/UI/button | |
| 99 | + | height: 30 | |
| 100 | + | font: verdana-11px-antialised | |
| 101 | + | anchors.bottom: parent.bottom | |
| 102 | + | anchors.right: parent.right | |
| 103 | + | anchors.left: parent.left | |
| 104 | + | margin-left: 10 | |
| 105 | + | margin-right: 15 | |
| 106 | + | margin-bottom: 05 | |
| 107 | + | @onClick: closer_boxShop() | |
| 108 | + | opacity: 0.8 | |
| 109 | + | $pressed: | |
| 110 | + | opacity: 0.6 | |
| 111 | + | $hover !pressed: | |
| 112 | + | opacity: 1.0 |
| @@ -0,0 +1,73 @@ | |||
| 1 | + | MainWindow | |
| 2 | + | !text: tr('Editar seu PIX') | |
| 3 | + | size: 280 230 | |
| 4 | + | ||
| 5 | + | Label | |
| 6 | + | id: nomeReal | |
| 7 | + | !text: tr('Nome real do titular') | |
| 8 | + | text-wrap: true | |
| 9 | + | text-auto-resize: true | |
| 10 | + | anchors.top: parent.top | |
| 11 | + | anchors.left: parent.left | |
| 12 | + | anchors.right: parent.right | |
| 13 | + | ||
| 14 | + | TextEdit | |
| 15 | + | id: nomeTextEdit | |
| 16 | + | text-wrap: true | |
| 17 | + | size: 250 24 | |
| 18 | + | anchors.top: nomeReal.bottom | |
| 19 | + | margin-top: 4 | |
| 20 | + | margin-bottom: 8 | |
| 21 | + | ||
| 22 | + | Label | |
| 23 | + | id: keyPix | |
| 24 | + | !text: tr('Chave Pix (Somente Email)') | |
| 25 | + | text-wrap: true | |
| 26 | + | text-auto-resize: true | |
| 27 | + | anchors.top: nomeTextEdit.bottom | |
| 28 | + | anchors.left: parent.left | |
| 29 | + | anchors.right: parent.right | |
| 30 | + | margin-top: 5 | |
| 31 | + | ||
| 32 | + | TextEdit | |
| 33 | + | id: pixTextEdit | |
| 34 | + | text-wrap: true | |
| 35 | + | size: 250 24 | |
| 36 | + | anchors.top: keyPix.bottom | |
| 37 | + | margin-top: 4 | |
| 38 | + | margin-bottom: 8 | |
| 39 | + | ||
| 40 | + | Label | |
| 41 | + | id: keyBank | |
| 42 | + | !text: tr('Institui��o Financeira (Banco)') | |
| 43 | + | text-wrap: true | |
| 44 | + | text-auto-resize: true | |
| 45 | + | anchors.top: pixTextEdit.bottom | |
| 46 | + | anchors.left: parent.left | |
| 47 | + | anchors.right: parent.right | |
| 48 | + | margin-top: 5 | |
| 49 | + | ||
| 50 | + | TextEdit | |
| 51 | + | id: bankTextEdit | |
| 52 | + | text-wrap: true | |
| 53 | + | size: 250 24 | |
| 54 | + | anchors.top: keyBank.bottom | |
| 55 | + | margin-top: 4 | |
| 56 | + | margin-bottom: 8 | |
| 57 | + | ||
| 58 | + | Button | |
| 59 | + | id: sendButton | |
| 60 | + | !text: tr('Salvar') | |
| 61 | + | anchors.bottom: cancelButton.bottom | |
| 62 | + | anchors.right: cancelButton.left | |
| 63 | + | margin-right: 10 | |
| 64 | + | width: 80 | |
| 65 | + | &onClick: onSavePix | |
| 66 | + | ||
| 67 | + | Button | |
| 68 | + | id: cancelButton | |
| 69 | + | !text: tr('Cancel') | |
| 70 | + | anchors.bottom: parent.bottom | |
| 71 | + | anchors.right: parent.right | |
| 72 | + | width: 80 | |
| 73 | + | @onClick: closer_boxShop() |
| @@ -0,0 +1,80 @@ | |||
| 1 | + | MainWindow | |
| 2 | + | id: premiumWindow | |
| 3 | + | size: 223 320 | |
| 4 | + | image-source: /images/custom/Shop/item_shop_view | |
| 5 | + | draggable: false | |
| 6 | + | focusable: true | |
| 7 | + | @onEscape: closer_boxShop() | |
| 8 | + | ||
| 9 | + | $mobile: | |
| 10 | + | size: 223 280 | |
| 11 | + | ||
| 12 | + | UIButton | |
| 13 | + | id: itemName | |
| 14 | + | size: 200 25 | |
| 15 | + | font: verdana-11px-antialised | |
| 16 | + | color: #E2D524 | |
| 17 | + | anchors.top: parent.top | |
| 18 | + | anchors.left: parent.left | |
| 19 | + | margin-left: -02 | |
| 20 | + | margin-top: -20 | |
| 21 | + | ||
| 22 | + | UIButton | |
| 23 | + | id: paymentVip | |
| 24 | + | !tooltip: tr('Compre usando suas Vip Coins.') | |
| 25 | + | image-source: /images/custom/Shop/buyBt_3 | |
| 26 | + | size: 91 20 | |
| 27 | + | font: verdana-11px-antialised | |
| 28 | + | anchors.top: itemName.bottom | |
| 29 | + | anchors.left: parent.left | |
| 30 | + | margin-left: 05 | |
| 31 | + | margin-top: 05 | |
| 32 | + | opacity: 0.8 | |
| 33 | + | $pressed: | |
| 34 | + | opacity: 0.6 | |
| 35 | + | $hover !pressed: | |
| 36 | + | opacity: 1.0 | |
| 37 | + | ||
| 38 | + | UIButton | |
| 39 | + | id: paymentOnline | |
| 40 | + | image-source: /images/custom/Shop/buyBt_2 | |
| 41 | + | size: 91 20 | |
| 42 | + | font: verdana-11px-antialised | |
| 43 | + | anchors.top: itemName.bottom | |
| 44 | + | anchors.left: paymentVip.right | |
| 45 | + | margin-left: 05 | |
| 46 | + | margin-top: 05 | |
| 47 | + | opacity: 0.8 | |
| 48 | + | $pressed: | |
| 49 | + | opacity: 0.6 | |
| 50 | + | $hover !pressed: | |
| 51 | + | opacity: 1.0 | |
| 52 | + | ||
| 53 | + | Label | |
| 54 | + | id: itemDetalhes | |
| 55 | + | size: 198 190 | |
| 56 | + | text-wrap: true | |
| 57 | + | text-offset: 05 05 | |
| 58 | + | anchors.top: paymentVip.bottom | |
| 59 | + | anchors.left: parent.left | |
| 60 | + | margin-left: -02 | |
| 61 | + | margin-top: 10 | |
| 62 | + | ||
| 63 | + | UIButton | |
| 64 | + | id: exitButton | |
| 65 | + | !text: tr('CANCELAR') | |
| 66 | + | image-source: /images/custom/UI/button | |
| 67 | + | height: 30 | |
| 68 | + | font: verdana-11px-antialised | |
| 69 | + | anchors.bottom: parent.bottom | |
| 70 | + | anchors.right: parent.right | |
| 71 | + | anchors.left: parent.left | |
| 72 | + | margin-left: 05 | |
| 73 | + | margin-right: 05 | |
| 74 | + | margin-bottom: 05 | |
| 75 | + | @onClick: closer_boxShop() | |
| 76 | + | opacity: 0.8 | |
| 77 | + | $pressed: | |
| 78 | + | opacity: 0.6 | |
| 79 | + | $hover !pressed: | |
| 80 | + | opacity: 1.0 |
| @@ -0,0 +1,200 @@ | |||
| 1 | + | MainWindow | |
| 2 | + | id: spyWindow | |
| 3 | + | text: Player | |
| 4 | + | font: sans-bold-16px | |
| 5 | + | size: 253 350 | |
| 6 | + | focusable: true | |
| 7 | + | @onEscape: onSpyClose() | |
| 8 | + | ||
| 9 | + | UIButton | |
| 10 | + | id: fecharSpy | |
| 11 | + | height: 25 | |
| 12 | + | !text: tr('CERRAR') | |
| 13 | + | image-source: /images/custom/UI/button_3 | |
| 14 | + | anchors.bottom: parent.bottom | |
| 15 | + | anchors.right: parent.right | |
| 16 | + | anchors.left: parent.left | |
| 17 | + | margin-left: 5 | |
| 18 | + | margin-right: 5 | |
| 19 | + | margin-bottom: 5 | |
| 20 | + | opacity: 0.8 | |
| 21 | + | @onClick: onSpyClose() | |
| 22 | + | $pressed: | |
| 23 | + | opacity: 0.6 | |
| 24 | + | $hover !pressed: | |
| 25 | + | opacity: 1.0 | |
| 26 | + | ||
| 27 | + | UIButton | |
| 28 | + | id: showSpy | |
| 29 | + | size: 240 275 | |
| 30 | + | anchors.top: parent.top | |
| 31 | + | anchors.left: parent.left | |
| 32 | + | margin-top: -10 | |
| 33 | + | margin-left: -10 | |
| 34 | + | ||
| 35 | + | UIButton | |
| 36 | + | id: SpyAmulet | |
| 37 | + | size: 42 50 | |
| 38 | + | image-source: /images/game/slots/amulet | |
| 39 | + | icon-rect: 5 5 32 32 | |
| 40 | + | anchors.top: parent.top | |
| 41 | + | anchors.left: parent.left | |
| 42 | + | margin-left: 6 | |
| 43 | + | margin-top: 10 | |
| 44 | + | ||
| 45 | + | UIButton | |
| 46 | + | id: SpyHelmet | |
| 47 | + | size: 42 50 | |
| 48 | + | image-source: /images/game/slots/helmet | |
| 49 | + | icon-rect: 5 5 32 32 | |
| 50 | + | anchors.top: parent.top | |
| 51 | + | anchors.left: SpyAmulet.right | |
| 52 | + | margin-left: 5 | |
| 53 | + | margin-top: 10 | |
| 54 | + | ||
| 55 | + | UIButton | |
| 56 | + | id: SpyBackpack | |
| 57 | + | size: 42 50 | |
| 58 | + | image-source: /images/game/slots/backpack | |
| 59 | + | icon-rect: 5 5 32 32 | |
| 60 | + | anchors.top: parent.top | |
| 61 | + | anchors.left: SpyHelmet.right | |
| 62 | + | margin-left: 5 | |
| 63 | + | margin-top: 10 | |
| 64 | + | ||
| 65 | + | UIButton | |
| 66 | + | id: SpySummon | |
| 67 | + | size: 89 153 | |
| 68 | + | icon-align: center | |
| 69 | + | image-source: /images/custom/UI/infoInv | |
| 70 | + | icon: /images/custom/Monster/0 | |
| 71 | + | anchors.top: parent.top | |
| 72 | + | anchors.left: SpyBackpack.right | |
| 73 | + | margin-left: 7 | |
| 74 | + | margin-top: 10 | |
| 75 | + | ||
| 76 | + | UIButton | |
| 77 | + | id: SpyImgSummonEquip | |
| 78 | + | size: 64 64 | |
| 79 | + | phantom: true | |
| 80 | + | icon: /images/custom/Monster/0 | |
| 81 | + | anchors.top: parent.top | |
| 82 | + | anchors.left: parent.left | |
| 83 | + | margin-left: 13 | |
| 84 | + | margin-top: 35 | |
| 85 | + | ||
| 86 | + | UIButton | |
| 87 | + | id: SpyStarSummonEquip | |
| 88 | + | size: 31 10 | |
| 89 | + | image-source: /images/custom/UI/star_0 | |
| 90 | + | anchors.top: SpyImgSummonEquip.bottom | |
| 91 | + | anchors.left: parent.left | |
| 92 | + | margin-left: 30 | |
| 93 | + | margin-top: 37 | |
| 94 | + | ||
| 95 | + | UIButton | |
| 96 | + | id: SpyGun01 | |
| 97 | + | size: 42 50 | |
| 98 | + | image-source: /images/game/slots/gun | |
| 99 | + | icon-rect: 5 5 32 32 | |
| 100 | + | anchors.top: SpyAmulet.bottom | |
| 101 | + | anchors.left: parent.left | |
| 102 | + | margin-left: 6 | |
| 103 | + | margin-top: 3 | |
| 104 | + | ||
| 105 | + | UIButton | |
| 106 | + | id: SpyArmor | |
| 107 | + | size: 42 50 | |
| 108 | + | image-source: /images/game/slots/armor | |
| 109 | + | icon-rect: 5 5 32 32 | |
| 110 | + | anchors.top: SpyAmulet.bottom | |
| 111 | + | anchors.left: SpyGun01.right | |
| 112 | + | margin-left: 5 | |
| 113 | + | margin-top: 3 | |
| 114 | + | ||
| 115 | + | UIButton | |
| 116 | + | id: SpyGlove | |
| 117 | + | size: 42 50 | |
| 118 | + | image-source: /images/game/slots/glove | |
| 119 | + | icon-rect: 5 5 32 32 | |
| 120 | + | anchors.top: SpyAmulet.bottom | |
| 121 | + | anchors.right: SpySummon.left | |
| 122 | + | margin-right: 7 | |
| 123 | + | margin-top: 3 | |
| 124 | + | ||
| 125 | + | UIButton | |
| 126 | + | id: SpyRing01 | |
| 127 | + | size: 42 50 | |
| 128 | + | image-source: /images/game/slots/ring | |
| 129 | + | anchors.top: SpyGun01.bottom | |
| 130 | + | icon-rect: 5 5 32 32 | |
| 131 | + | anchors.left: parent.left | |
| 132 | + | margin-left: 6 | |
| 133 | + | margin-top: 3 | |
| 134 | + | ||
| 135 | + | UIButton | |
| 136 | + | id: SpyLegs | |
| 137 | + | size: 42 50 | |
| 138 | + | image-source: /images/game/slots/leg | |
| 139 | + | icon-rect: 5 5 32 32 | |
| 140 | + | anchors.top: SpyGun01.bottom | |
| 141 | + | anchors.left: SpyRing01.right | |
| 142 | + | margin-left: 5 | |
| 143 | + | margin-top: 3 | |
| 144 | + | ||
| 145 | + | UIButton | |
| 146 | + | id: SpyBoots | |
| 147 | + | size: 42 50 | |
| 148 | + | image-source: /images/game/slots/boot | |
| 149 | + | icon-rect: 5 5 32 32 | |
| 150 | + | anchors.top: SpyGun01.bottom | |
| 151 | + | anchors.left: SpyLegs.right | |
| 152 | + | margin-left: 5 | |
| 153 | + | margin-top: 3 | |
| 154 | + | ||
| 155 | + | UIButton | |
| 156 | + | id: SpyGoldCoin | |
| 157 | + | size: 135 20 | |
| 158 | + | text: 0 | |
| 159 | + | image-source: /images/custom/UI/goldInfo | |
| 160 | + | anchors.top: SpyRing01.bottom | |
| 161 | + | anchors.left: parent.left | |
| 162 | + | margin-left: 6 | |
| 163 | + | margin-top: 10 | |
| 164 | + | ||
| 165 | + | UIButton | |
| 166 | + | id: SpyOnlineCoin | |
| 167 | + | size: 86 20 | |
| 168 | + | text: 0 | |
| 169 | + | image-source: /images/custom/UI/onlineCoin | |
| 170 | + | anchors.top: SpyRing01.bottom | |
| 171 | + | anchors.left: SpyGoldCoin.right | |
| 172 | + | margin-left: 7 | |
| 173 | + | margin-top: 10 | |
| 174 | + | ||
| 175 | + | UIButton | |
| 176 | + | id: SpySkill1 | |
| 177 | + | size: 38 38 | |
| 178 | + | image-source: /images/custom/UI/insert_skill | |
| 179 | + | anchors.top: SpyOnlineCoin.bottom | |
| 180 | + | anchors.left: parent.left | |
| 181 | + | margin-left: 30 | |
| 182 | + | margin-top: 20 | |
| 183 | + | ||
| 184 | + | UIButton | |
| 185 | + | id: SpySkill2 | |
| 186 | + | size: 38 38 | |
| 187 | + | image-source: /images/custom/UI/insert_skill | |
| 188 | + | anchors.top: SpyOnlineCoin.bottom | |
| 189 | + | anchors.left: SpySkill1.right | |
| 190 | + | margin-left: 30 | |
| 191 | + | margin-top: 20 | |
| 192 | + | ||
| 193 | + | UIButton | |
| 194 | + | id: SpySkill3 | |
| 195 | + | size: 38 38 | |
| 196 | + | image-source: /images/custom/UI/insert_skill | |
| 197 | + | anchors.top: SpyOnlineCoin.bottom | |
| 198 | + | anchors.left: SpySkill2.right | |
| 199 | + | margin-left: 30 | |
| 200 | + | margin-top: 20 |
| @@ -0,0 +1,1564 @@ | |||
| 1 | + | MainWindow | |
| 2 | + | id: summonWindow | |
| 3 | + | size: 223 320 | |
| 4 | + | image-source: /images/custom/Shop/item_shop_view | |
| 5 | + | draggable: false | |
| 6 | + | focusable: true | |
| 7 | + | @onEscape: closer_boxShop() | |
| 8 | + | ||
| 9 | + | $mobile: | |
| 10 | + | size: 223 280 | |
| 11 | + | ||
| 12 | + | UIButton | |
| 13 | + | id: itemName | |
| 14 | + | size: 200 25 | |
| 15 | + | font: verdana-11px-antialised | |
| 16 | + | color: #E2D524 | |
| 17 | + | anchors.top: parent.top | |
| 18 | + | anchors.left: parent.left | |
| 19 | + | margin-left: -02 | |
| 20 | + | margin-top: -20 | |
| 21 | + | ||
| 22 | + | UIButton | |
| 23 | + | id: paymentVip | |
| 24 | + | text: 05 | |
| 25 | + | !tooltip: tr('Compre usando suas Vip Coins.') | |
| 26 | + | image-source: /images/custom/Shop/paymentVip | |
| 27 | + | size: 91 20 | |
| 28 | + | font: verdana-11px-antialised | |
| 29 | + | anchors.top: itemName.bottom | |
| 30 | + | anchors.left: parent.left | |
| 31 | + | margin-left: 05 | |
| 32 | + | margin-top: 05 | |
| 33 | + | opacity: 0.8 | |
| 34 | + | $pressed: | |
| 35 | + | opacity: 0.6 | |
| 36 | + | $hover !pressed: | |
| 37 | + | opacity: 1.0 | |
| 38 | + | ||
| 39 | + | UIButton | |
| 40 | + | id: paymentOnline | |
| 41 | + | text: 05 | |
| 42 | + | !tooltip: tr('Compre usando suas Online Coins.') | |
| 43 | + | image-source: /images/custom/Shop/paymentOnline | |
| 44 | + | size: 91 20 | |
| 45 | + | font: verdana-11px-antialised | |
| 46 | + | anchors.top: itemName.bottom | |
| 47 | + | anchors.left: paymentVip.right | |
| 48 | + | margin-left: 05 | |
| 49 | + | margin-top: 05 | |
| 50 | + | opacity: 0.8 | |
| 51 | + | $pressed: | |
| 52 | + | opacity: 0.6 | |
| 53 | + | $hover !pressed: | |
| 54 | + | opacity: 1.0 | |
| 55 | + | ||
| 56 | + | Label | |
| 57 | + | id: itemDetalhes | |
| 58 | + | size: 198 20 | |
| 59 | + | text-align: center | |
| 60 | + | text-wrap: true | |
| 61 | + | !text: tr("Possiveis loot:") | |
| 62 | + | anchors.top: paymentVip.bottom | |
| 63 | + | anchors.left: parent.left | |
| 64 | + | margin-left: -02 | |
| 65 | + | margin-top: 10 | |
| 66 | + | ||
| 67 | + | VerticalScrollBar | |
| 68 | + | id: itemsPanelListScrollBar | |
| 69 | + | anchors.top: itemDetalhes.bottom | |
| 70 | + | anchors.bottom: parent.bottom | |
| 71 | + | anchors.right: parent.right | |
| 72 | + | step: 24 | |
| 73 | + | opacity: 0.2 | |
| 74 | + | margin-bottom: 50 | |
| 75 | + | margin-top: 10 | |
| 76 | + | margin-right: 5 | |
| 77 | + | pixels-scroll: true | |
| 78 | + | ||
| 79 | + | ScrollablePanel | |
| 80 | + | id: itemsPanel | |
| 81 | + | size: 170 64 | |
| 82 | + | anchors.right: parent.right | |
| 83 | + | anchors.right: prev.left | |
| 84 | + | anchors.top: itemDetalhes.bottom | |
| 85 | + | anchors.bottom: parent.bottom | |
| 86 | + | vertical-scrollbar: itemsPanelListScrollBar | |
| 87 | + | margin-top: 10 | |
| 88 | + | margin-left: 02 | |
| 89 | + | margin-right: 02 | |
| 90 | + | margin-bottom: 50 | |
| 91 | + | layout: | |
| 92 | + | type: grid | |
| 93 | + | cell-size: 150 70 | |
| 94 | + | flow: true | |
| 95 | + | auto-spacing: true | |
| 96 | + | ||
| 97 | + | UIButton | |
| 98 | + | id: Monter1 | |
| 99 | + | margin-right: -17 | |
| 100 | + | image-source: /images/custom/UI/loot_3 | |
| 101 | + | margin-top: 5 | |
| 102 | + | ||
| 103 | + | UIButton | |
| 104 | + | id: IMGSUM_1 | |
| 105 | + | image-source: /images/custom/Monster/1002 | |
| 106 | + | margin-top: 5 | |
| 107 | + | ||
| 108 | + | UIButton | |
| 109 | + | id: TEXT_1 | |
| 110 | + | size: 155 70 | |
| 111 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 112 | + | text-align: left | |
| 113 | + | anchors.top: parent.top | |
| 114 | + | anchors.left: parent.left | |
| 115 | + | margin-top: -8 | |
| 116 | + | margin-left: 70 | |
| 117 | + | ||
| 118 | + | UIButton | |
| 119 | + | id: STARSUM_1 | |
| 120 | + | image-source: /images/custom/UI/star_2 | |
| 121 | + | anchors.top: parent.top | |
| 122 | + | anchors.left: parent.left | |
| 123 | + | margin-top: 50 | |
| 124 | + | margin-left: 70 | |
| 125 | + | ||
| 126 | + | UIButton | |
| 127 | + | id: Monter2 | |
| 128 | + | margin-right: -17 | |
| 129 | + | image-source: /images/custom/UI/loot_3 | |
| 130 | + | margin-top: 5 | |
| 131 | + | ||
| 132 | + | UIButton | |
| 133 | + | id: IMGSUM_2 | |
| 134 | + | image-source: /images/custom/Monster/1002 | |
| 135 | + | margin-top: 5 | |
| 136 | + | ||
| 137 | + | UIButton | |
| 138 | + | id: TEXT_2 | |
| 139 | + | size: 155 70 | |
| 140 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 141 | + | text-align: left | |
| 142 | + | anchors.top: parent.top | |
| 143 | + | anchors.left: parent.left | |
| 144 | + | margin-top: -8 | |
| 145 | + | margin-left: 70 | |
| 146 | + | ||
| 147 | + | UIButton | |
| 148 | + | id: STARSUM_2 | |
| 149 | + | image-source: /images/custom/UI/star_2 | |
| 150 | + | anchors.top: parent.top | |
| 151 | + | anchors.left: parent.left | |
| 152 | + | margin-top: 50 | |
| 153 | + | margin-left: 70 | |
| 154 | + | ||
| 155 | + | UIButton | |
| 156 | + | id: Monter3 | |
| 157 | + | margin-right: -17 | |
| 158 | + | image-source: /images/custom/UI/loot_3 | |
| 159 | + | margin-top: 5 | |
| 160 | + | ||
| 161 | + | UIButton | |
| 162 | + | id: IMGSUM_3 | |
| 163 | + | image-source: /images/custom/Monster/1002 | |
| 164 | + | margin-top: 5 | |
| 165 | + | ||
| 166 | + | UIButton | |
| 167 | + | id: TEXT_3 | |
| 168 | + | size: 155 70 | |
| 169 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 170 | + | text-align: left | |
| 171 | + | anchors.top: parent.top | |
| 172 | + | anchors.left: parent.left | |
| 173 | + | margin-top: -8 | |
| 174 | + | margin-left: 70 | |
| 175 | + | ||
| 176 | + | UIButton | |
| 177 | + | id: STARSUM_3 | |
| 178 | + | image-source: /images/custom/UI/star_2 | |
| 179 | + | anchors.top: parent.top | |
| 180 | + | anchors.left: parent.left | |
| 181 | + | margin-top: 50 | |
| 182 | + | margin-left: 70 | |
| 183 | + | ||
| 184 | + | UIButton | |
| 185 | + | id: Monter4 | |
| 186 | + | margin-right: -17 | |
| 187 | + | image-source: /images/custom/UI/loot_3 | |
| 188 | + | margin-top: 5 | |
| 189 | + | ||
| 190 | + | UIButton | |
| 191 | + | id: IMGSUM_4 | |
| 192 | + | image-source: /images/custom/Monster/1002 | |
| 193 | + | margin-top: 5 | |
| 194 | + | ||
| 195 | + | UIButton | |
| 196 | + | id: TEXT_4 | |
| 197 | + | size: 155 70 | |
| 198 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 199 | + | text-align: left | |
| 200 | + | anchors.top: parent.top | |
| 201 | + | anchors.left: parent.left | |
| 202 | + | margin-top: -8 | |
| 203 | + | margin-left: 70 | |
| 204 | + | ||
| 205 | + | UIButton | |
| 206 | + | id: STARSUM_4 | |
| 207 | + | image-source: /images/custom/UI/star_2 | |
| 208 | + | anchors.top: parent.top | |
| 209 | + | anchors.left: parent.left | |
| 210 | + | margin-top: 50 | |
| 211 | + | margin-left: 70 | |
| 212 | + | ||
| 213 | + | UIButton | |
| 214 | + | id: Monter5 | |
| 215 | + | margin-right: -17 | |
| 216 | + | image-source: /images/custom/UI/loot_3 | |
| 217 | + | margin-top: 5 | |
| 218 | + | ||
| 219 | + | UIButton | |
| 220 | + | id: IMGSUM_5 | |
| 221 | + | image-source: /images/custom/Monster/1002 | |
| 222 | + | margin-top: 5 | |
| 223 | + | ||
| 224 | + | UIButton | |
| 225 | + | id: TEXT_5 | |
| 226 | + | size: 155 70 | |
| 227 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 228 | + | text-align: left | |
| 229 | + | anchors.top: parent.top | |
| 230 | + | anchors.left: parent.left | |
| 231 | + | margin-top: -8 | |
| 232 | + | margin-left: 70 | |
| 233 | + | ||
| 234 | + | UIButton | |
| 235 | + | id: STARSUM_5 | |
| 236 | + | image-source: /images/custom/UI/star_2 | |
| 237 | + | anchors.top: parent.top | |
| 238 | + | anchors.left: parent.left | |
| 239 | + | margin-top: 50 | |
| 240 | + | margin-left: 70 | |
| 241 | + | ||
| 242 | + | UIButton | |
| 243 | + | id: Monter6 | |
| 244 | + | margin-right: -17 | |
| 245 | + | image-source: /images/custom/UI/loot_3 | |
| 246 | + | margin-top: 5 | |
| 247 | + | ||
| 248 | + | UIButton | |
| 249 | + | id: IMGSUM_6 | |
| 250 | + | image-source: /images/custom/Monster/1002 | |
| 251 | + | margin-top: 5 | |
| 252 | + | ||
| 253 | + | UIButton | |
| 254 | + | id: TEXT_6 | |
| 255 | + | size: 155 70 | |
| 256 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 257 | + | text-align: left | |
| 258 | + | anchors.top: parent.top | |
| 259 | + | anchors.left: parent.left | |
| 260 | + | margin-top: -8 | |
| 261 | + | margin-left: 70 | |
| 262 | + | ||
| 263 | + | UIButton | |
| 264 | + | id: STARSUM_6 | |
| 265 | + | image-source: /images/custom/UI/star_2 | |
| 266 | + | anchors.top: parent.top | |
| 267 | + | anchors.left: parent.left | |
| 268 | + | margin-top: 50 | |
| 269 | + | margin-left: 70 | |
| 270 | + | ||
| 271 | + | UIButton | |
| 272 | + | id: Monter7 | |
| 273 | + | margin-right: -17 | |
| 274 | + | image-source: /images/custom/UI/loot_3 | |
| 275 | + | margin-top: 5 | |
| 276 | + | ||
| 277 | + | UIButton | |
| 278 | + | id: IMGSUM_7 | |
| 279 | + | image-source: /images/custom/Monster/1002 | |
| 280 | + | margin-top: 5 | |
| 281 | + | ||
| 282 | + | UIButton | |
| 283 | + | id: TEXT_7 | |
| 284 | + | size: 155 70 | |
| 285 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 286 | + | text-align: left | |
| 287 | + | anchors.top: parent.top | |
| 288 | + | anchors.left: parent.left | |
| 289 | + | margin-top: -8 | |
| 290 | + | margin-left: 70 | |
| 291 | + | ||
| 292 | + | UIButton | |
| 293 | + | id: STARSUM_7 | |
| 294 | + | image-source: /images/custom/UI/star_2 | |
| 295 | + | anchors.top: parent.top | |
| 296 | + | anchors.left: parent.left | |
| 297 | + | margin-top: 50 | |
| 298 | + | margin-left: 70 | |
| 299 | + | ||
| 300 | + | UIButton | |
| 301 | + | id: Monter8 | |
| 302 | + | margin-right: -17 | |
| 303 | + | image-source: /images/custom/UI/loot_3 | |
| 304 | + | margin-top: 5 | |
| 305 | + | ||
| 306 | + | UIButton | |
| 307 | + | id: IMGSUM_8 | |
| 308 | + | image-source: /images/custom/Monster/1002 | |
| 309 | + | margin-top: 5 | |
| 310 | + | ||
| 311 | + | UIButton | |
| 312 | + | id: TEXT_8 | |
| 313 | + | size: 155 70 | |
| 314 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 315 | + | text-align: left | |
| 316 | + | anchors.top: parent.top | |
| 317 | + | anchors.left: parent.left | |
| 318 | + | margin-top: -8 | |
| 319 | + | margin-left: 70 | |
| 320 | + | ||
| 321 | + | UIButton | |
| 322 | + | id: STARSUM_8 | |
| 323 | + | image-source: /images/custom/UI/star_2 | |
| 324 | + | anchors.top: parent.top | |
| 325 | + | anchors.left: parent.left | |
| 326 | + | margin-top: 50 | |
| 327 | + | margin-left: 70 | |
| 328 | + | ||
| 329 | + | UIButton | |
| 330 | + | id: Monter9 | |
| 331 | + | margin-right: -17 | |
| 332 | + | image-source: /images/custom/UI/loot_3 | |
| 333 | + | margin-top: 5 | |
| 334 | + | ||
| 335 | + | UIButton | |
| 336 | + | id: IMGSUM_9 | |
| 337 | + | image-source: /images/custom/Monster/1002 | |
| 338 | + | margin-top: 5 | |
| 339 | + | ||
| 340 | + | UIButton | |
| 341 | + | id: TEXT_9 | |
| 342 | + | size: 155 70 | |
| 343 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 344 | + | text-align: left | |
| 345 | + | anchors.top: parent.top | |
| 346 | + | anchors.left: parent.left | |
| 347 | + | margin-top: -8 | |
| 348 | + | margin-left: 70 | |
| 349 | + | ||
| 350 | + | UIButton | |
| 351 | + | id: STARSUM_9 | |
| 352 | + | image-source: /images/custom/UI/star_2 | |
| 353 | + | anchors.top: parent.top | |
| 354 | + | anchors.left: parent.left | |
| 355 | + | margin-top: 50 | |
| 356 | + | margin-left: 70 | |
| 357 | + | ||
| 358 | + | UIButton | |
| 359 | + | id: Monter10 | |
| 360 | + | margin-right: -17 | |
| 361 | + | image-source: /images/custom/UI/loot_3 | |
| 362 | + | margin-top: 5 | |
| 363 | + | ||
| 364 | + | UIButton | |
| 365 | + | id: IMGSUM_10 | |
| 366 | + | image-source: /images/custom/Monster/1002 | |
| 367 | + | margin-top: 5 | |
| 368 | + | ||
| 369 | + | UIButton | |
| 370 | + | id: TEXT_10 | |
| 371 | + | size: 155 70 | |
| 372 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 373 | + | text-align: left | |
| 374 | + | anchors.top: parent.top | |
| 375 | + | anchors.left: parent.left | |
| 376 | + | margin-top: -8 | |
| 377 | + | margin-left: 70 | |
| 378 | + | ||
| 379 | + | UIButton | |
| 380 | + | id: STARSUM_10 | |
| 381 | + | image-source: /images/custom/UI/star_2 | |
| 382 | + | anchors.top: parent.top | |
| 383 | + | anchors.left: parent.left | |
| 384 | + | margin-top: 50 | |
| 385 | + | margin-left: 70 | |
| 386 | + | ||
| 387 | + | UIButton | |
| 388 | + | id: Monter11 | |
| 389 | + | margin-right: -17 | |
| 390 | + | image-source: /images/custom/UI/loot_3 | |
| 391 | + | margin-top: 5 | |
| 392 | + | ||
| 393 | + | UIButton | |
| 394 | + | id: IMGSUM_11 | |
| 395 | + | image-source: /images/custom/Monster/1002 | |
| 396 | + | margin-top: 5 | |
| 397 | + | ||
| 398 | + | UIButton | |
| 399 | + | id: TEXT_11 | |
| 400 | + | size: 155 70 | |
| 401 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 402 | + | text-align: left | |
| 403 | + | anchors.top: parent.top | |
| 404 | + | anchors.left: parent.left | |
| 405 | + | margin-top: -8 | |
| 406 | + | margin-left: 70 | |
| 407 | + | ||
| 408 | + | UIButton | |
| 409 | + | id: STARSUM_11 | |
| 410 | + | image-source: /images/custom/UI/star_2 | |
| 411 | + | anchors.top: parent.top | |
| 412 | + | anchors.left: parent.left | |
| 413 | + | margin-top: 50 | |
| 414 | + | margin-left: 70 | |
| 415 | + | ||
| 416 | + | UIButton | |
| 417 | + | id: Monter12 | |
| 418 | + | margin-right: -17 | |
| 419 | + | image-source: /images/custom/UI/loot_3 | |
| 420 | + | margin-top: 5 | |
| 421 | + | ||
| 422 | + | UIButton | |
| 423 | + | id: IMGSUM_12 | |
| 424 | + | image-source: /images/custom/Monster/1002 | |
| 425 | + | margin-top: 5 | |
| 426 | + | ||
| 427 | + | UIButton | |
| 428 | + | id: TEXT_12 | |
| 429 | + | size: 155 70 | |
| 430 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 431 | + | text-align: left | |
| 432 | + | anchors.top: parent.top | |
| 433 | + | anchors.left: parent.left | |
| 434 | + | margin-top: -8 | |
| 435 | + | margin-left: 70 | |
| 436 | + | ||
| 437 | + | UIButton | |
| 438 | + | id: STARSUM_12 | |
| 439 | + | image-source: /images/custom/UI/star_2 | |
| 440 | + | anchors.top: parent.top | |
| 441 | + | anchors.left: parent.left | |
| 442 | + | margin-top: 50 | |
| 443 | + | margin-left: 70 | |
| 444 | + | ||
| 445 | + | UIButton | |
| 446 | + | id: Monter13 | |
| 447 | + | margin-right: -17 | |
| 448 | + | image-source: /images/custom/UI/loot_3 | |
| 449 | + | margin-top: 5 | |
| 450 | + | ||
| 451 | + | UIButton | |
| 452 | + | id: IMGSUM_13 | |
| 453 | + | image-source: /images/custom/Monster/1002 | |
| 454 | + | margin-top: 5 | |
| 455 | + | ||
| 456 | + | UIButton | |
| 457 | + | id: TEXT_13 | |
| 458 | + | size: 155 70 | |
| 459 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 460 | + | text-align: left | |
| 461 | + | anchors.top: parent.top | |
| 462 | + | anchors.left: parent.left | |
| 463 | + | margin-top: -8 | |
| 464 | + | margin-left: 70 | |
| 465 | + | ||
| 466 | + | UIButton | |
| 467 | + | id: STARSUM_13 | |
| 468 | + | image-source: /images/custom/UI/star_2 | |
| 469 | + | anchors.top: parent.top | |
| 470 | + | anchors.left: parent.left | |
| 471 | + | margin-top: 50 | |
| 472 | + | margin-left: 70 | |
| 473 | + | ||
| 474 | + | UIButton | |
| 475 | + | id: Monter14 | |
| 476 | + | margin-right: -17 | |
| 477 | + | image-source: /images/custom/UI/loot_3 | |
| 478 | + | margin-top: 5 | |
| 479 | + | ||
| 480 | + | UIButton | |
| 481 | + | id: IMGSUM_14 | |
| 482 | + | image-source: /images/custom/Monster/1002 | |
| 483 | + | margin-top: 5 | |
| 484 | + | ||
| 485 | + | UIButton | |
| 486 | + | id: TEXT_14 | |
| 487 | + | size: 155 70 | |
| 488 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 489 | + | text-align: left | |
| 490 | + | anchors.top: parent.top | |
| 491 | + | anchors.left: parent.left | |
| 492 | + | margin-top: -8 | |
| 493 | + | margin-left: 70 | |
| 494 | + | ||
| 495 | + | UIButton | |
| 496 | + | id: STARSUM_14 | |
| 497 | + | image-source: /images/custom/UI/star_2 | |
| 498 | + | anchors.top: parent.top | |
| 499 | + | anchors.left: parent.left | |
| 500 | + | margin-top: 50 | |
| 501 | + | margin-left: 70 | |
| 502 | + | ||
| 503 | + | UIButton | |
| 504 | + | id: Monter15 | |
| 505 | + | margin-right: -17 | |
| 506 | + | image-source: /images/custom/UI/loot_3 | |
| 507 | + | margin-top: 5 | |
| 508 | + | ||
| 509 | + | UIButton | |
| 510 | + | id: IMGSUM_15 | |
| 511 | + | image-source: /images/custom/Monster/1002 | |
| 512 | + | margin-top: 5 | |
| 513 | + | ||
| 514 | + | UIButton | |
| 515 | + | id: TEXT_15 | |
| 516 | + | size: 155 70 | |
| 517 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 518 | + | text-align: left | |
| 519 | + | anchors.top: parent.top | |
| 520 | + | anchors.left: parent.left | |
| 521 | + | margin-top: -8 | |
| 522 | + | margin-left: 70 | |
| 523 | + | ||
| 524 | + | UIButton | |
| 525 | + | id: STARSUM_15 | |
| 526 | + | image-source: /images/custom/UI/star_2 | |
| 527 | + | anchors.top: parent.top | |
| 528 | + | anchors.left: parent.left | |
| 529 | + | margin-top: 50 | |
| 530 | + | margin-left: 70 | |
| 531 | + | ||
| 532 | + | UIButton | |
| 533 | + | id: Monter16 | |
| 534 | + | margin-right: -17 | |
| 535 | + | image-source: /images/custom/UI/loot_3 | |
| 536 | + | margin-top: 5 | |
| 537 | + | ||
| 538 | + | UIButton | |
| 539 | + | id: IMGSUM_16 | |
| 540 | + | image-source: /images/custom/Monster/1002 | |
| 541 | + | margin-top: 5 | |
| 542 | + | ||
| 543 | + | UIButton | |
| 544 | + | id: TEXT_16 | |
| 545 | + | size: 155 70 | |
| 546 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 547 | + | text-align: left | |
| 548 | + | anchors.top: parent.top | |
| 549 | + | anchors.left: parent.left | |
| 550 | + | margin-top: -8 | |
| 551 | + | margin-left: 70 | |
| 552 | + | ||
| 553 | + | UIButton | |
| 554 | + | id: STARSUM_16 | |
| 555 | + | image-source: /images/custom/UI/star_2 | |
| 556 | + | anchors.top: parent.top | |
| 557 | + | anchors.left: parent.left | |
| 558 | + | margin-top: 50 | |
| 559 | + | margin-left: 70 | |
| 560 | + | ||
| 561 | + | UIButton | |
| 562 | + | id: Monter17 | |
| 563 | + | margin-right: -17 | |
| 564 | + | image-source: /images/custom/UI/loot_3 | |
| 565 | + | margin-top: 5 | |
| 566 | + | ||
| 567 | + | UIButton | |
| 568 | + | id: IMGSUM_17 | |
| 569 | + | image-source: /images/custom/Monster/1002 | |
| 570 | + | margin-top: 5 | |
| 571 | + | ||
| 572 | + | UIButton | |
| 573 | + | id: TEXT_17 | |
| 574 | + | size: 155 70 | |
| 575 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 576 | + | text-align: left | |
| 577 | + | anchors.top: parent.top | |
| 578 | + | anchors.left: parent.left | |
| 579 | + | margin-top: -8 | |
| 580 | + | margin-left: 70 | |
| 581 | + | ||
| 582 | + | UIButton | |
| 583 | + | id: STARSUM_17 | |
| 584 | + | image-source: /images/custom/UI/star_2 | |
| 585 | + | anchors.top: parent.top | |
| 586 | + | anchors.left: parent.left | |
| 587 | + | margin-top: 50 | |
| 588 | + | margin-left: 70 | |
| 589 | + | ||
| 590 | + | UIButton | |
| 591 | + | id: Monter18 | |
| 592 | + | margin-right: -17 | |
| 593 | + | image-source: /images/custom/UI/loot_3 | |
| 594 | + | margin-top: 5 | |
| 595 | + | ||
| 596 | + | UIButton | |
| 597 | + | id: IMGSUM_18 | |
| 598 | + | image-source: /images/custom/Monster/1002 | |
| 599 | + | margin-top: 5 | |
| 600 | + | ||
| 601 | + | UIButton | |
| 602 | + | id: TEXT_18 | |
| 603 | + | size: 155 70 | |
| 604 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 605 | + | text-align: left | |
| 606 | + | anchors.top: parent.top | |
| 607 | + | anchors.left: parent.left | |
| 608 | + | margin-top: -8 | |
| 609 | + | margin-left: 70 | |
| 610 | + | ||
| 611 | + | UIButton | |
| 612 | + | id: STARSUM_18 | |
| 613 | + | image-source: /images/custom/UI/star_2 | |
| 614 | + | anchors.top: parent.top | |
| 615 | + | anchors.left: parent.left | |
| 616 | + | margin-top: 50 | |
| 617 | + | margin-left: 70 | |
| 618 | + | ||
| 619 | + | UIButton | |
| 620 | + | id: Monter19 | |
| 621 | + | margin-right: -17 | |
| 622 | + | image-source: /images/custom/UI/loot_3 | |
| 623 | + | margin-top: 5 | |
| 624 | + | ||
| 625 | + | UIButton | |
| 626 | + | id: IMGSUM_19 | |
| 627 | + | image-source: /images/custom/Monster/1002 | |
| 628 | + | margin-top: 5 | |
| 629 | + | ||
| 630 | + | UIButton | |
| 631 | + | id: TEXT_19 | |
| 632 | + | size: 155 70 | |
| 633 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 634 | + | text-align: left | |
| 635 | + | anchors.top: parent.top | |
| 636 | + | anchors.left: parent.left | |
| 637 | + | margin-top: -8 | |
| 638 | + | margin-left: 70 | |
| 639 | + | ||
| 640 | + | UIButton | |
| 641 | + | id: STARSUM_19 | |
| 642 | + | image-source: /images/custom/UI/star_2 | |
| 643 | + | anchors.top: parent.top | |
| 644 | + | anchors.left: parent.left | |
| 645 | + | margin-top: 50 | |
| 646 | + | margin-left: 70 | |
| 647 | + | ||
| 648 | + | UIButton | |
| 649 | + | id: Monter20 | |
| 650 | + | margin-right: -17 | |
| 651 | + | image-source: /images/custom/UI/loot_3 | |
| 652 | + | margin-top: 5 | |
| 653 | + | ||
| 654 | + | UIButton | |
| 655 | + | id: IMGSUM_20 | |
| 656 | + | image-source: /images/custom/Monster/1002 | |
| 657 | + | margin-top: 5 | |
| 658 | + | ||
| 659 | + | UIButton | |
| 660 | + | id: TEXT_20 | |
| 661 | + | size: 155 70 | |
| 662 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 663 | + | text-align: left | |
| 664 | + | anchors.top: parent.top | |
| 665 | + | anchors.left: parent.left | |
| 666 | + | margin-top: -8 | |
| 667 | + | margin-left: 70 | |
| 668 | + | ||
| 669 | + | UIButton | |
| 670 | + | id: STARSUM_20 | |
| 671 | + | image-source: /images/custom/UI/star_2 | |
| 672 | + | anchors.top: parent.top | |
| 673 | + | anchors.left: parent.left | |
| 674 | + | margin-top: 50 | |
| 675 | + | margin-left: 70 | |
| 676 | + | ||
| 677 | + | UIButton | |
| 678 | + | id: Monter21 | |
| 679 | + | margin-right: -17 | |
| 680 | + | image-source: /images/custom/UI/loot_3 | |
| 681 | + | margin-top: 5 | |
| 682 | + | ||
| 683 | + | UIButton | |
| 684 | + | id: IMGSUM_21 | |
| 685 | + | image-source: /images/custom/Monster/1002 | |
| 686 | + | margin-top: 5 | |
| 687 | + | ||
| 688 | + | UIButton | |
| 689 | + | id: TEXT_21 | |
| 690 | + | size: 155 70 | |
| 691 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 692 | + | text-align: left | |
| 693 | + | anchors.top: parent.top | |
| 694 | + | anchors.left: parent.left | |
| 695 | + | margin-top: -8 | |
| 696 | + | margin-left: 70 | |
| 697 | + | ||
| 698 | + | UIButton | |
| 699 | + | id: STARSUM_21 | |
| 700 | + | image-source: /images/custom/UI/star_2 | |
| 701 | + | anchors.top: parent.top | |
| 702 | + | anchors.left: parent.left | |
| 703 | + | margin-top: 50 | |
| 704 | + | margin-left: 70 | |
| 705 | + | ||
| 706 | + | UIButton | |
| 707 | + | id: Monter22 | |
| 708 | + | margin-right: -17 | |
| 709 | + | image-source: /images/custom/UI/loot_3 | |
| 710 | + | margin-top: 5 | |
| 711 | + | ||
| 712 | + | UIButton | |
| 713 | + | id: IMGSUM_22 | |
| 714 | + | image-source: /images/custom/Monster/1002 | |
| 715 | + | margin-top: 5 | |
| 716 | + | ||
| 717 | + | UIButton | |
| 718 | + | id: TEXT_22 | |
| 719 | + | size: 155 70 | |
| 720 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 721 | + | text-align: left | |
| 722 | + | anchors.top: parent.top | |
| 723 | + | anchors.left: parent.left | |
| 724 | + | margin-top: -8 | |
| 725 | + | margin-left: 70 | |
| 726 | + | ||
| 727 | + | UIButton | |
| 728 | + | id: STARSUM_22 | |
| 729 | + | image-source: /images/custom/UI/star_2 | |
| 730 | + | anchors.top: parent.top | |
| 731 | + | anchors.left: parent.left | |
| 732 | + | margin-top: 50 | |
| 733 | + | margin-left: 70 | |
| 734 | + | ||
| 735 | + | UIButton | |
| 736 | + | id: Monter23 | |
| 737 | + | margin-right: -17 | |
| 738 | + | image-source: /images/custom/UI/loot_3 | |
| 739 | + | margin-top: 5 | |
| 740 | + | ||
| 741 | + | UIButton | |
| 742 | + | id: IMGSUM_23 | |
| 743 | + | image-source: /images/custom/Monster/1002 | |
| 744 | + | margin-top: 5 | |
| 745 | + | ||
| 746 | + | UIButton | |
| 747 | + | id: TEXT_23 | |
| 748 | + | size: 155 70 | |
| 749 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 750 | + | text-align: left | |
| 751 | + | anchors.top: parent.top | |
| 752 | + | anchors.left: parent.left | |
| 753 | + | margin-top: -8 | |
| 754 | + | margin-left: 70 | |
| 755 | + | ||
| 756 | + | UIButton | |
| 757 | + | id: STARSUM_23 | |
| 758 | + | image-source: /images/custom/UI/star_2 | |
| 759 | + | anchors.top: parent.top | |
| 760 | + | anchors.left: parent.left | |
| 761 | + | margin-top: 50 | |
| 762 | + | margin-left: 70 | |
| 763 | + | ||
| 764 | + | UIButton | |
| 765 | + | id: Monter24 | |
| 766 | + | margin-right: -17 | |
| 767 | + | image-source: /images/custom/UI/loot_3 | |
| 768 | + | margin-top: 5 | |
| 769 | + | ||
| 770 | + | UIButton | |
| 771 | + | id: IMGSUM_24 | |
| 772 | + | image-source: /images/custom/Monster/1002 | |
| 773 | + | margin-top: 5 | |
| 774 | + | ||
| 775 | + | UIButton | |
| 776 | + | id: TEXT_24 | |
| 777 | + | size: 155 70 | |
| 778 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 779 | + | text-align: left | |
| 780 | + | anchors.top: parent.top | |
| 781 | + | anchors.left: parent.left | |
| 782 | + | margin-top: -8 | |
| 783 | + | margin-left: 70 | |
| 784 | + | ||
| 785 | + | UIButton | |
| 786 | + | id: STARSUM_24 | |
| 787 | + | image-source: /images/custom/UI/star_2 | |
| 788 | + | anchors.top: parent.top | |
| 789 | + | anchors.left: parent.left | |
| 790 | + | margin-top: 50 | |
| 791 | + | margin-left: 70 | |
| 792 | + | ||
| 793 | + | UIButton | |
| 794 | + | id: Monter25 | |
| 795 | + | margin-right: -17 | |
| 796 | + | image-source: /images/custom/UI/loot_3 | |
| 797 | + | margin-top: 5 | |
| 798 | + | ||
| 799 | + | UIButton | |
| 800 | + | id: IMGSUM_25 | |
| 801 | + | image-source: /images/custom/Monster/1002 | |
| 802 | + | margin-top: 5 | |
| 803 | + | ||
| 804 | + | UIButton | |
| 805 | + | id: TEXT_25 | |
| 806 | + | size: 155 70 | |
| 807 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 808 | + | text-align: left | |
| 809 | + | anchors.top: parent.top | |
| 810 | + | anchors.left: parent.left | |
| 811 | + | margin-top: -8 | |
| 812 | + | margin-left: 70 | |
| 813 | + | ||
| 814 | + | UIButton | |
| 815 | + | id: STARSUM_25 | |
| 816 | + | image-source: /images/custom/UI/star_2 | |
| 817 | + | anchors.top: parent.top | |
| 818 | + | anchors.left: parent.left | |
| 819 | + | margin-top: 50 | |
| 820 | + | margin-left: 70 | |
| 821 | + | ||
| 822 | + | UIButton | |
| 823 | + | id: Monter26 | |
| 824 | + | margin-right: -17 | |
| 825 | + | image-source: /images/custom/UI/loot_3 | |
| 826 | + | margin-top: 5 | |
| 827 | + | ||
| 828 | + | UIButton | |
| 829 | + | id: IMGSUM_26 | |
| 830 | + | image-source: /images/custom/Monster/1002 | |
| 831 | + | margin-top: 5 | |
| 832 | + | ||
| 833 | + | UIButton | |
| 834 | + | id: TEXT_26 | |
| 835 | + | size: 155 70 | |
| 836 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 837 | + | text-align: left | |
| 838 | + | anchors.top: parent.top | |
| 839 | + | anchors.left: parent.left | |
| 840 | + | margin-top: -8 | |
| 841 | + | margin-left: 70 | |
| 842 | + | ||
| 843 | + | UIButton | |
| 844 | + | id: STARSUM_26 | |
| 845 | + | image-source: /images/custom/UI/star_2 | |
| 846 | + | anchors.top: parent.top | |
| 847 | + | anchors.left: parent.left | |
| 848 | + | margin-top: 50 | |
| 849 | + | margin-left: 70 | |
| 850 | + | ||
| 851 | + | UIButton | |
| 852 | + | id: Monter27 | |
| 853 | + | margin-right: -17 | |
| 854 | + | image-source: /images/custom/UI/loot_3 | |
| 855 | + | margin-top: 5 | |
| 856 | + | ||
| 857 | + | UIButton | |
| 858 | + | id: IMGSUM_27 | |
| 859 | + | image-source: /images/custom/Monster/1002 | |
| 860 | + | margin-top: 5 | |
| 861 | + | ||
| 862 | + | UIButton | |
| 863 | + | id: TEXT_27 | |
| 864 | + | size: 155 70 | |
| 865 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 866 | + | text-align: left | |
| 867 | + | anchors.top: parent.top | |
| 868 | + | anchors.left: parent.left | |
| 869 | + | margin-top: -8 | |
| 870 | + | margin-left: 70 | |
| 871 | + | ||
| 872 | + | UIButton | |
| 873 | + | id: STARSUM_27 | |
| 874 | + | image-source: /images/custom/UI/star_2 | |
| 875 | + | anchors.top: parent.top | |
| 876 | + | anchors.left: parent.left | |
| 877 | + | margin-top: 50 | |
| 878 | + | margin-left: 70 | |
| 879 | + | ||
| 880 | + | UIButton | |
| 881 | + | id: Monter28 | |
| 882 | + | margin-right: -17 | |
| 883 | + | image-source: /images/custom/UI/loot_3 | |
| 884 | + | margin-top: 5 | |
| 885 | + | ||
| 886 | + | UIButton | |
| 887 | + | id: IMGSUM_28 | |
| 888 | + | image-source: /images/custom/Monster/1002 | |
| 889 | + | margin-top: 5 | |
| 890 | + | ||
| 891 | + | UIButton | |
| 892 | + | id: TEXT_28 | |
| 893 | + | size: 155 70 | |
| 894 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 895 | + | text-align: left | |
| 896 | + | anchors.top: parent.top | |
| 897 | + | anchors.left: parent.left | |
| 898 | + | margin-top: -8 | |
| 899 | + | margin-left: 70 | |
| 900 | + | ||
| 901 | + | UIButton | |
| 902 | + | id: STARSUM_28 | |
| 903 | + | image-source: /images/custom/UI/star_2 | |
| 904 | + | anchors.top: parent.top | |
| 905 | + | anchors.left: parent.left | |
| 906 | + | margin-top: 50 | |
| 907 | + | margin-left: 70 | |
| 908 | + | ||
| 909 | + | UIButton | |
| 910 | + | id: Monter29 | |
| 911 | + | margin-right: -17 | |
| 912 | + | image-source: /images/custom/UI/loot_3 | |
| 913 | + | margin-top: 5 | |
| 914 | + | ||
| 915 | + | UIButton | |
| 916 | + | id: IMGSUM_29 | |
| 917 | + | image-source: /images/custom/Monster/1002 | |
| 918 | + | margin-top: 5 | |
| 919 | + | ||
| 920 | + | UIButton | |
| 921 | + | id: TEXT_29 | |
| 922 | + | size: 155 70 | |
| 923 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 924 | + | text-align: left | |
| 925 | + | anchors.top: parent.top | |
| 926 | + | anchors.left: parent.left | |
| 927 | + | margin-top: -8 | |
| 928 | + | margin-left: 70 | |
| 929 | + | ||
| 930 | + | UIButton | |
| 931 | + | id: STARSUM_29 | |
| 932 | + | image-source: /images/custom/UI/star_2 | |
| 933 | + | anchors.top: parent.top | |
| 934 | + | anchors.left: parent.left | |
| 935 | + | margin-top: 50 | |
| 936 | + | margin-left: 70 | |
| 937 | + | ||
| 938 | + | UIButton | |
| 939 | + | id: Monter30 | |
| 940 | + | margin-right: -17 | |
| 941 | + | image-source: /images/custom/UI/loot_3 | |
| 942 | + | margin-top: 5 | |
| 943 | + | ||
| 944 | + | UIButton | |
| 945 | + | id: IMGSUM_30 | |
| 946 | + | image-source: /images/custom/Monster/1002 | |
| 947 | + | margin-top: 5 | |
| 948 | + | ||
| 949 | + | UIButton | |
| 950 | + | id: TEXT_30 | |
| 951 | + | size: 155 70 | |
| 952 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 953 | + | text-align: left | |
| 954 | + | anchors.top: parent.top | |
| 955 | + | anchors.left: parent.left | |
| 956 | + | margin-top: -8 | |
| 957 | + | margin-left: 70 | |
| 958 | + | ||
| 959 | + | UIButton | |
| 960 | + | id: STARSUM_30 | |
| 961 | + | image-source: /images/custom/UI/star_2 | |
| 962 | + | anchors.top: parent.top | |
| 963 | + | anchors.left: parent.left | |
| 964 | + | margin-top: 50 | |
| 965 | + | margin-left: 70 | |
| 966 | + | ||
| 967 | + | UIButton | |
| 968 | + | id: Monter31 | |
| 969 | + | margin-right: -17 | |
| 970 | + | image-source: /images/custom/UI/loot_3 | |
| 971 | + | margin-top: 5 | |
| 972 | + | ||
| 973 | + | UIButton | |
| 974 | + | id: IMGSUM_31 | |
| 975 | + | image-source: /images/custom/Monster/1002 | |
| 976 | + | margin-top: 5 | |
| 977 | + | ||
| 978 | + | UIButton | |
| 979 | + | id: TEXT_31 | |
| 980 | + | size: 155 70 | |
| 981 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 982 | + | text-align: left | |
| 983 | + | anchors.top: parent.top | |
| 984 | + | anchors.left: parent.left | |
| 985 | + | margin-top: -8 | |
| 986 | + | margin-left: 70 | |
| 987 | + | ||
| 988 | + | UIButton | |
| 989 | + | id: STARSUM_31 | |
| 990 | + | image-source: /images/custom/UI/star_2 | |
| 991 | + | anchors.top: parent.top | |
| 992 | + | anchors.left: parent.left | |
| 993 | + | margin-top: 50 | |
| 994 | + | margin-left: 70 | |
| 995 | + | ||
| 996 | + | UIButton | |
| 997 | + | id: Monter32 | |
| 998 | + | margin-right: -17 | |
| 999 | + | image-source: /images/custom/UI/loot_3 | |
| 1000 | + | margin-top: 5 | |
| 1001 | + | ||
| 1002 | + | UIButton | |
| 1003 | + | id: IMGSUM_32 | |
| 1004 | + | image-source: /images/custom/Monster/1002 | |
| 1005 | + | margin-top: 5 | |
| 1006 | + | ||
| 1007 | + | UIButton | |
| 1008 | + | id: TEXT_32 | |
| 1009 | + | size: 155 70 | |
| 1010 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1011 | + | text-align: left | |
| 1012 | + | anchors.top: parent.top | |
| 1013 | + | anchors.left: parent.left | |
| 1014 | + | margin-top: -8 | |
| 1015 | + | margin-left: 70 | |
| 1016 | + | ||
| 1017 | + | UIButton | |
| 1018 | + | id: STARSUM_32 | |
| 1019 | + | image-source: /images/custom/UI/star_2 | |
| 1020 | + | anchors.top: parent.top | |
| 1021 | + | anchors.left: parent.left | |
| 1022 | + | margin-top: 50 | |
| 1023 | + | margin-left: 70 | |
| 1024 | + | ||
| 1025 | + | UIButton | |
| 1026 | + | id: Monter33 | |
| 1027 | + | margin-right: -17 | |
| 1028 | + | image-source: /images/custom/UI/loot_3 | |
| 1029 | + | margin-top: 5 | |
| 1030 | + | ||
| 1031 | + | UIButton | |
| 1032 | + | id: IMGSUM_33 | |
| 1033 | + | image-source: /images/custom/Monster/1002 | |
| 1034 | + | margin-top: 5 | |
| 1035 | + | ||
| 1036 | + | UIButton | |
| 1037 | + | id: TEXT_33 | |
| 1038 | + | size: 155 70 | |
| 1039 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1040 | + | text-align: left | |
| 1041 | + | anchors.top: parent.top | |
| 1042 | + | anchors.left: parent.left | |
| 1043 | + | margin-top: -8 | |
| 1044 | + | margin-left: 70 | |
| 1045 | + | ||
| 1046 | + | UIButton | |
| 1047 | + | id: STARSUM_33 | |
| 1048 | + | image-source: /images/custom/UI/star_2 | |
| 1049 | + | anchors.top: parent.top | |
| 1050 | + | anchors.left: parent.left | |
| 1051 | + | margin-top: 50 | |
| 1052 | + | margin-left: 70 | |
| 1053 | + | ||
| 1054 | + | UIButton | |
| 1055 | + | id: Monter34 | |
| 1056 | + | margin-right: -17 | |
| 1057 | + | image-source: /images/custom/UI/loot_3 | |
| 1058 | + | margin-top: 5 | |
| 1059 | + | ||
| 1060 | + | UIButton | |
| 1061 | + | id: IMGSUM_34 | |
| 1062 | + | image-source: /images/custom/Monster/1002 | |
| 1063 | + | margin-top: 5 | |
| 1064 | + | ||
| 1065 | + | UIButton | |
| 1066 | + | id: TEXT_34 | |
| 1067 | + | size: 155 70 | |
| 1068 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1069 | + | text-align: left | |
| 1070 | + | anchors.top: parent.top | |
| 1071 | + | anchors.left: parent.left | |
| 1072 | + | margin-top: -8 | |
| 1073 | + | margin-left: 70 | |
| 1074 | + | ||
| 1075 | + | UIButton | |
| 1076 | + | id: STARSUM_34 | |
| 1077 | + | image-source: /images/custom/UI/star_2 | |
| 1078 | + | anchors.top: parent.top | |
| 1079 | + | anchors.left: parent.left | |
| 1080 | + | margin-top: 50 | |
| 1081 | + | margin-left: 70 | |
| 1082 | + | ||
| 1083 | + | UIButton | |
| 1084 | + | id: Monter35 | |
| 1085 | + | margin-right: -17 | |
| 1086 | + | image-source: /images/custom/UI/loot_3 | |
| 1087 | + | margin-top: 5 | |
| 1088 | + | ||
| 1089 | + | UIButton | |
| 1090 | + | id: IMGSUM_35 | |
| 1091 | + | image-source: /images/custom/Monster/1002 | |
| 1092 | + | margin-top: 5 | |
| 1093 | + | ||
| 1094 | + | UIButton | |
| 1095 | + | id: TEXT_35 | |
| 1096 | + | size: 155 70 | |
| 1097 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1098 | + | text-align: left | |
| 1099 | + | anchors.top: parent.top | |
| 1100 | + | anchors.left: parent.left | |
| 1101 | + | margin-top: -8 | |
| 1102 | + | margin-left: 70 | |
| 1103 | + | ||
| 1104 | + | UIButton | |
| 1105 | + | id: STARSUM_35 | |
| 1106 | + | image-source: /images/custom/UI/star_2 | |
| 1107 | + | anchors.top: parent.top | |
| 1108 | + | anchors.left: parent.left | |
| 1109 | + | margin-top: 50 | |
| 1110 | + | margin-left: 70 | |
| 1111 | + | ||
| 1112 | + | UIButton | |
| 1113 | + | id: Monter36 | |
| 1114 | + | margin-right: -17 | |
| 1115 | + | image-source: /images/custom/UI/loot_3 | |
| 1116 | + | margin-top: 5 | |
| 1117 | + | ||
| 1118 | + | UIButton | |
| 1119 | + | id: IMGSUM_36 | |
| 1120 | + | image-source: /images/custom/Monster/1002 | |
| 1121 | + | margin-top: 5 | |
| 1122 | + | ||
| 1123 | + | UIButton | |
| 1124 | + | id: TEXT_36 | |
| 1125 | + | size: 155 70 | |
| 1126 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1127 | + | text-align: left | |
| 1128 | + | anchors.top: parent.top | |
| 1129 | + | anchors.left: parent.left | |
| 1130 | + | margin-top: -8 | |
| 1131 | + | margin-left: 70 | |
| 1132 | + | ||
| 1133 | + | UIButton | |
| 1134 | + | id: STARSUM_36 | |
| 1135 | + | image-source: /images/custom/UI/star_2 | |
| 1136 | + | anchors.top: parent.top | |
| 1137 | + | anchors.left: parent.left | |
| 1138 | + | margin-top: 50 | |
| 1139 | + | margin-left: 70 | |
| 1140 | + | ||
| 1141 | + | UIButton | |
| 1142 | + | id: Monter37 | |
| 1143 | + | margin-right: -17 | |
| 1144 | + | image-source: /images/custom/UI/loot_3 | |
| 1145 | + | margin-top: 5 | |
| 1146 | + | ||
| 1147 | + | UIButton | |
| 1148 | + | id: IMGSUM_37 | |
| 1149 | + | image-source: /images/custom/Monster/1002 | |
| 1150 | + | margin-top: 5 | |
| 1151 | + | ||
| 1152 | + | UIButton | |
| 1153 | + | id: TEXT_37 | |
| 1154 | + | size: 155 70 | |
| 1155 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1156 | + | text-align: left | |
| 1157 | + | anchors.top: parent.top | |
| 1158 | + | anchors.left: parent.left | |
| 1159 | + | margin-top: -8 | |
| 1160 | + | margin-left: 70 | |
| 1161 | + | ||
| 1162 | + | UIButton | |
| 1163 | + | id: STARSUM_37 | |
| 1164 | + | image-source: /images/custom/UI/star_2 | |
| 1165 | + | anchors.top: parent.top | |
| 1166 | + | anchors.left: parent.left | |
| 1167 | + | margin-top: 50 | |
| 1168 | + | margin-left: 70 | |
| 1169 | + | ||
| 1170 | + | UIButton | |
| 1171 | + | id: Monter38 | |
| 1172 | + | margin-right: -17 | |
| 1173 | + | image-source: /images/custom/UI/loot_3 | |
| 1174 | + | margin-top: 5 | |
| 1175 | + | ||
| 1176 | + | UIButton | |
| 1177 | + | id: IMGSUM_38 | |
| 1178 | + | image-source: /images/custom/Monster/1002 | |
| 1179 | + | margin-top: 5 | |
| 1180 | + | ||
| 1181 | + | UIButton | |
| 1182 | + | id: TEXT_38 | |
| 1183 | + | size: 155 70 | |
| 1184 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1185 | + | text-align: left | |
| 1186 | + | anchors.top: parent.top | |
| 1187 | + | anchors.left: parent.left | |
| 1188 | + | margin-top: -8 | |
| 1189 | + | margin-left: 70 | |
| 1190 | + | ||
| 1191 | + | UIButton | |
| 1192 | + | id: STARSUM_38 | |
| 1193 | + | image-source: /images/custom/UI/star_2 | |
| 1194 | + | anchors.top: parent.top | |
| 1195 | + | anchors.left: parent.left | |
| 1196 | + | margin-top: 50 | |
| 1197 | + | margin-left: 70 | |
| 1198 | + | ||
| 1199 | + | UIButton | |
| 1200 | + | id: Monter39 | |
| 1201 | + | margin-right: -17 | |
| 1202 | + | image-source: /images/custom/UI/loot_3 | |
| 1203 | + | margin-top: 5 | |
| 1204 | + | ||
| 1205 | + | UIButton | |
| 1206 | + | id: IMGSUM_39 | |
| 1207 | + | image-source: /images/custom/Monster/1002 | |
| 1208 | + | margin-top: 5 | |
| 1209 | + | ||
| 1210 | + | UIButton | |
| 1211 | + | id: TEXT_39 | |
| 1212 | + | size: 155 70 | |
| 1213 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1214 | + | text-align: left | |
| 1215 | + | anchors.top: parent.top | |
| 1216 | + | anchors.left: parent.left | |
| 1217 | + | margin-top: -8 | |
| 1218 | + | margin-left: 70 | |
| 1219 | + | ||
| 1220 | + | UIButton | |
| 1221 | + | id: STARSUM_39 | |
| 1222 | + | image-source: /images/custom/UI/star_2 | |
| 1223 | + | anchors.top: parent.top | |
| 1224 | + | anchors.left: parent.left | |
| 1225 | + | margin-top: 50 | |
| 1226 | + | margin-left: 70 | |
| 1227 | + | ||
| 1228 | + | UIButton | |
| 1229 | + | id: Monter40 | |
| 1230 | + | margin-right: -17 | |
| 1231 | + | image-source: /images/custom/UI/loot_3 | |
| 1232 | + | margin-top: 5 | |
| 1233 | + | ||
| 1234 | + | UIButton | |
| 1235 | + | id: IMGSUM_40 | |
| 1236 | + | image-source: /images/custom/Monster/1002 | |
| 1237 | + | margin-top: 5 | |
| 1238 | + | ||
| 1239 | + | UIButton | |
| 1240 | + | id: TEXT_40 | |
| 1241 | + | size: 155 70 | |
| 1242 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1243 | + | text-align: left | |
| 1244 | + | anchors.top: parent.top | |
| 1245 | + | anchors.left: parent.left | |
| 1246 | + | margin-top: -8 | |
| 1247 | + | margin-left: 70 | |
| 1248 | + | ||
| 1249 | + | UIButton | |
| 1250 | + | id: STARSUM_40 | |
| 1251 | + | image-source: /images/custom/UI/star_2 | |
| 1252 | + | anchors.top: parent.top | |
| 1253 | + | anchors.left: parent.left | |
| 1254 | + | margin-top: 50 | |
| 1255 | + | margin-left: 70 | |
| 1256 | + | ||
| 1257 | + | UIButton | |
| 1258 | + | id: Monter41 | |
| 1259 | + | margin-right: -17 | |
| 1260 | + | image-source: /images/custom/UI/loot_3 | |
| 1261 | + | margin-top: 5 | |
| 1262 | + | ||
| 1263 | + | UIButton | |
| 1264 | + | id: IMGSUM_41 | |
| 1265 | + | image-source: /images/custom/Monster/1002 | |
| 1266 | + | margin-top: 5 | |
| 1267 | + | ||
| 1268 | + | UIButton | |
| 1269 | + | id: TEXT_41 | |
| 1270 | + | size: 155 70 | |
| 1271 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1272 | + | text-align: left | |
| 1273 | + | anchors.top: parent.top | |
| 1274 | + | anchors.left: parent.left | |
| 1275 | + | margin-top: -8 | |
| 1276 | + | margin-left: 70 | |
| 1277 | + | ||
| 1278 | + | UIButton | |
| 1279 | + | id: STARSUM_41 | |
| 1280 | + | image-source: /images/custom/UI/star_2 | |
| 1281 | + | anchors.top: parent.top | |
| 1282 | + | anchors.left: parent.left | |
| 1283 | + | margin-top: 50 | |
| 1284 | + | margin-left: 70 | |
| 1285 | + | ||
| 1286 | + | UIButton | |
| 1287 | + | id: Monter42 | |
| 1288 | + | margin-right: -17 | |
| 1289 | + | image-source: /images/custom/UI/loot_3 | |
| 1290 | + | margin-top: 5 | |
| 1291 | + | ||
| 1292 | + | UIButton | |
| 1293 | + | id: IMGSUM_42 | |
| 1294 | + | image-source: /images/custom/Monster/1002 | |
| 1295 | + | margin-top: 5 | |
| 1296 | + | ||
| 1297 | + | UIButton | |
| 1298 | + | id: TEXT_42 | |
| 1299 | + | size: 155 70 | |
| 1300 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1301 | + | text-align: left | |
| 1302 | + | anchors.top: parent.top | |
| 1303 | + | anchors.left: parent.left | |
| 1304 | + | margin-top: -8 | |
| 1305 | + | margin-left: 70 | |
| 1306 | + | ||
| 1307 | + | UIButton | |
| 1308 | + | id: STARSUM_42 | |
| 1309 | + | image-source: /images/custom/UI/star_2 | |
| 1310 | + | anchors.top: parent.top | |
| 1311 | + | anchors.left: parent.left | |
| 1312 | + | margin-top: 50 | |
| 1313 | + | margin-left: 70 | |
| 1314 | + | ||
| 1315 | + | UIButton | |
| 1316 | + | id: Monter43 | |
| 1317 | + | margin-right: -17 | |
| 1318 | + | image-source: /images/custom/UI/loot_3 | |
| 1319 | + | margin-top: 5 | |
| 1320 | + | ||
| 1321 | + | UIButton | |
| 1322 | + | id: IMGSUM_43 | |
| 1323 | + | image-source: /images/custom/Monster/1002 | |
| 1324 | + | margin-top: 5 | |
| 1325 | + | ||
| 1326 | + | UIButton | |
| 1327 | + | id: TEXT_43 | |
| 1328 | + | size: 155 70 | |
| 1329 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1330 | + | text-align: left | |
| 1331 | + | anchors.top: parent.top | |
| 1332 | + | anchors.left: parent.left | |
| 1333 | + | margin-top: -8 | |
| 1334 | + | margin-left: 70 | |
| 1335 | + | ||
| 1336 | + | UIButton | |
| 1337 | + | id: STARSUM_43 | |
| 1338 | + | image-source: /images/custom/UI/star_2 | |
| 1339 | + | anchors.top: parent.top | |
| 1340 | + | anchors.left: parent.left | |
| 1341 | + | margin-top: 50 | |
| 1342 | + | margin-left: 70 | |
| 1343 | + | ||
| 1344 | + | UIButton | |
| 1345 | + | id: Monter44 | |
| 1346 | + | margin-right: -17 | |
| 1347 | + | image-source: /images/custom/UI/loot_3 | |
| 1348 | + | margin-top: 5 | |
| 1349 | + | ||
| 1350 | + | UIButton | |
| 1351 | + | id: IMGSUM_44 | |
| 1352 | + | image-source: /images/custom/Monster/1002 | |
| 1353 | + | margin-top: 5 | |
| 1354 | + | ||
| 1355 | + | UIButton | |
| 1356 | + | id: TEXT_44 | |
| 1357 | + | size: 155 70 | |
| 1358 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1359 | + | text-align: left | |
| 1360 | + | anchors.top: parent.top | |
| 1361 | + | anchors.left: parent.left | |
| 1362 | + | margin-top: -8 | |
| 1363 | + | margin-left: 70 | |
| 1364 | + | ||
| 1365 | + | UIButton | |
| 1366 | + | id: STARSUM_44 | |
| 1367 | + | image-source: /images/custom/UI/star_2 | |
| 1368 | + | anchors.top: parent.top | |
| 1369 | + | anchors.left: parent.left | |
| 1370 | + | margin-top: 50 | |
| 1371 | + | margin-left: 70 | |
| 1372 | + | ||
| 1373 | + | UIButton | |
| 1374 | + | id: Monter45 | |
| 1375 | + | margin-right: -17 | |
| 1376 | + | image-source: /images/custom/UI/loot_3 | |
| 1377 | + | margin-top: 5 | |
| 1378 | + | ||
| 1379 | + | UIButton | |
| 1380 | + | id: IMGSUM_45 | |
| 1381 | + | image-source: /images/custom/Monster/1002 | |
| 1382 | + | margin-top: 5 | |
| 1383 | + | ||
| 1384 | + | UIButton | |
| 1385 | + | id: TEXT_45 | |
| 1386 | + | size: 155 70 | |
| 1387 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1388 | + | text-align: left | |
| 1389 | + | anchors.top: parent.top | |
| 1390 | + | anchors.left: parent.left | |
| 1391 | + | margin-top: -8 | |
| 1392 | + | margin-left: 70 | |
| 1393 | + | ||
| 1394 | + | UIButton | |
| 1395 | + | id: STARSUM_45 | |
| 1396 | + | image-source: /images/custom/UI/star_2 | |
| 1397 | + | anchors.top: parent.top | |
| 1398 | + | anchors.left: parent.left | |
| 1399 | + | margin-top: 50 | |
| 1400 | + | margin-left: 70 | |
| 1401 | + | ||
| 1402 | + | UIButton | |
| 1403 | + | id: Monter46 | |
| 1404 | + | margin-right: -17 | |
| 1405 | + | image-source: /images/custom/UI/loot_3 | |
| 1406 | + | margin-top: 5 | |
| 1407 | + | ||
| 1408 | + | UIButton | |
| 1409 | + | id: IMGSUM_46 | |
| 1410 | + | image-source: /images/custom/Monster/1002 | |
| 1411 | + | margin-top: 5 | |
| 1412 | + | ||
| 1413 | + | UIButton | |
| 1414 | + | id: TEXT_46 | |
| 1415 | + | size: 155 70 | |
| 1416 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1417 | + | text-align: left | |
| 1418 | + | anchors.top: parent.top | |
| 1419 | + | anchors.left: parent.left | |
| 1420 | + | margin-top: -8 | |
| 1421 | + | margin-left: 70 | |
| 1422 | + | ||
| 1423 | + | UIButton | |
| 1424 | + | id: STARSUM_46 | |
| 1425 | + | image-source: /images/custom/UI/star_2 | |
| 1426 | + | anchors.top: parent.top | |
| 1427 | + | anchors.left: parent.left | |
| 1428 | + | margin-top: 50 | |
| 1429 | + | margin-left: 70 | |
| 1430 | + | ||
| 1431 | + | UIButton | |
| 1432 | + | id: Monter47 | |
| 1433 | + | margin-right: -17 | |
| 1434 | + | image-source: /images/custom/UI/loot_3 | |
| 1435 | + | margin-top: 5 | |
| 1436 | + | ||
| 1437 | + | UIButton | |
| 1438 | + | id: IMGSUM_47 | |
| 1439 | + | image-source: /images/custom/Monster/1002 | |
| 1440 | + | margin-top: 5 | |
| 1441 | + | ||
| 1442 | + | UIButton | |
| 1443 | + | id: TEXT_47 | |
| 1444 | + | size: 155 70 | |
| 1445 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1446 | + | text-align: left | |
| 1447 | + | anchors.top: parent.top | |
| 1448 | + | anchors.left: parent.left | |
| 1449 | + | margin-top: -8 | |
| 1450 | + | margin-left: 70 | |
| 1451 | + | ||
| 1452 | + | UIButton | |
| 1453 | + | id: STARSUM_47 | |
| 1454 | + | image-source: /images/custom/UI/star_2 | |
| 1455 | + | anchors.top: parent.top | |
| 1456 | + | anchors.left: parent.left | |
| 1457 | + | margin-top: 50 | |
| 1458 | + | margin-left: 70 | |
| 1459 | + | ||
| 1460 | + | UIButton | |
| 1461 | + | id: Monter48 | |
| 1462 | + | margin-right: -17 | |
| 1463 | + | image-source: /images/custom/UI/loot_3 | |
| 1464 | + | margin-top: 5 | |
| 1465 | + | ||
| 1466 | + | UIButton | |
| 1467 | + | id: IMGSUM_48 | |
| 1468 | + | image-source: /images/custom/Monster/1002 | |
| 1469 | + | margin-top: 5 | |
| 1470 | + | ||
| 1471 | + | UIButton | |
| 1472 | + | id: TEXT_48 | |
| 1473 | + | size: 155 70 | |
| 1474 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1475 | + | text-align: left | |
| 1476 | + | anchors.top: parent.top | |
| 1477 | + | anchors.left: parent.left | |
| 1478 | + | margin-top: -8 | |
| 1479 | + | margin-left: 70 | |
| 1480 | + | ||
| 1481 | + | UIButton | |
| 1482 | + | id: STARSUM_48 | |
| 1483 | + | image-source: /images/custom/UI/star_2 | |
| 1484 | + | anchors.top: parent.top | |
| 1485 | + | anchors.left: parent.left | |
| 1486 | + | margin-top: 50 | |
| 1487 | + | margin-left: 70 | |
| 1488 | + | ||
| 1489 | + | UIButton | |
| 1490 | + | id: Monter49 | |
| 1491 | + | margin-right: -17 | |
| 1492 | + | image-source: /images/custom/UI/loot_3 | |
| 1493 | + | margin-top: 5 | |
| 1494 | + | ||
| 1495 | + | UIButton | |
| 1496 | + | id: IMGSUM_49 | |
| 1497 | + | image-source: /images/custom/Monster/1002 | |
| 1498 | + | margin-top: 5 | |
| 1499 | + | ||
| 1500 | + | UIButton | |
| 1501 | + | id: TEXT_49 | |
| 1502 | + | size: 155 70 | |
| 1503 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1504 | + | text-align: left | |
| 1505 | + | anchors.top: parent.top | |
| 1506 | + | anchors.left: parent.left | |
| 1507 | + | margin-top: -8 | |
| 1508 | + | margin-left: 70 | |
| 1509 | + | ||
| 1510 | + | UIButton | |
| 1511 | + | id: STARSUM_49 | |
| 1512 | + | image-source: /images/custom/UI/star_2 | |
| 1513 | + | anchors.top: parent.top | |
| 1514 | + | anchors.left: parent.left | |
| 1515 | + | margin-top: 50 | |
| 1516 | + | margin-left: 70 | |
| 1517 | + | ||
| 1518 | + | UIButton | |
| 1519 | + | id: Monter50 | |
| 1520 | + | margin-right: -17 | |
| 1521 | + | image-source: /images/custom/UI/loot_3 | |
| 1522 | + | margin-top: 5 | |
| 1523 | + | ||
| 1524 | + | UIButton | |
| 1525 | + | id: IMGSUM_50 | |
| 1526 | + | image-source: /images/custom/Monster/1002 | |
| 1527 | + | margin-top: 5 | |
| 1528 | + | ||
| 1529 | + | UIButton | |
| 1530 | + | id: TEXT_50 | |
| 1531 | + | size: 155 70 | |
| 1532 | + | text: "Monstro #01\nHP: 5321\nATK: 125" | |
| 1533 | + | text-align: left | |
| 1534 | + | anchors.top: parent.top | |
| 1535 | + | anchors.left: parent.left | |
| 1536 | + | margin-top: -8 | |
| 1537 | + | margin-left: 70 | |
| 1538 | + | ||
| 1539 | + | UIButton | |
| 1540 | + | id: STARSUM_50 | |
| 1541 | + | image-source: /images/custom/UI/star_2 | |
| 1542 | + | anchors.top: parent.top | |
| 1543 | + | anchors.left: parent.left | |
| 1544 | + | margin-top: 50 | |
| 1545 | + | margin-left: 70 | |
| 1546 | + | ||
| 1547 | + | UIButton | |
| 1548 | + | id: exitButton | |
| 1549 | + | !text: tr('CANCELAR') | |
| 1550 | + | image-source: /images/custom/UI/button | |
| 1551 | + | height: 30 | |
| 1552 | + | font: verdana-11px-antialised | |
| 1553 | + | anchors.bottom: parent.bottom | |
| 1554 | + | anchors.right: parent.right | |
| 1555 | + | anchors.left: parent.left | |
| 1556 | + | margin-left: 05 | |
| 1557 | + | margin-right: 05 | |
| 1558 | + | margin-bottom: 05 | |
| 1559 | + | @onClick: closer_boxShop() | |
| 1560 | + | opacity: 0.8 | |
| 1561 | + | $pressed: | |
| 1562 | + | opacity: 0.6 | |
| 1563 | + | $hover !pressed: | |
| 1564 | + | opacity: 1.0 |
| @@ -0,0 +1,512 @@ | |||
| 1 | + | --[[ | |
| 2 | + | game_minimap - Minimap module using native UIMinimap engine widget | |
| 3 | + | ||
| 4 | + | Engine API exposed (from uiminimap.cpp / luafunctions_client.cpp): | |
| 5 | + | minimapWidget:zoomIn() -- zoom +1 step | |
| 6 | + | minimapWidget:zoomOut() -- zoom -1 step | |
| 7 | + | minimapWidget:setZoom(int) -- set absolute zoom (-5 to 5) | |
| 8 | + | minimapWidget:setMixZoom(int) -- set minimum zoom level | |
| 9 | + | minimapWidget:setMaxZoom(int) -- set maximum zoom level | |
| 10 | + | minimapWidget:getZoom() -- get current zoom | |
| 11 | + | minimapWidget:getMinZoom() -- get min zoom | |
| 12 | + | minimapWidget:getMaxZoom() -- get max zoom | |
| 13 | + | minimapWidget:getScale() -- get current scale factor | |
| 14 | + | minimapWidget:setCameraPosition(pos) -- center map on position | |
| 15 | + | minimapWidget:getCameraPosition() -- get current center position | |
| 16 | + | minimapWidget:floorUp() -- move camera floor up | |
| 17 | + | minimapWidget:floorDown() -- move camera floor down | |
| 18 | + | minimapWidget:getTilePoint(pos) -- screen point for map position | |
| 19 | + | minimapWidget:getTilePosition(pt) -- map position for screen point | |
| 20 | + | minimapWidget:getTileRect(pos) -- screen rect for map position | |
| 21 | + | minimapWidget:anchorPosition(w, edge, pos, edge2) | |
| 22 | + | minimapWidget:fillPosition(w, pos) | |
| 23 | + | minimapWidget:centerInPosition(w, pos) | |
| 24 | + | ||
| 25 | + | OTUI style nodes supported (onStyleApply): | |
| 26 | + | zoom: int -- initial zoom | |
| 27 | + | min-zoom: int -- minimum zoom | |
| 28 | + | max-zoom: int -- maximum zoom | |
| 29 | + | ||
| 30 | + | Lua callbacks fired by engine: | |
| 31 | + | minimapWidget:onZoomChange(zoom, oldZoom) | |
| 32 | + | minimapWidget:onCameraPositionChange(pos, oldPos) | |
| 33 | + | --]] | |
| 34 | + | ||
| 35 | + | minimapWindow = nil | |
| 36 | + | minimapWidget = nil | |
| 37 | + | safeModeButtonPopup = nil | |
| 38 | + | ||
| 39 | + | -- Fallback PvP mode constants in case this client build doesn't define them globally | |
| 40 | + | PvpPeaceful = PvpPeaceful or 0 | |
| 41 | + | PvpDefensive = PvpDefensive or 1 | |
| 42 | + | PvpOffensive = PvpOffensive or 2 | |
| 43 | + | ||
| 44 | + | local directionAbbr = { | |
| 45 | + | [0] = 'N', | |
| 46 | + | [1] = 'E', | |
| 47 | + | [2] = 'S', | |
| 48 | + | [3] = 'W' | |
| 49 | + | } | |
| 50 | + | ||
| 51 | + | local pvpModes = { | |
| 52 | + | ['skull'] = PvpOffensive, | |
| 53 | + | ['shield'] = PvpPeaceful, | |
| 54 | + | ['sword'] = PvpDefensive | |
| 55 | + | } | |
| 56 | + | ||
| 57 | + | local pvpButtons = { | |
| 58 | + | [PvpPeaceful] = { | |
| 59 | + | { id = 'shield', icon = 'icon_shield', background = 'icon_border_off', color = '#A6AAB2', tooltip = 'Peaceful' }, | |
| 60 | + | { id = 'sword', icon = 'icon_sword', color = '#A6AAB2', tooltip = 'Defensive' }, | |
| 61 | + | { id = 'skull', icon = 'icon_skull', color = '#A6AAB2', tooltip = 'Offensive' }, | |
| 62 | + | }, | |
| 63 | + | [PvpDefensive] = { | |
| 64 | + | { id = 'sword', icon = 'icon_sword', background = 'icon_border_yellow', color = '#1F2124', tooltip = 'Defensive' }, | |
| 65 | + | { id = 'shield', icon = 'icon_shield', color = '#A6AAB2', tooltip = 'Peaceful' }, | |
| 66 | + | { id = 'skull', icon = 'icon_skull', color = '#A6AAB2', tooltip = 'Offensive' }, | |
| 67 | + | }, | |
| 68 | + | [PvpOffensive] = { | |
| 69 | + | { id = 'skull', icon = 'icon_skull', background = 'icon_border_red', color = '#1F2124', tooltip = 'Offensive' }, | |
| 70 | + | { id = 'shield', icon = 'icon_shield', color = '#A6AAB2', tooltip = 'Peaceful' }, | |
| 71 | + | { id = 'sword', icon = 'icon_sword', color = '#A6AAB2', tooltip = 'Defensive' }, | |
| 72 | + | }, | |
| 73 | + | } | |
| 74 | + | ||
| 75 | + | -- setAnglePosition: positions a widget around a circular parent widget at a given angle. | |
| 76 | + | -- Used by all the circular minimap buttons. | |
| 77 | + | UIWidget.setAnglePosition = function(self, parent, angle, additionalDistance) | |
| 78 | + | if not parent or parent:isDestroyed() then return end | |
| 79 | + | ||
| 80 | + | local parentWidth = parent:getWidth() | |
| 81 | + | local parentHeight = parent:getHeight() | |
| 82 | + | local parentPos = parent:getPosition() | |
| 83 | + | local parentCenter = { | |
| 84 | + | x = parentPos.x + parentWidth / 2, | |
| 85 | + | y = parentPos.y + parentHeight / 2 | |
| 86 | + | } | |
| 87 | + | ||
| 88 | + | local radius = parentWidth / 2 + (additionalDistance or 0) + 5 | |
| 89 | + | self.additionalDistance = additionalDistance | |
| 90 | + | self.angle = angle | |
| 91 | + | ||
| 92 | + | local rad = math.rad(angle) | |
| 93 | + | local x = parentCenter.x + radius * math.cos(rad) | |
| 94 | + | local y = parentCenter.y + radius * math.sin(rad) | |
| 95 | + | ||
| 96 | + | self:setPosition({ | |
| 97 | + | x = x - self:getWidth() / 2, | |
| 98 | + | y = y - self:getHeight() / 2 | |
| 99 | + | }) | |
| 100 | + | ||
| 101 | + | -- Update position when parent geometry changes | |
| 102 | + | if self.positionChangeAngleEvent then | |
| 103 | + | for _, event in pairs(self.positionChangeAngleEvent) do | |
| 104 | + | event() | |
| 105 | + | end | |
| 106 | + | self.positionChangeAngleEvent = nil | |
| 107 | + | end | |
| 108 | + | ||
| 109 | + | local disconnects = connect(parent, { | |
| 110 | + | onGeometryChange = function() | |
| 111 | + | addEvent(function() | |
| 112 | + | if self and not self:isDestroyed() then | |
| 113 | + | self:setAnglePosition(parent, self.angle, self.additionalDistance) | |
| 114 | + | end | |
| 115 | + | end) | |
| 116 | + | end | |
| 117 | + | }) | |
| 118 | + | ||
| 119 | + | self.positionChangeAngleEvent = disconnects | |
| 120 | + | end | |
| 121 | + | ||
| 122 | + | function init() | |
| 123 | + | g_ui.importStyle('minimap.otui') | |
| 124 | + | ||
| 125 | + | -- Resolve the HUD parent panel safely. | |
| 126 | + | -- This client's game_interface uses gameRootPanel; getHUDPanel() is not defined here. | |
| 127 | + | -- (gameRootPanel is not visible from here: game_interface is sandboxed, so use | |
| 128 | + | -- its getter. The root widget fallback made the minimap show on the login screen.) | |
| 129 | + | local hudPanel = nil | |
| 130 | + | if modules.game_interface and modules.game_interface.getHUDPanel then | |
| 131 | + | hudPanel = modules.game_interface.getHUDPanel() | |
| 132 | + | end | |
| 133 | + | if not hudPanel and modules.game_interface and modules.game_interface.getRootPanel then | |
| 134 | + | hudPanel = modules.game_interface.getRootPanel() | |
| 135 | + | end | |
| 136 | + | if not hudPanel then | |
| 137 | + | hudPanel = g_ui.getRootWidget() | |
| 138 | + | end | |
| 139 | + | ||
| 140 | + | minimapWindow = g_ui.createWidget('MinimapWindow', hudPanel) | |
| 141 | + | minimapWindow:hide() -- shown by onGameStart, only once in game | |
| 142 | + | minimapWidget = minimapWindow:recursiveGetChildById('minimap') | |
| 143 | + | ||
| 144 | + | safeModeButtonPopup = minimapWindow.safeModeButtonPopup | |
| 145 | + | if minimapWindow.safeModeButton then | |
| 146 | + | minimapWindow.safeModeButton.popup = safeModeButtonPopup | |
| 147 | + | end | |
| 148 | + | ||
| 149 | + | -- Wire Lua callbacks from the native UIMinimap | |
| 150 | + | if minimapWidget then | |
| 151 | + | minimapWidget.onZoomChange = function(widget, zoom, oldZoom) | |
| 152 | + | -- Update zoom buttons visual state if needed | |
| 153 | + | end | |
| 154 | + | ||
| 155 | + | minimapWidget.onCameraPositionChange = function(widget, pos, oldPos) | |
| 156 | + | -- Called each time the camera moves | |
| 157 | + | end | |
| 158 | + | end | |
| 159 | + | ||
| 160 | + | -- Only connect events that actually exist in this client build. | |
| 161 | + | -- onTimeChange and onRemoveAutomapFlag don't exist here. | |
| 162 | + | -- LocalPlayer is nil at module load time — connect it in onGameStart. | |
| 163 | + | connect(g_game, { | |
| 164 | + | onGameStart = onGameStart, | |
| 165 | + | onGameEnd = onGameEnd, | |
| 166 | + | }) | |
| 167 | + | ||
| 168 | + | if g_game.isOnline() then | |
| 169 | + | onGameStart() | |
| 170 | + | end | |
| 171 | + | end | |
| 172 | + | ||
| 173 | + | function terminate() | |
| 174 | + | disconnect(g_game, { | |
| 175 | + | onGameStart = onGameStart, | |
| 176 | + | onGameEnd = onGameEnd, | |
| 177 | + | onPVPModeChange = onPvpModeChange, | |
| 178 | + | }) | |
| 179 | + | ||
| 180 | + | -- Disconnect LocalPlayer only if it exists | |
| 181 | + | local lp = g_game.getLocalPlayer and g_game.getLocalPlayer() | |
| 182 | + | if lp then | |
| 183 | + | disconnect(lp, { onPositionChange = onPositionChange }) | |
| 184 | + | end | |
| 185 | + | ||
| 186 | + | -- Safety save of minimap data | |
| 187 | + | g_minimap.saveOtmm('/minimap.otmm') | |
| 188 | + | ||
| 189 | + | if minimapWindow and not minimapWindow:isDestroyed() then | |
| 190 | + | minimapWindow:destroy() | |
| 191 | + | end | |
| 192 | + | ||
| 193 | + | minimapWindow = nil | |
| 194 | + | minimapWidget = nil | |
| 195 | + | safeModeButtonPopup = nil | |
| 196 | + | end | |
| 197 | + | ||
| 198 | + | -- Called every time the player moves. | |
| 199 | + | -- The engine's setCameraPosition re-centers the UIMinimap on the new position. | |
| 200 | + | local playerIcon = nil | |
| 201 | + | ||
| 202 | + | function onPositionChange(player, newPos, oldPos) | |
| 203 | + | if not minimapWidget or not newPos then return end | |
| 204 | + | minimapWidget:setCameraPosition(newPos) | |
| 205 | + | ||
| 206 | + | if not playerIcon or playerIcon:isDestroyed() then | |
| 207 | + | playerIcon = g_ui.createWidget('MiniMapPlayerIcon', minimapWidget) | |
| 208 | + | end | |
| 209 | + | ||
| 210 | + | if playerIcon then | |
| 211 | + | minimapWidget:centerInPosition(playerIcon, newPos) | |
| 212 | + | ||
| 213 | + | local outfit = playerIcon:getChildById('playerOutfit') | |
| 214 | + | if outfit then | |
| 215 | + | outfit:setDirection(player:getDirection()) | |
| 216 | + | end | |
| 217 | + | ||
| 218 | + | local frame = playerIcon:getChildById('playerOutfitFrame') | |
| 219 | + | if frame then | |
| 220 | + | -- directions: 0: North, 1: East, 2: South, 3: West | |
| 221 | + | -- Inverted: 0: 180, 1: 270, 2: 0, 3: 90 | |
| 222 | + | local rotations = { [0] = 180, [1] = 270, [2] = 0, [3] = 90 } | |
| 223 | + | frame:setRotation(rotations[player:getDirection()] or 0) | |
| 224 | + | end | |
| 225 | + | end | |
| 226 | + | end | |
| 227 | + | ||
| 228 | + | function onGameStart() | |
| 229 | + | minimapWindow:show() | |
| 230 | + | ||
| 231 | + | local player = g_game.getLocalPlayer() | |
| 232 | + | if player then | |
| 233 | + | local pos = player:getPosition() | |
| 234 | + | if pos and minimapWidget then | |
| 235 | + | minimapWidget:setCameraPosition(pos) | |
| 236 | + | end | |
| 237 | + | -- Connect position updates now that LocalPlayer exists | |
| 238 | + | connect(player, { onPositionChange = onPositionChange }) | |
| 239 | + | end | |
| 240 | + | ||
| 241 | + | -- Restore saved PvP mode | |
| 242 | + | if g_settings then | |
| 243 | + | local char = g_game.getCharacterName and g_game.getCharacterName() or '' | |
| 244 | + | local settings = g_settings.getNode('game_minimap') | |
| 245 | + | if settings and settings[char] then | |
| 246 | + | g_game.setPVPMode(settings[char].pvpMode or PvpPeaceful) | |
| 247 | + | end | |
| 248 | + | end | |
| 249 | + | ||
| 250 | + | -- Load explored minimap data | |
| 251 | + | if g_resources.fileExists('/minimap.otmm') then | |
| 252 | + | g_minimap.loadOtmm('/minimap.otmm') | |
| 253 | + | end | |
| 254 | + | ||
| 255 | + | -- g_game.getTime() doesn't exist in this client — skip clock update on start | |
| 256 | + | -- (clock will update when onTimeChange fires, if the event exists) | |
| 257 | + | end | |
| 258 | + | ||
| 259 | + | function onGameEnd() | |
| 260 | + | minimapWindow:hide() | |
| 261 | + | ||
| 262 | + | -- Save PvP mode per character | |
| 263 | + | if g_settings then | |
| 264 | + | local char = g_game.getCharacterName() | |
| 265 | + | local settings = g_settings.getNode('game_minimap') or {} | |
| 266 | + | settings[char] = { pvpMode = g_game.getPVPMode() } | |
| 267 | + | g_settings.setNode('game_minimap', settings) | |
| 268 | + | g_settings.save() | |
| 269 | + | end | |
| 270 | + | ||
| 271 | + | -- Save explored minimap data | |
| 272 | + | g_minimap.saveOtmm('/minimap.otmm') | |
| 273 | + | end | |
| 274 | + | ||
| 275 | + | -- Updates the clock label in the top panel | |
| 276 | + | function updateTime(time) | |
| 277 | + | if not minimapWindow or not time then return end | |
| 278 | + | local topPanel = minimapWindow.topPanel | |
| 279 | + | if not topPanel then return end | |
| 280 | + | local timeWidget = topPanel.time | |
| 281 | + | if not timeWidget then return end | |
| 282 | + | ||
| 283 | + | local pm = time.hour >= 12 | |
| 284 | + | local hour = time.hour % 12 | |
| 285 | + | if hour == 0 then hour = 12 end | |
| 286 | + | ||
| 287 | + | timeWidget:setText(string.format("%02d:%02d %s", hour, time.minute, pm and 'PM' or 'AM')) | |
| 288 | + | end | |
| 289 | + | ||
| 290 | + | -- Zoom in: increases zoom level (+1 step). Range is -5 to 5. | |
| 291 | + | function zoomIn() | |
| 292 | + | if minimapWidget then | |
| 293 | + | minimapWidget:zoomIn() | |
| 294 | + | end | |
| 295 | + | end | |
| 296 | + | ||
| 297 | + | -- Zoom out: decreases zoom level (-1 step). | |
| 298 | + | function zoomOut() | |
| 299 | + | if minimapWidget then | |
| 300 | + | minimapWidget:zoomOut() | |
| 301 | + | end | |
| 302 | + | end | |
| 303 | + | ||
| 304 | + | -- Handle a click on the minimap widget. | |
| 305 | + | -- Uses getTilePosition() (engine method) to convert screen click to world pos, | |
| 306 | + | -- then issues a server autoWalk request. | |
| 307 | + | function onMinimapClick(mousePos) | |
| 308 | + | if not minimapWidget or not g_game.isOnline() then return end | |
| 309 | + | ||
| 310 | + | local player = g_game.getLocalPlayer() | |
| 311 | + | if not player then return end | |
| 312 | + | ||
| 313 | + | -- Convert screen pos to world position using engine method | |
| 314 | + | local destination = minimapWidget:getTilePosition(mousePos) | |
| 315 | + | if not destination or (destination.x == 0 and destination.y == 0) then | |
| 316 | + | return | |
| 317 | + | end | |
| 318 | + | ||
| 319 | + | -- Keep same floor as the player | |
| 320 | + | local playerPos = player:getPosition() | |
| 321 | + | destination.z = playerPos.z | |
| 322 | + | ||
| 323 | + | -- Guard: don't walk if player is in special state | |
| 324 | + | if player:isServerWalking() then | |
| 325 | + | g_game.stop() | |
| 326 | + | end | |
| 327 | + | ||
| 328 | + | player:autoWalk(destination, nil, true) | |
| 329 | + | end | |
| 330 | + | ||
| 331 | + | -- Drag support: reposition buttons when dragged around the minimap circle | |
| 332 | + | function onMinimapButtonDragEnter(widget, mousePos) | |
| 333 | + | if not minimapWidget then return end | |
| 334 | + | ||
| 335 | + | local minimapPos = minimapWidget:getPosition() | |
| 336 | + | local minimapCenter = { | |
| 337 | + | x = minimapPos.x + minimapWidget:getWidth() / 2, | |
| 338 | + | y = minimapPos.y + minimapWidget:getHeight() / 2 | |
| 339 | + | } | |
| 340 | + | ||
| 341 | + | local angle = math.deg(math.atan2( | |
| 342 | + | mousePos.y - minimapCenter.y, | |
| 343 | + | mousePos.x - minimapCenter.x | |
| 344 | + | )) | |
| 345 | + | ||
| 346 | + | widget:setAnglePosition(minimapWidget, angle, widget.additionalDistance) | |
| 347 | + | widget:raise() | |
| 348 | + | end | |
| 349 | + | ||
| 350 | + | -- PvP mode button: toggles between peaceful / defensive / offensive | |
| 351 | + | function onPvpButtonClicked(id) | |
| 352 | + | local pvpMode = pvpModes[id] | |
| 353 | + | if pvpMode then | |
| 354 | + | g_game.setPVPMode(pvpMode) | |
| 355 | + | end | |
| 356 | + | ||
| 357 | + | local btn = minimapWindow:recursiveGetChildById('safeModeButton') | |
| 358 | + | if btn then | |
| 359 | + | btn:setOn(false) | |
| 360 | + | end | |
| 361 | + | end | |
| 362 | + | ||
| 363 | + | -- Called by the engine event onPVPModeChange | |
| 364 | + | function onPvpModeChange() | |
| 365 | + | local pvpMode = g_game.getPVPMode() | |
| 366 | + | local cfg = pvpButtons[pvpMode] | |
| 367 | + | if not cfg then return end | |
| 368 | + | ||
| 369 | + | local popup = safeModeButtonPopup or minimapWindow:recursiveGetChildById('safeModeButtonPopup') | |
| 370 | + | local btn = minimapWindow:recursiveGetChildById('safeModeButton') | |
| 371 | + | ||
| 372 | + | if btn then | |
| 373 | + | btn:setTooltip(string.format('PvP Mode: %s', cfg[1].tooltip)) | |
| 374 | + | btn:setImageSource(string.format('/images/ui/windows/minimap/%s', cfg[1].background)) | |
| 375 | + | btn:setIcon(string.format('/images/ui/windows/minimap/%s', cfg[1].icon)) | |
| 376 | + | btn:setIconColor(cfg[1].color) | |
| 377 | + | end | |
| 378 | + | ||
| 379 | + | if popup then | |
| 380 | + | local b1 = popup:getChildByIndex(1) | |
| 381 | + | if b1 then | |
| 382 | + | b1:setTooltip(cfg[2].tooltip) | |
| 383 | + | b1:setId(cfg[2].id) | |
| 384 | + | b1:setIcon(string.format('/images/ui/windows/minimap/%s', cfg[2].icon)) | |
| 385 | + | end | |
| 386 | + | local b2 = popup:getChildByIndex(2) | |
| 387 | + | if b2 then | |
| 388 | + | b2:setTooltip(cfg[3].tooltip) | |
| 389 | + | b2:setId(cfg[3].id) | |
| 390 | + | b2:setIcon(string.format('/images/ui/windows/minimap/%s', cfg[3].icon)) | |
| 391 | + | end | |
| 392 | + | end | |
| 393 | + | end | |
| 394 | + | ||
| 395 | + | -- Floor indicator button (placeholder - floor change display is engine-rendered) | |
| 396 | + | function onFloorIndicatorButtonClicked(id) | |
| 397 | + | -- Floor indicators are rendered natively by the minimap engine | |
| 398 | + | -- This button can cycle between floor modes if needed | |
| 399 | + | end | |
| 400 | + | ||
| 401 | + | -- Update the region name label in the top panel | |
| 402 | + | function updateRegionName(region, color) | |
| 403 | + | if not minimapWindow or not minimapWindow.topPanel then return end | |
| 404 | + | local widget = minimapWindow.topPanel.regionName | |
| 405 | + | if not widget then return end | |
| 406 | + | ||
| 407 | + | local visible = region and region ~= '' | |
| 408 | + | widget:setVisible(visible) | |
| 409 | + | if visible then | |
| 410 | + | widget:setText(region) | |
| 411 | + | if color then widget:setColor(color) end | |
| 412 | + | end | |
| 413 | + | end | |
| 414 | + | ||
| 415 | + | -- ============================================================ | |
| 416 | + | -- Safe button wrappers — called from OTUI onClick handlers. | |
| 417 | + | -- Each one gracefully handles missing modules. | |
| 418 | + | -- ============================================================ | |
| 419 | + | ||
| 420 | + | function btnQuestTracker(self) | |
| 421 | + | if modules.game_settings and modules.game_settings.toggleOption then | |
| 422 | + | modules.game_settings.toggleOption('showQuestTracker') | |
| 423 | + | elseif modules.game_questlog then | |
| 424 | + | -- fallback: toggle quest log if quest tracker not available | |
| 425 | + | local m = modules.game_questlog | |
| 426 | + | if m.toggle then m.toggle() end | |
| 427 | + | end | |
| 428 | + | if self then self:setOn(not self:isOn()) end | |
| 429 | + | end | |
| 430 | + | ||
| 431 | + | function btnTeleport(self) | |
| 432 | + | if modules.game_hearthteleport and modules.game_hearthteleport.GameHearthTeleport then | |
| 433 | + | modules.game_hearthteleport.GameHearthTeleport:teleport() | |
| 434 | + | end | |
| 435 | + | end | |
| 436 | + | ||
| 437 | + | function btnHouseMode(self) | |
| 438 | + | if modules.game_house and modules.game_house.GameHouse then | |
| 439 | + | modules.game_house.GameHouse:toggleHouseMode() | |
| 440 | + | else | |
| 441 | + | if self then self:setOn(not self:isOn()) end | |
| 442 | + | end | |
| 443 | + | end | |
| 444 | + | ||
| 445 | + | function btnChannelSwitch(self) | |
| 446 | + | if modules.game_channel_selector and modules.game_channel_selector.GameSwitchChannel then | |
| 447 | + | modules.game_channel_selector.GameSwitchChannel:toggle() | |
| 448 | + | elseif modules.game_chat then | |
| 449 | + | -- fallback: toggle chat panel | |
| 450 | + | end | |
| 451 | + | if self then self:setOn(not self:isOn()) end | |
| 452 | + | end | |
| 453 | + | ||
| 454 | + | function btnBattleList(self) | |
| 455 | + | if modules.game_battle and modules.game_battle.BattleList then | |
| 456 | + | modules.game_battle.BattleList:toggle() | |
| 457 | + | elseif modules.game_battle and modules.game_battle.toggle then | |
| 458 | + | modules.game_battle.toggle() | |
| 459 | + | end | |
| 460 | + | if self then self:setOn(not self:isOn()) end | |
| 461 | + | end | |
| 462 | + | ||
| 463 | + | function btnMail(self) | |
| 464 | + | if modules.game_social and modules.game_social.GameSocial then | |
| 465 | + | modules.game_social.GameSocial:selectTab('mail') | |
| 466 | + | modules.game_social.GameSocial:toggle() | |
| 467 | + | end | |
| 468 | + | if self then self:setOn(not self:isOn()) end | |
| 469 | + | end | |
| 470 | + | ||
| 471 | + | -- Quest tracking functions | |
| 472 | + | rastrearMarkers = rastrearMarkers or {} | |
| 473 | + | ||
| 474 | + | function onRemoveRastrear() | |
| 475 | + | for _, marker in ipairs(rastrearMarkers) do | |
| 476 | + | if marker and not marker:isDestroyed() then | |
| 477 | + | marker:destroy() | |
| 478 | + | end | |
| 479 | + | end | |
| 480 | + | rastrearMarkers = {} | |
| 481 | + | end | |
| 482 | + | ||
| 483 | + | function onRastrearQuest(pos, desc, count) | |
| 484 | + | if not minimapWidget or not pos then return end | |
| 485 | + | local ok, pt = pcall(function() return minimapWidget:getTilePoint(pos) end) | |
| 486 | + | local parent = minimapWindow | |
| 487 | + | if not parent or parent:isDestroyed() then return end | |
| 488 | + | local marker = g_ui.createWidget('UIWidget', minimapWidget) | |
| 489 | + | if not marker then return end | |
| 490 | + | marker:setSize({width = 12, height = 12}) | |
| 491 | + | marker:setImageSource('/images/ui/windows/minimap/icon_compass_blue') | |
| 492 | + | marker:setTooltip(desc or '') | |
| 493 | + | marker:setImageAutoResize(true) | |
| 494 | + | if ok and pt and pt.x > 0 then | |
| 495 | + | marker:setPosition({x = pt.x - 6, y = pt.y - 6}) | |
| 496 | + | else | |
| 497 | + | marker._mapPos = pos | |
| 498 | + | end | |
| 499 | + | table.insert(rastrearMarkers, marker) | |
| 500 | + | end | |
| 501 | + | ||
| 502 | + | function onMiniMapaShow() | |
| 503 | + | if not minimapWindow or minimapWindow:isDestroyed() then return end | |
| 504 | + | minimapWindow:show() | |
| 505 | + | if minimapWidget and g_game.isOnline() then | |
| 506 | + | local player = g_game.getLocalPlayer() | |
| 507 | + | if player then | |
| 508 | + | local pos = player:getPosition() | |
| 509 | + | if pos then minimapWidget:setCameraPosition(pos) end | |
| 510 | + | end | |
| 511 | + | end | |
| 512 | + | end |
| @@ -0,0 +1,9 @@ | |||
| 1 | + | Module | |
| 2 | + | name: game_minimap | |
| 3 | + | description: Circular minimap using native UIMinimap engine renderer | |
| 4 | + | author: EriaRPG | |
| 5 | + | sandboxed: true | |
| 6 | + | scripts: [ minimap ] | |
| 7 | + | dependencies: [ game_interface ] | |
| 8 | + | @onLoad: init() | |
| 9 | + | @onUnload: terminate() |
| @@ -0,0 +1,415 @@ | |||
| 1 | + | MinimapToggleButton < UIWidget | |
| 2 | + | size: 30 30 | |
| 3 | + | icon-size: 16 16 | |
| 4 | + | icon-align: center | |
| 5 | + | icon-color: #A6AAB2 | |
| 6 | + | opacity: 0.9 | |
| 7 | + | image-source: /images/ui/windows/minimap/icon_border_off | |
| 8 | + | $hover: | |
| 9 | + | opacity: 1.0 | |
| 10 | + | $pressed: | |
| 11 | + | opacity: 0.9 | |
| 12 | + | $on: | |
| 13 | + | icon-color: #181A1D | |
| 14 | + | image-source: /images/ui/windows/minimap/icon_border_on | |
| 15 | + | ||
| 16 | + | @onDragEnter: function(a,b,c) modules.game_minimap.onMinimapButtonDragEnter(a,b,c) end | |
| 17 | + | @onSetup: | | |
| 18 | + | function(self) | |
| 19 | + | if self.setupFunc then | |
| 20 | + | self:setupFunc() | |
| 21 | + | end | |
| 22 | + | end | |
| 23 | + | ||
| 24 | + | MinimapExpandingButton < UIWidget | |
| 25 | + | size: 30 30 | |
| 26 | + | icon-size: 16 16 | |
| 27 | + | icon-align: center | |
| 28 | + | icon-color: #A6AAB2 | |
| 29 | + | opacity: 0.9 | |
| 30 | + | image-source: /images/ui/windows/minimap/icon_border_off | |
| 31 | + | $hover: | |
| 32 | + | opacity: 1.0 | |
| 33 | + | $pressed: | |
| 34 | + | opacity: 0.9 | |
| 35 | + | $on: | |
| 36 | + | //icon-color: #181A1D | |
| 37 | + | //image-source: /images/ui/windows/minimap/icon_border_on | |
| 38 | + | ||
| 39 | + | @onSetup: | | |
| 40 | + | function(self) | |
| 41 | + | if self.setupFunc then | |
| 42 | + | self:setupFunc() | |
| 43 | + | end | |
| 44 | + | end | |
| 45 | + | ||
| 46 | + | // Native engine minimap widget - renders g_minimap directly | |
| 47 | + | Minimap < UIMinimap | |
| 48 | + | focusable: false | |
| 49 | + | color: alpha | |
| 50 | + | opacity: 1.0 | |
| 51 | + | zoom: 0 | |
| 52 | + | min-zoom: -5 | |
| 53 | + | max-zoom: 5 | |
| 54 | + | ||
| 55 | + | MinimapWindow < UIWindow | |
| 56 | + | id: minimapWindow | |
| 57 | + | size: 260 260 | |
| 58 | + | draggable: true | |
| 59 | + | ||
| 60 | + | @onMouseWheel: | | |
| 61 | + | function(widget, mousePos, direction) | |
| 62 | + | if direction == MouseWheelDown then | |
| 63 | + | modules.game_minimap.zoomOut() | |
| 64 | + | elseif direction == MouseWheelUp then | |
| 65 | + | modules.game_minimap.zoomIn() | |
| 66 | + | end | |
| 67 | + | end | |
| 68 | + | ||
| 69 | + | // Tile container hidden - engine handles rendering via UIMinimap | |
| 70 | + | UIWidget | |
| 71 | + | id: minimapTileContainer | |
| 72 | + | size: 200 200 | |
| 73 | + | anchors.top: parent.top | |
| 74 | + | anchors.left: parent.left | |
| 75 | + | phantom: true | |
| 76 | + | margin-left: 30 | |
| 77 | + | margin-top: 40 | |
| 78 | + | visible: false | |
| 79 | + | ||
| 80 | + | UIWidget | |
| 81 | + | id: background | |
| 82 | + | anchors.fill: minimap | |
| 83 | + | image-source: /images/ui/windows/minimap/empty_background | |
| 84 | + | phantom: true | |
| 85 | + | ||
| 86 | + | // Native UIMinimap renderer | |
| 87 | + | Minimap | |
| 88 | + | id: minimap | |
| 89 | + | anchors.centerIn: border | |
| 90 | + | size: 196 196 | |
| 91 | + | clipping: true | |
| 92 | + | background-color: #00000000 | |
| 93 | + | color: #00000000 | |
| 94 | + | ||
| 95 | + | ||
| 96 | + | UIWidget | |
| 97 | + | id: border | |
| 98 | + | anchors.top: topPanel.bottom | |
| 99 | + | anchors.horizontalCenter: parent.horizontalCenter | |
| 100 | + | image-source: /images/ui/windows/minimap/border | |
| 101 | + | margin-top: 5 | |
| 102 | + | phantom: true | |
| 103 | + | ||
| 104 | + | // Region name / clock header. Hidden: nothing in this client fills it | |
| 105 | + | // (updateTime/updateRegionName are never called). Kept as the anchor for | |
| 106 | + | // the minimap border so the minimap stays where it is. | |
| 107 | + | UIWidget | |
| 108 | + | id: topPanel | |
| 109 | + | visible: false | |
| 110 | + | anchors.left: parent.left | |
| 111 | + | anchors.right: parent.right | |
| 112 | + | anchors.top: parent.top | |
| 113 | + | margin-left: 10 | |
| 114 | + | margin-right: 10 | |
| 115 | + | image-border: 15 | |
| 116 | + | padding: 5 | |
| 117 | + | image-source: /images/ui/windows/minimap/btnTime | |
| 118 | + | ||
| 119 | + | UIWidget | |
| 120 | + | id: time | |
| 121 | + | anchors.right: parent.right | |
| 122 | + | anchors.verticalCenter: parent.verticalCenter | |
| 123 | + | margin-right: 10 | |
| 124 | + | text-auto-resize: true | |
| 125 | + | text-align: right | |
| 126 | + | text-offset: 0 2 | |
| 127 | + | ||
| 128 | + | UIWidget | |
| 129 | + | id: regionName | |
| 130 | + | anchors.fill: parent | |
| 131 | + | text-auto-resize: true | |
| 132 | + | text-align: left | |
| 133 | + | text-offset: 0 2 | |
| 134 | + | margin-left: 10 | |
| 135 | + | ||
| 136 | + | UIWidget | |
| 137 | + | id: zoomIn | |
| 138 | + | size: 25 25 | |
| 139 | + | opacity: 0.9 | |
| 140 | + | $hover: | |
| 141 | + | opacity: 1.0 | |
| 142 | + | $pressed: | |
| 143 | + | opacity: 0.9 | |
| 144 | + | &offset: -3 | |
| 145 | + | @onClick: modules.game_minimap.zoomIn() | |
| 146 | + | @onSetup: | | |
| 147 | + | self:setAnglePosition(self:getParent().minimap, 52.5, self.offset) | |
| 148 | + | ||
| 149 | + | UIWidget | |
| 150 | + | id: zoomInImage | |
| 151 | + | image-source: /images/ui/windows/minimap/zoomin | |
| 152 | + | image-auto-resize: true | |
| 153 | + | phantom: true | |
| 154 | + | &offset: -3 | |
| 155 | + | @onSetup: | | |
| 156 | + | self:setAnglePosition(self:getParent().minimap, 52.5, self.offset) | |
| 157 | + | ||
| 158 | + | UIWidget | |
| 159 | + | id: zoomOut | |
| 160 | + | size: 25 25 | |
| 161 | + | opacity: 0.9 | |
| 162 | + | $hover: | |
| 163 | + | opacity: 1.0 | |
| 164 | + | $pressed: | |
| 165 | + | opacity: 0.9 | |
| 166 | + | &offset: -3 | |
| 167 | + | @onClick: modules.game_minimap.zoomOut() | |
| 168 | + | @onSetup: | | |
| 169 | + | self:setAnglePosition(self:getParent().minimap, 37.5, self.offset) | |
| 170 | + | ||
| 171 | + | UIWidget | |
| 172 | + | id: zoomOutImage | |
| 173 | + | image-source: /images/ui/windows/minimap/zoomout | |
| 174 | + | image-auto-resize: true | |
| 175 | + | phantom: true | |
| 176 | + | &offset: -3 | |
| 177 | + | @onSetup: | | |
| 178 | + | self:setAnglePosition(self:getParent().minimap, 37.5, self.offset) | |
| 179 | + | ||
| 180 | + | MinimapToggleButton | |
| 181 | + | id: questTrackerButton | |
| 182 | + | draggable: true | |
| 183 | + | icon-source: /images/ui/windows/minimap/icon_questTracker | |
| 184 | + | @onClick: modules.game_minimap.btnQuestTracker(self) | |
| 185 | + | &offset: -3 | |
| 186 | + | &tooltip: 'Toggle quest tracker' | |
| 187 | + | @onSetup: | | |
| 188 | + | self:setAnglePosition(self:getParent().minimap, 95, self.offset) | |
| 189 | + | ||
| 190 | + | MinimapToggleButton | |
| 191 | + | id: teleportButton | |
| 192 | + | draggable: true | |
| 193 | + | image-source: /images/ui/windows/minimap/hearth_background | |
| 194 | + | icon-source: /images/ui/windows/minimap/icon_hearth | |
| 195 | + | icon-color: #36F991 | |
| 196 | + | $on: | |
| 197 | + | image-source: /images/ui/windows/minimap/hearth_background | |
| 198 | + | icon-color: #A6AAB2 | |
| 199 | + | $disabled: | |
| 200 | + | icon-color: #A6AAB2 | |
| 201 | + | opacity: 0.8 | |
| 202 | + | @onClick: modules.game_minimap.btnTeleport(self) | |
| 203 | + | &offset: -3 | |
| 204 | + | &tooltip: 'Teleport to Ravencrest' | |
| 205 | + | @onSetup: | | |
| 206 | + | self:setAnglePosition(self:getParent().minimap, 350, self.offset) | |
| 207 | + | ||
| 208 | + | UIWidget | |
| 209 | + | id: safeModeButtonPopup | |
| 210 | + | anchors.verticalCenter: safeModeButton.verticalCenter | |
| 211 | + | anchors.right: safeModeButton.left | |
| 212 | + | image-source: /images/ui/windows/minimap/background | |
| 213 | + | margin-right: -20 | |
| 214 | + | visible: false | |
| 215 | + | ||
| 216 | + | UIWidget | |
| 217 | + | size: 16 16 | |
| 218 | + | anchors.left: parent.left | |
| 219 | + | anchors.verticalCenter: parent.verticalCenter | |
| 220 | + | margin-left: 5 | |
| 221 | + | @onClick: modules.game_minimap.onPvpButtonClicked(self:getId()) | |
| 222 | + | opacity: 0.8 | |
| 223 | + | $hover: | |
| 224 | + | opacity: 1.0 | |
| 225 | + | ||
| 226 | + | UIWidget | |
| 227 | + | size: 16 16 | |
| 228 | + | anchors.left: parent.left | |
| 229 | + | anchors.verticalCenter: parent.verticalCenter | |
| 230 | + | margin-left: 30 | |
| 231 | + | @onClick: modules.game_minimap.onPvpButtonClicked(self:getId()) | |
| 232 | + | opacity: 0.8 | |
| 233 | + | $hover: | |
| 234 | + | opacity: 1.0 | |
| 235 | + | ||
| 236 | + | UIWidget | |
| 237 | + | width: 1 | |
| 238 | + | anchors.left: parent.left | |
| 239 | + | anchors.top: prev.top | |
| 240 | + | anchors.bottom: prev.bottom | |
| 241 | + | background-color: #3A3D43 | |
| 242 | + | margin-left: 25 | |
| 243 | + | ||
| 244 | + | MinimapExpandingButton | |
| 245 | + | id: safeModeButton | |
| 246 | + | draggable: true | |
| 247 | + | @onClick: | | |
| 248 | + | self:setOn(not self:isOn()) | |
| 249 | + | local popup = modules.game_minimap.safeModeButtonPopup | |
| 250 | + | if popup then popup:setVisible(self:isOn()) end | |
| 251 | + | &offset: 5 | |
| 252 | + | &tooltip:'Toggle player attack (PvP)' | |
| 253 | + | &setupFunc: | | |
| 254 | + | function(self) | |
| 255 | + | self:setAnglePosition(self:getParent().minimap, 225, self.offset) | |
| 256 | + | end | |
| 257 | + | ||
| 258 | + | UIWidget | |
| 259 | + | id: floorIndicatorButtonPopup | |
| 260 | + | anchors.verticalCenter: floorIndicatorButton.verticalCenter | |
| 261 | + | anchors.right: floorIndicatorButton.left | |
| 262 | + | image-source: /images/ui/windows/minimap/background | |
| 263 | + | margin-right: -20 | |
| 264 | + | visible: false | |
| 265 | + | ||
| 266 | + | UIWidget | |
| 267 | + | size: 16 16 | |
| 268 | + | anchors.left: parent.left | |
| 269 | + | anchors.verticalCenter: parent.verticalCenter | |
| 270 | + | margin-left: 5 | |
| 271 | + | @onClick: modules.game_minimap.onFloorIndicatorButtonClicked(self:getId()) | |
| 272 | + | opacity: 0.8 | |
| 273 | + | $hover: | |
| 274 | + | opacity: 1.0 | |
| 275 | + | ||
| 276 | + | UIWidget | |
| 277 | + | size: 16 16 | |
| 278 | + | anchors.left: parent.left | |
| 279 | + | anchors.verticalCenter: parent.verticalCenter | |
| 280 | + | margin-left: 30 | |
| 281 | + | @onClick: modules.game_minimap.onFloorIndicatorButtonClicked(self:getId()) | |
| 282 | + | opacity: 0.8 | |
| 283 | + | $hover: | |
| 284 | + | opacity: 1.0 | |
| 285 | + | ||
| 286 | + | UIWidget | |
| 287 | + | width: 1 | |
| 288 | + | anchors.left: parent.left | |
| 289 | + | anchors.top: prev.top | |
| 290 | + | anchors.bottom: prev.bottom | |
| 291 | + | background-color: #3A3D43 | |
| 292 | + | margin-left: 25 | |
| 293 | + | ||
| 294 | + | MinimapExpandingButton | |
| 295 | + | id: floorIndicatorButton | |
| 296 | + | draggable: true | |
| 297 | + | icon-source: /images/ui/windows/minimap/icon_floor_enabled | |
| 298 | + | @onClick: | | |
| 299 | + | self:setOn(not self:isOn()) | |
| 300 | + | &offset: -2 | |
| 301 | + | &tooltip:'Toggle floor change indicators' | |
| 302 | + | &setupFunc: | | |
| 303 | + | function(self) | |
| 304 | + | self:setAnglePosition(self:getParent().minimap, 130, self.offset) | |
| 305 | + | end | |
| 306 | + | ||
| 307 | + | MinimapToggleButton | |
| 308 | + | id: houseMakerButton | |
| 309 | + | draggable: true | |
| 310 | + | icon-source: /images/ui/windows/minimap/icon_house | |
| 311 | + | @onClick: modules.game_minimap.btnHouseMode(self) | |
| 312 | + | &offset: 2 | |
| 313 | + | &tooltip: 'Toggle house mode' | |
| 314 | + | &setupFunc: | | |
| 315 | + | function(self) | |
| 316 | + | self:setAnglePosition(self:getParent().minimap, 195, self.offset) | |
| 317 | + | end | |
| 318 | + | ||
| 319 | + | MinimapToggleButton | |
| 320 | + | id: channelSwitchButton | |
| 321 | + | draggable: true | |
| 322 | + | @onClick: modules.game_minimap.btnChannelSwitch(self) | |
| 323 | + | &offset: -3 | |
| 324 | + | &tooltip: 'Channel Selector' | |
| 325 | + | text-offset: 0 2 | |
| 326 | + | @onSetup: | | |
| 327 | + | self:setAnglePosition(self:getParent().minimap, 15, self.offset) | |
| 328 | + | ||
| 329 | + | MinimapToggleButton | |
| 330 | + | id: battleListButton | |
| 331 | + | draggable: true | |
| 332 | + | icon-source: /images/ui/windows/minimap/battle_list | |
| 333 | + | @onClick: modules.game_minimap.btnBattleList(self) | |
| 334 | + | &offset: 0 | |
| 335 | + | &tooltip: 'Battle List' | |
| 336 | + | text-offset: 0 2 | |
| 337 | + | icon-offset: -1 0 | |
| 338 | + | @onSetup: | | |
| 339 | + | self:setAnglePosition(self:getParent().minimap, 165, self.offset) | |
| 340 | + | ||
| 341 | + | MinimapToggleButton | |
| 342 | + | id: mailButton | |
| 343 | + | draggable: true | |
| 344 | + | icon-source: /images/ui/windows/minimap/mail | |
| 345 | + | @onClick: modules.game_minimap.btnMail(self) | |
| 346 | + | &offset: 2 | |
| 347 | + | &tooltip: 'Mailbox' | |
| 348 | + | $hover: | |
| 349 | + | icon-source: /images/ui/windows/minimap/mail_hover | |
| 350 | + | $on: | |
| 351 | + | icon-color: white | |
| 352 | + | text-offset: 0 2 | |
| 353 | + | @onSetup: | | |
| 354 | + | self:setAnglePosition(self:getParent().minimap, 300, self.offset) | |
| 355 | + | ||
| 356 | + | UIWidget | |
| 357 | + | id: iconWind | |
| 358 | + | image-source: /images/ui/windows/minimap/icon_wind | |
| 359 | + | size: 56 45 | |
| 360 | + | text: S | |
| 361 | + | text-offset: 31 0 | |
| 362 | + | @onSetup: | | |
| 363 | + | self:setAnglePosition(self:getParent().minimap, 330) | |
| 364 | + | ||
| 365 | + | ||
| 366 | + | MiniMapPlayerIcon < UIWidget | |
| 367 | + | anchors.top: parent.top | |
| 368 | + | anchors.left: parent.left | |
| 369 | + | size: 24 30 | |
| 370 | + | ||
| 371 | + | UICreature | |
| 372 | + | id: playerOutfit | |
| 373 | + | anchors.top: parent.top | |
| 374 | + | anchors.left: parent.left | |
| 375 | + | size: 20 20 | |
| 376 | + | margin-top: 2 | |
| 377 | + | margin-left: 2 | |
| 378 | + | clipping: true | |
| 379 | + | outfit-scale: 1 | |
| 380 | + | outfit-offset: 5 3 | |
| 381 | + | outfit-direction: 2 | |
| 382 | + | phantom: true | |
| 383 | + | ||
| 384 | + | UIWidget | |
| 385 | + | id: playerOutfitFrame | |
| 386 | + | anchors.fill: parent | |
| 387 | + | image-source: /images/ui/windows/minimap/arrows/worldmap/player_arrow | |
| 388 | + | image-auto-resize: true | |
| 389 | + | phantom: true | |
| 390 | + | ||
| 391 | + | MiniMapPartyIcon < UIWidget | |
| 392 | + | anchors.top: parent.top | |
| 393 | + | anchors.left: parent.left | |
| 394 | + | size: 24 30 | |
| 395 | + | ||
| 396 | + | UICreature | |
| 397 | + | id: partyOutfit | |
| 398 | + | anchors.top: parent.top | |
| 399 | + | anchors.left: parent.left | |
| 400 | + | size: 20 20 | |
| 401 | + | margin-top: 2 | |
| 402 | + | margin-left: 2 | |
| 403 | + | clipping: true | |
| 404 | + | outfit-scale: 1 | |
| 405 | + | outfit-offset: 5 3 | |
| 406 | + | outfit-direction: 2 | |
| 407 | + | phantom: true | |
| 408 | + | ||
| 409 | + | UIWidget | |
| 410 | + | id: partyOutfitFrame | |
| 411 | + | anchors.fill: parent | |
| 412 | + | image-source: /images/ui/windows/minimap/arrow/frame_party | |
| 413 | + | image-auto-resize: true | |
| 414 | + | margin-top: 1 | |
| 415 | + | phantom: true |