mirror of
https://github.com/edubart/otclient.git
synced 2025-05-24 12:44:28 +02:00

* Can now create market offers with fully working UI. * All filtering is now completed (just need to finish word searching). * Added some user friendly features to offer selections and item displays (show amount in depot). * Some more UI ascetics. * Some other minor market fixes. TODO: * Finishing applying changes for latest module updates by edubart. * Finish buying/selling existing offers. * Word searching items. * Offer management. * Full cipsoft tibia testing.
34 lines
753 B
Plaintext
34 lines
753 B
Plaintext
MarketWindow < MainWindow
|
|
id: marketWindow
|
|
!text: tr('Market')
|
|
size: 700 510
|
|
|
|
@onEnter: self:hide() self:unlock() Market.clearSelectedItem()
|
|
@onEscape: self:hide() self:unlock() Market.clearSelectedItem()
|
|
|
|
// 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
|
|
|
|
Label
|
|
id: balanceLabel
|
|
!text: tr('Balance: 10000')
|
|
font: verdana-11px-rounded
|
|
text-offset: 0 2
|
|
anchors.top: parent.top
|
|
anchors.right: parent.right |