mirror of
https://github.com/edubart/otclient.git
synced 2025-05-22 19:59:21 +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.
27 lines
498 B
Plaintext
27 lines
498 B
Plaintext
MarketWindow < MainWindow
|
|
id: marketWindow
|
|
!text: tr('Market')
|
|
size: 680 460
|
|
|
|
@onEnter: self:hide()
|
|
@onEscape: self:hide()
|
|
|
|
// Main Panel Window
|
|
|
|
MarketTabBar
|
|
id: mainTabBar
|
|
width: 164
|
|
height: 25
|
|
anchors.top: parent.top
|
|
anchors.left: parent.left
|
|
|
|
Panel
|
|
id: mainTabContent
|
|
anchors.top: prev.bottom
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
anchors.bottom: parent.bottom
|
|
padding: 3
|
|
border-width: 1
|
|
border-color: #000000
|