mirror of
https://github.com/edubart/otclient.git
synced 2025-05-05 12:09: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.
34 lines
570 B
Plaintext
34 lines
570 B
Plaintext
MarketTabBar < UITabBar
|
|
size: 80 20
|
|
MarketTabBarPanel < Panel
|
|
MarketTabBarButton < UIButton
|
|
size: 20 25
|
|
image-source: /images/tabbutton.png
|
|
image-clip: 0 0 20 20
|
|
image-border: 2
|
|
icon-color: white
|
|
color: #aaaaaa
|
|
anchors.top: parent.top
|
|
padding: 5
|
|
|
|
$first:
|
|
anchors.left: parent.left
|
|
|
|
$!first:
|
|
anchors.left: prev.right
|
|
|
|
$hover !checked:
|
|
image-clip: 0 20 20 20
|
|
color: white
|
|
|
|
$disabled:
|
|
image-color: #ffffff66
|
|
icon-color: #888888
|
|
|
|
$checked:
|
|
image-clip: 0 20 20 20
|
|
color: #ffffff
|
|
|
|
$on !checked:
|
|
color: #f55e5e
|