You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
107 lines
2.0 KiB
107 lines
2.0 KiB
12 years ago
|
MiniWindow < UIMiniWindow
|
||
|
font: verdana-11px-antialised
|
||
|
icon-rect: 4 4 16 16
|
||
|
width: 192
|
||
|
height: 200
|
||
12 years ago
|
text-offset: 24 5
|
||
12 years ago
|
text-align: topLeft
|
||
11 years ago
|
image-source: /images/ui/miniwindow
|
||
12 years ago
|
image-border: 4
|
||
|
image-border-top: 23
|
||
12 years ago
|
image-border-bottom: 4
|
||
|
focusable: false
|
||
|
&minimizedHeight: 24
|
||
12 years ago
|
|
||
|
$on:
|
||
12 years ago
|
image-border-bottom: 2
|
||
12 years ago
|
|
||
12 years ago
|
UIWidget
|
||
|
id: miniwindowTopBar
|
||
|
anchors.top: parent.top
|
||
|
anchors.right: parent.right
|
||
|
anchors.left: parent.left
|
||
|
margin-right: 3
|
||
|
margin-left: 3
|
||
|
margin-top: 3
|
||
|
size: 258 18
|
||
|
phantom: true
|
||
|
|
||
12 years ago
|
UIButton
|
||
|
id: closeButton
|
||
|
anchors.top: parent.top
|
||
|
anchors.right: parent.right
|
||
|
margin-top: 5
|
||
|
margin-right: 5
|
||
|
size: 14 14
|
||
11 years ago
|
image-source: /images/ui/miniwindow_buttons
|
||
12 years ago
|
image-clip: 28 0 14 14
|
||
12 years ago
|
|
||
|
$hover:
|
||
12 years ago
|
image-clip: 28 14 14 14
|
||
12 years ago
|
|
||
|
$pressed:
|
||
12 years ago
|
image-clip: 28 28 14 14
|
||
12 years ago
|
|
||
|
UIButton
|
||
|
id: minimizeButton
|
||
|
anchors.top: closeButton.top
|
||
|
anchors.right: closeButton.left
|
||
|
margin-right: 3
|
||
|
size: 14 14
|
||
11 years ago
|
image-source: /images/ui/miniwindow_buttons
|
||
12 years ago
|
image-clip: 0 0 14 14
|
||
|
|
||
|
$hover:
|
||
|
image-clip: 0 14 14 14
|
||
|
|
||
|
$pressed:
|
||
|
image-clip: 0 28 14 14
|
||
|
|
||
12 years ago
|
$on:
|
||
|
image-clip: 14 0 14 14
|
||
|
|
||
|
$on hover:
|
||
|
image-clip: 14 14 14 14
|
||
|
|
||
|
$on pressed:
|
||
|
image-clip: 14 28 14 14
|
||
|
|
||
12 years ago
|
VerticalScrollBar
|
||
|
id: miniwindowScrollBar
|
||
|
anchors.top: parent.top
|
||
|
anchors.bottom: parent.bottom
|
||
|
anchors.right: parent.right
|
||
|
step: 14
|
||
|
margin-top: 22
|
||
12 years ago
|
margin-right: 3
|
||
12 years ago
|
margin-bottom: 3
|
||
|
pixels-scroll: true
|
||
|
|
||
12 years ago
|
$!on:
|
||
12 years ago
|
width: 0
|
||
|
|
||
12 years ago
|
ResizeBorder
|
||
|
id: bottomResizeBorder
|
||
|
anchors.bottom: parent.bottom
|
||
|
anchors.left: parent.left
|
||
|
anchors.right: parent.right
|
||
|
height: 3
|
||
12 years ago
|
minimum: 48
|
||
12 years ago
|
margin-left: 3
|
||
|
margin-right: 3
|
||
12 years ago
|
background: #ffffff88
|
||
12 years ago
|
|
||
|
MiniWindowContents < ScrollablePanel
|
||
12 years ago
|
id: contentsPanel
|
||
12 years ago
|
anchors.fill: parent
|
||
12 years ago
|
anchors.right: miniwindowScrollBar.left
|
||
12 years ago
|
margin-left: 3
|
||
|
margin-bottom: 3
|
||
|
margin-top: 22
|
||
12 years ago
|
margin-right: 1
|
||
12 years ago
|
vertical-scrollbar: miniwindowScrollBar
|
||
|
|
||
12 years ago
|
BorderlessGameWindow < UIWindow
|
||
12 years ago
|
focusable: false
|
||
12 years ago
|
margin: 2
|