mirror of
https://github.com/edubart/otclient.git
synced 2025-05-22 03:39:20 +02:00

* Started building the market UI. * More work on the market functionality. * Fixes to the market protocol. (Known issue: if I use safeSend method from Market (like so: MarketProtocol.send~) is thinks it is a bot). * Fixes to the market offer class. * Outfit window will no longer display the mount box if you are using protocol < 870. * Added getFeature to playermount module. * Added isMarketable and getMarketData to the lua binding. * Added lua casts for MarketData. * Fixed typo in the module manager. * Added new 'light flat panel' for more variation (can change later) will require some graphics for market. * Added new functions to table lib. * Fixed some styling issues from previous commits.
50 lines
961 B
Plaintext
50 lines
961 B
Plaintext
Panel
|
|
|
|
MarketTabBar
|
|
id: leftTabBar
|
|
width: 107
|
|
height:25
|
|
anchors.top: parent.top
|
|
anchors.left: parent.left
|
|
|
|
Panel
|
|
id: leftTabContent
|
|
width: 180
|
|
anchors.top: prev.bottom
|
|
anchors.left: prev.left
|
|
anchors.bottom: parent.bottom
|
|
border-width: 1
|
|
border-color: #000000
|
|
|
|
MarketTabBar
|
|
id: rightTabBar
|
|
width: 157
|
|
height:25
|
|
anchors.top: parent.top
|
|
anchors.right: parent.right
|
|
|
|
Panel
|
|
id: rightTabContent
|
|
anchors.top: prev.bottom
|
|
anchors.left: leftTabContent.right
|
|
anchors.right: prev.right
|
|
anchors.bottom: parent.bottom
|
|
margin-left:3
|
|
border-width: 1
|
|
border-color: #000000
|
|
|
|
Item
|
|
id: selectedItem
|
|
phantom: true
|
|
anchors.top: rightTabBar.bottom
|
|
anchors.left: rightTabContent.left
|
|
margin-top: 3
|
|
margin-left: 3
|
|
|
|
Label
|
|
id: nameLabel
|
|
!text: tr('No item selected.')
|
|
anchors.top: prev.top
|
|
anchors.left: prev.right
|
|
margin-left: 5
|