mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
Interface edits, additions, and fixes:
* Added a new module for exiting the client (client_exit). * Added tab spacing to the UITabBar class. * Added tab popup menus for things like channel tabs. * Impelemented channel tab popup menus (still need to be finished). * Fixed UITabBar tab draging (will now change after dragged half way over the next tab, not 2 pixels). * Fixes to the client_options module. * Edited some UI settings. * Changed game_cooldown and game_spelllist menu button icons. * Fixed some typos.
This commit is contained in:
@@ -6,8 +6,8 @@ ConsoleLabel < UILabel
|
||||
text-wrap: true
|
||||
text-auto-resize: true
|
||||
|
||||
ConsoleTabBar < TabBarRounded
|
||||
ConsoleTabBarPanel < TabBarRoundedPanel
|
||||
ConsoleTabBar < TabBar
|
||||
ConsoleTabBarPanel < TabBarPanel
|
||||
id: consoleTab
|
||||
|
||||
ScrollablePanel
|
||||
@@ -57,7 +57,9 @@ ConsoleTabBarPanel < TabBarRoundedPanel
|
||||
step: 14
|
||||
pixels-scroll: true
|
||||
|
||||
ConsoleTabBarButton < TabBarRoundedButton
|
||||
ConsoleTabBarButton < TabBarButton
|
||||
height: 28
|
||||
padding: 15
|
||||
|
||||
Panel
|
||||
id: consolePanel
|
||||
@@ -73,11 +75,12 @@ Panel
|
||||
|
||||
ConsoleTabBar
|
||||
id: consoleTabBar
|
||||
height: 20
|
||||
height: 28
|
||||
anchors.left: prev.right
|
||||
anchors.top: prev.top
|
||||
anchors.top: parent.top
|
||||
anchors.right: next.left
|
||||
margin-left: 5
|
||||
margin-top: 3
|
||||
moveable: true
|
||||
|
||||
TabButton
|
||||
@@ -109,8 +112,7 @@ Panel
|
||||
margin-top: 6
|
||||
@onClick: |
|
||||
local consoleTabBar = self:getParent():getChildById('consoleTabBar')
|
||||
consoleTabBar:getCurrentTab().tabPanel:getChildById('consoleBuffer'):destroyChildren()
|
||||
consoleTabBar:getCurrentTab().tabPanel:getChildById('consoleBufferHighlight'):destroyChildren()
|
||||
clearChannel(consoleTabBar)
|
||||
|
||||
TabButton
|
||||
id: channelsButton
|
||||
|
Reference in New Issue
Block a user