2012-03-18 14:34:39 +01:00
|
|
|
MiniWindow < UIMiniWindow
|
|
|
|
font: verdana-11px-antialised
|
|
|
|
icon-rect: 4 4 16 16
|
|
|
|
width: 192
|
|
|
|
height: 200
|
2012-04-03 01:09:47 +02:00
|
|
|
text-offset: 24 5
|
2012-03-18 14:34:39 +01:00
|
|
|
text-align: topLeft
|
2012-06-20 02:15:56 +02:00
|
|
|
image-source: /images/miniwindow.png
|
2012-03-18 14:34:39 +01:00
|
|
|
image-border: 4
|
|
|
|
image-border-top: 23
|
2012-03-28 16:10:21 +02:00
|
|
|
image-border-bottom: 4
|
|
|
|
focusable: false
|
|
|
|
&minimizedHeight: 24
|
2012-03-18 14:34:39 +01:00
|
|
|
|
|
|
|
$on:
|
2012-03-28 16:10:21 +02:00
|
|
|
image-border-bottom: 2
|
2012-03-23 14:48:05 +01:00
|
|
|
|
2012-03-27 20:14:35 +02:00
|
|
|
UIButton
|
|
|
|
id: closeButton
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.right: parent.right
|
|
|
|
margin-top: 5
|
|
|
|
margin-right: 5
|
|
|
|
size: 14 14
|
2012-06-20 02:15:56 +02:00
|
|
|
image-source: /images/miniwindowbuttons.png
|
2012-03-28 16:10:21 +02:00
|
|
|
image-clip: 28 0 14 14
|
2012-03-27 20:14:35 +02:00
|
|
|
|
|
|
|
$hover:
|
2012-03-28 16:10:21 +02:00
|
|
|
image-clip: 28 14 14 14
|
2012-03-27 20:14:35 +02:00
|
|
|
|
|
|
|
$pressed:
|
2012-03-28 16:10:21 +02:00
|
|
|
image-clip: 28 28 14 14
|
2012-03-27 20:14:35 +02:00
|
|
|
|
|
|
|
UIButton
|
|
|
|
id: minimizeButton
|
|
|
|
anchors.top: closeButton.top
|
|
|
|
anchors.right: closeButton.left
|
|
|
|
margin-right: 3
|
|
|
|
size: 14 14
|
2012-06-20 02:15:56 +02:00
|
|
|
image-source: /images/miniwindowbuttons.png
|
2012-03-27 20:14:35 +02:00
|
|
|
image-clip: 0 0 14 14
|
|
|
|
|
|
|
|
$hover:
|
|
|
|
image-clip: 0 14 14 14
|
|
|
|
|
|
|
|
$pressed:
|
|
|
|
image-clip: 0 28 14 14
|
|
|
|
|
2012-03-28 16:10:21 +02:00
|
|
|
$on:
|
|
|
|
image-clip: 14 0 14 14
|
|
|
|
|
|
|
|
$on hover:
|
|
|
|
image-clip: 14 14 14 14
|
|
|
|
|
|
|
|
$on pressed:
|
|
|
|
image-clip: 14 28 14 14
|
|
|
|
|
2012-03-27 00:24:01 +02:00
|
|
|
VerticalScrollBar
|
|
|
|
id: miniwindowScrollBar
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.right: parent.right
|
|
|
|
step: 14
|
|
|
|
margin-top: 22
|
2012-08-20 23:58:43 +02:00
|
|
|
margin-right: 3
|
2012-03-28 02:33:35 +02:00
|
|
|
margin-bottom: 3
|
|
|
|
pixels-scroll: true
|
|
|
|
|
2012-06-11 07:38:08 +02:00
|
|
|
$!on:
|
2012-04-03 01:19:27 +02:00
|
|
|
width: 0
|
|
|
|
|
2012-03-28 02:33:35 +02:00
|
|
|
ResizeBorder
|
|
|
|
id: bottomResizeBorder
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
height: 3
|
2012-08-18 07:04:01 +02:00
|
|
|
minimum: 48
|
2012-08-20 23:58:43 +02:00
|
|
|
margin-left: 3
|
|
|
|
margin-right: 3
|
2012-03-28 02:33:35 +02:00
|
|
|
background: #ffffff88
|
2012-03-27 00:24:01 +02:00
|
|
|
|
|
|
|
MiniWindowContents < ScrollablePanel
|
2012-03-28 16:10:21 +02:00
|
|
|
id: contentsPanel
|
2012-03-27 00:24:01 +02:00
|
|
|
anchors.fill: parent
|
2012-04-03 01:19:27 +02:00
|
|
|
anchors.right: miniwindowScrollBar.left
|
2012-08-20 23:58:43 +02:00
|
|
|
margin-left: 3
|
|
|
|
margin-bottom: 3
|
|
|
|
margin-top: 22
|
2012-08-24 10:18:15 +02:00
|
|
|
margin-right: 1
|
2012-03-27 00:24:01 +02:00
|
|
|
vertical-scrollbar: miniwindowScrollBar
|
|
|
|
|
2012-03-23 14:48:05 +01:00
|
|
|
BorderlessGameWindow < UIWindow
|
2012-03-27 00:24:01 +02:00
|
|
|
focusable: false
|
2012-03-28 16:10:21 +02:00
|
|
|
margin: 2
|