mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
reorganize modules
This commit is contained in:
51
modules/core_styles/styles/buttons.otui
Normal file
51
modules/core_styles/styles/buttons.otui
Normal file
@@ -0,0 +1,51 @@
|
||||
Button < UIButton
|
||||
font: verdana-11px-antialised
|
||||
background-color: white
|
||||
color: #f0ad4dff
|
||||
size: 106 24
|
||||
text-translate: 0 0
|
||||
border-image:
|
||||
source: /core_styles/images/button.png
|
||||
border: 5
|
||||
|
||||
state.hover:
|
||||
border-image:
|
||||
source: /core_styles/images/button_hover.png
|
||||
border: 5
|
||||
|
||||
state.pressed:
|
||||
text-translate: 1 1
|
||||
border-image:
|
||||
source: /core_styles/images/button_down.png
|
||||
border: 5
|
||||
|
||||
state.disabled:
|
||||
color: #999999
|
||||
background-color: #ffffff88
|
||||
|
||||
TopButton < UIButton
|
||||
background-color: white
|
||||
size: 26 25
|
||||
text-translate: 0 0
|
||||
border-image:
|
||||
source: /core_styles/images/top_button.png
|
||||
size: 26 25
|
||||
border: 3
|
||||
|
||||
state.hover:
|
||||
border-image:
|
||||
source: /core_styles/images/top_button.png
|
||||
size: 26 25
|
||||
offset: 26 0
|
||||
border: 3
|
||||
|
||||
state.pressed:
|
||||
text-translate: 1 1
|
||||
border-image:
|
||||
source: /core_styles/images/top_button.png
|
||||
size: 26 25
|
||||
offset: 52 0
|
||||
border: 3
|
||||
|
||||
state.disabled:
|
||||
background-color: #ffffff66
|
6
modules/core_styles/styles/labels.otui
Normal file
6
modules/core_styles/styles/labels.otui
Normal file
@@ -0,0 +1,6 @@
|
||||
Label < UILabel
|
||||
font: verdana-11px-antialised
|
||||
color: #aaaaaa
|
||||
|
||||
LargerLabel < Label
|
||||
|
11
modules/core_styles/styles/lineedits.otui
Normal file
11
modules/core_styles/styles/lineedits.otui
Normal file
@@ -0,0 +1,11 @@
|
||||
LineEdit < UILineEdit
|
||||
font: verdana-11px-antialised
|
||||
color: #aaaaaa
|
||||
size: 86 20
|
||||
text margin: 3
|
||||
border-image:
|
||||
source: /core_styles/images/panel_flat.png
|
||||
border: 1
|
||||
|
||||
PasswordLineEdit < LineEdit
|
||||
text hidden: true
|
5
modules/core_styles/styles/listboxes.otui
Normal file
5
modules/core_styles/styles/listboxes.otui
Normal file
@@ -0,0 +1,5 @@
|
||||
TextList < UIWidget
|
||||
layout: verticalBox
|
||||
border-image:
|
||||
source: /core_styles/images/panel_flat.png
|
||||
border: 4
|
23
modules/core_styles/styles/panels.otui
Normal file
23
modules/core_styles/styles/panels.otui
Normal file
@@ -0,0 +1,23 @@
|
||||
Panel < UIWidget
|
||||
phantom: true
|
||||
|
||||
FlatPanel < Panel
|
||||
border-image:
|
||||
source: /core_styles/images/panel_flat.png
|
||||
border: 4
|
||||
|
||||
TopPanel < Panel
|
||||
height: 34
|
||||
image:
|
||||
source: /core_styles/images/top_panel.png
|
||||
repeated: true
|
||||
|
||||
RoundedPanel < Panel
|
||||
background-color: #ffffffdd
|
||||
border-image:
|
||||
source: /core_styles/images/panel_rounded.png
|
||||
border: 4
|
||||
|
||||
|
||||
RectPanel < UIWidget
|
||||
image: /core_styles/images/empty_rect.png
|
6
modules/core_styles/styles/separators.otui
Normal file
6
modules/core_styles/styles/separators.otui
Normal file
@@ -0,0 +1,6 @@
|
||||
HorizontalSeparator < UIWidget
|
||||
border-image:
|
||||
source: /core_styles/images/horizontal_separator.png
|
||||
border.top: 2
|
||||
height: 2
|
||||
phantom: true
|
17
modules/core_styles/styles/windows.otui
Normal file
17
modules/core_styles/styles/windows.otui
Normal file
@@ -0,0 +1,17 @@
|
||||
Window < UIWindow
|
||||
font: verdana-11px-antialised
|
||||
size: 200 200
|
||||
opacity: 255
|
||||
background-color: white
|
||||
head height: 20
|
||||
head text align: center
|
||||
border-image:
|
||||
source: /core_styles/images/window.png
|
||||
border: 4
|
||||
border.top: 20
|
||||
|
||||
state.pressed:
|
||||
opacity: 192
|
||||
|
||||
MainWindow < Window
|
||||
anchors.centerIn: parent
|
Reference in New Issue
Block a user