tibia-client/modules/game_console/console.otui

120 lines
2.6 KiB
Plaintext
Raw Normal View History

ConsoleLabel < UILabel
2011-11-04 00:34:32 +01:00
font: verdana-11px-antialised
height: 14
color: yellow
margin-left: 2
text-wrap: true
text-auto-resize: true
ConsoleTabBar < TabBar
ConsoleTabBarPanel < TabBarPanel
id: consoleTab
ScrollablePanel
id: consoleBuffer
anchors.fill: parent
margin-right: 12
vertical-scrollbar: consoleScrollBar
layout:
type: verticalBox
align-bottom: true
border-width: 1
border-color: #101317
background: #00000044
inverted-scroll: true
padding: 1
VerticalScrollBar
id: consoleScrollBar
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.right: parent.right
step: 14
2012-03-28 02:33:35 +02:00
pixels-scroll: true
ConsoleTabBarButton < TabBarButton
Panel
id: consolePanel
anchors.fill: parent
TabButton
id: prevChannelButton
icon: /core_styles/icons/leftarrow.png
anchors.left: parent.left
anchors.top: parent.top
margin-left: 6
margin-top: 6
ConsoleTabBar
id: consoleTabBar
height: 20
anchors.left: prev.right
anchors.top: prev.top
anchors.right: next.left
margin-left: 5
TabButton
id: nextChannelButton
icon: /core_styles/icons/rightarrow.png
2012-01-14 02:37:15 +01:00
anchors.right: next.left
anchors.top: parent.top
margin-right: 5
margin-top: 6
TabButton
2012-01-14 02:37:15 +01:00
id: closeChannelButton
2012-02-03 05:32:39 +01:00
tooltip: Close this channel (Ctrl+E)
2012-01-14 02:37:15 +01:00
icon: /core_styles/icons/closechannel.png
anchors.right: next.left
anchors.top: parent.top
2012-02-03 05:32:39 +01:00
enabled: false
2012-01-14 02:37:15 +01:00
margin-right: 5
margin-top: 6
2012-02-03 05:32:39 +01:00
@onClick: Console.removeCurrentTab()
2012-01-14 02:37:15 +01:00
TabButton
2012-01-14 02:37:15 +01:00
id: channelsButton
2012-02-03 05:32:39 +01:00
tooltip: Open new channel (Ctrl+O)
2012-01-14 02:37:15 +01:00
icon: /core_styles/icons/channels.png
anchors.right: parent.right
anchors.top: parent.top
margin-right: 5
margin-top: 6
2012-02-08 22:23:15 +01:00
@onClick: g_game.requestChannels()
2012-01-14 02:37:15 +01:00
Panel
id: consoleContentPanel
anchors.top: prev.bottom
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: consoleTextEdit.top
2011-11-17 22:41:02 +01:00
margin-left: 6
margin-right: 6
margin-bottom: 4
margin-top: 4
padding: 1
focusable: false
TabButton
id: sayModeButton
icon: /core_styles/icons/say.png
tooltip: Adjust volume
&sayMode: 2
size: 20 20
anchors.left: parent.left
anchors.bottom: parent.bottom
margin-left: 6
margin-bottom: 6
@onClick: Console.sayModeChange()
TextEdit
id: consoleTextEdit
anchors.left: sayModeButton.right
anchors.right: parent.right
anchors.bottom: parent.bottom
2011-11-17 22:41:02 +01:00
margin-right: 6
margin-left: 6
margin-bottom: 6
shift-navigation: true