* Now loads all market items. * Can filter market items. * Will load market offers on items. * Edited some UI images.master
parent
49f4c1c94b
commit
483487ab09
After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 457 B After Width: | Height: | Size: 457 B |
Before Width: | Height: | Size: 415 B After Width: | Height: | Size: 415 B |
After Width: | Height: | Size: 2.9 KiB |
@ -0,0 +1,45 @@
|
||||
MarketComboBoxPopupMenuButton < UIButton
|
||||
height: 18
|
||||
font: verdana-11px-antialised
|
||||
text-align: left
|
||||
text-offset: 2 0
|
||||
color: #aaaaaa
|
||||
background-color: alpha
|
||||
|
||||
$hover !disabled:
|
||||
color: #ffffff
|
||||
background-color: #ffffff44
|
||||
|
||||
$disabled:
|
||||
color: #555555
|
||||
|
||||
MarketComboBoxPopupMenuSeparator < UIWidget
|
||||
image-source: /images/combobox_rounded.png
|
||||
image-repeated: true
|
||||
image-clip: 1 59 89 1
|
||||
height: 1
|
||||
phantom: true
|
||||
|
||||
MarketComboBoxPopupMenu < UIPopupMenu
|
||||
image-source: /images/combobox_rounded.png
|
||||
image-clip: 0 60 89 20
|
||||
image-border: 1
|
||||
image-border-top: 0
|
||||
padding: 1
|
||||
|
||||
MarketComboBox < UIComboBox
|
||||
font: verdana-11px-antialised
|
||||
color: #aaaaaa
|
||||
size: 86 20
|
||||
text-offset: 3 0
|
||||
text-align: left
|
||||
image-source: /images/combobox_rounded.png
|
||||
image-border: 1
|
||||
image-border-right: 17
|
||||
image-clip: 0 0 89 20
|
||||
|
||||
$hover !disabled:
|
||||
image-clip: 0 20 89 20
|
||||
|
||||
$on:
|
||||
image-clip: 0 40 89 20
|
@ -1,10 +1,87 @@
|
||||
OfferListLabel < Label
|
||||
font: verdana-11px-monochrome
|
||||
background-color: alpha
|
||||
text-offset: 2 0
|
||||
focusable: true
|
||||
color: #cccccc
|
||||
|
||||
$focus:
|
||||
background-color: #294f6d
|
||||
color: #ffffff
|
||||
|
||||
Panel
|
||||
background-color: #22283399
|
||||
margin: 1
|
||||
|
||||
Button
|
||||
!text: tr('Buy Now')
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: next.bottom
|
||||
margin-right: 6
|
||||
width: 80
|
||||
//@onClick: g_game.closeNpcTrade()
|
||||
|
||||
Label
|
||||
!text: tr('Item Offers')
|
||||
!text: tr('Sell Offers')
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
margin-top: 45
|
||||
margin-left: 3
|
||||
margin-top: 44
|
||||
margin-left: 6
|
||||
|
||||
TextList
|
||||
id: sellingList
|
||||
anchors.top: prev.bottom
|
||||
anchors.left: prev.left
|
||||
anchors.right: parent.right
|
||||
height: 120
|
||||
margin-top: 5
|
||||
margin-bottom: 5
|
||||
margin-right: 6
|
||||
padding: 1
|
||||
focusable: false
|
||||
vertical-scrollbar: sellingListScrollBar
|
||||
|
||||
VerticalScrollBar
|
||||
id: sellingListScrollBar
|
||||
anchors.top: prev.top
|
||||
anchors.bottom: prev.bottom
|
||||
anchors.right: prev.right
|
||||
step: 28
|
||||
pixels-scroll: true
|
||||
|
||||
Button
|
||||
!text: tr('Sell Now')
|
||||
anchors.right: parent.right
|
||||
anchors.top: prev.bottom
|
||||
margin-top: 5
|
||||
margin-right: 6
|
||||
width: 80
|
||||
//@onClick: g_game.closeNpcTrade()
|
||||
|
||||
Label
|
||||
!text: tr('Buy Offers')
|
||||
anchors.top: prev.top
|
||||
anchors.left: parent.left
|
||||
margin-top: 9
|
||||
margin-left: 6
|
||||
|
||||
TextList
|
||||
id: buyingList
|
||||
anchors.top: prev.bottom
|
||||
anchors.left: prev.left
|
||||
anchors.right: parent.right
|
||||
margin-top: 5
|
||||
margin-bottom: 5
|
||||
margin-right: 6
|
||||
height: 120
|
||||
padding: 1
|
||||
focusable: false
|
||||
vertical-scrollbar: buyingListScrollBar
|
||||
|
||||
VerticalScrollBar
|
||||
id: buyingListScrollBar
|
||||
anchors.top: prev.top
|
||||
anchors.bottom: prev.bottom
|
||||
anchors.right: prev.right
|
||||
step: 28
|
||||
pixels-scroll: true
|
@ -0,0 +1,48 @@
|
||||
ThingCategoryItem = 0
|
||||
ThingCategoryCreature = 1
|
||||
ThingCategoryEffect = 2
|
||||
ThingCategoryMissile = 3
|
||||
ThingInvalidCategory = 4
|
||||
ThingLastCategory = ThingInvalidCategory
|
||||
|
||||
ThingAttrGround = 0
|
||||
ThingAttrGroundBorder = 1
|
||||
ThingAttrOnBottom = 2
|
||||
ThingAttrOnTop = 3
|
||||
ThingAttrContainer = 4
|
||||
ThingAttrStackable = 5
|
||||
ThingAttrForceUse = 6
|
||||
ThingAttrMultiUse = 7
|
||||
ThingAttrWritable = 8
|
||||
ThingAttrWritableOnce = 9
|
||||
ThingAttrFluidContainer = 10
|
||||
ThingAttrSplash = 11
|
||||
ThingAttrNotWalkable = 12
|
||||
ThingAttrNotMoveable = 13
|
||||
ThingAttrBlockProjectile = 14
|
||||
ThingAttrNotPathable = 15
|
||||
ThingAttrPickupable = 16
|
||||
ThingAttrHangable = 17
|
||||
ThingAttrHookSouth = 18
|
||||
ThingAttrHookEast = 19
|
||||
ThingAttrRotateable = 20
|
||||
ThingAttrLight = 21
|
||||
ThingAttrDontHide = 22
|
||||
ThingAttrTranslucent = 23
|
||||
ThingAttrDisplacement = 24
|
||||
ThingAttrElevation = 25
|
||||
ThingAttrLyingCorpse = 26
|
||||
ThingAttrAnimateAlways = 27
|
||||
ThingAttrMinimapColor = 28
|
||||
ThingAttrLensHelp = 29
|
||||
ThingAttrFullGround = 30
|
||||
ThingAttrLook = 31
|
||||
ThingAttrCloth = 32
|
||||
ThingAttrMarket = 33
|
||||
ThingAttrChargeable = 254 -- deprecated
|
||||
ThingLastAttr = 255
|
||||
|
||||
SpriteMaskRed = 1
|
||||
SpriteMaskGreen = 2
|
||||
SpriteMaskBlue = 3
|
||||
SpriteMaskYellow = 4
|
Loading…
Reference in new issue