reorganize modules

This commit is contained in:
Eduardo Bart
2011-11-02 01:02:56 -02:00
parent 2304ff3529
commit 5ab0e6f2ac
59 changed files with 147 additions and 208 deletions

View 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

View File

@@ -0,0 +1,6 @@
Label < UILabel
font: verdana-11px-antialised
color: #aaaaaa
LargerLabel < Label

View 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

View File

@@ -0,0 +1,5 @@
TextList < UIWidget
layout: verticalBox
border-image:
source: /core_styles/images/panel_flat.png
border: 4

View 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

View File

@@ -0,0 +1,6 @@
HorizontalSeparator < UIWidget
border-image:
source: /core_styles/images/horizontal_separator.png
border.top: 2
height: 2
phantom: true

View 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