merge total remake

This commit is contained in:
Eduardo Bart
2011-08-13 23:09:11 -03:00
parent 0af7856475
commit 55862b07ad
253 changed files with 6777 additions and 8463 deletions

View File

@@ -0,0 +1,19 @@
Button < UIButton
font: helvetica-11px-bold
color: 240 173 77 255
size: 106 24
border-image:
source: /core_ui/images/button.png
border: 5
state.hover:
border-image:
source: /core_ui/images/button_hover.png
border: 5
state.down:
text-translate: 1 1
border-image:
source: /core_ui/images/button_down.png
border: 5

View File

@@ -0,0 +1,18 @@
Module
name: core_ui
description: Contains ui styles used by other modules
author: OTClient team
website: https://github.com/edubart/otclient
version: 0.2
autoLoad: true
dependencies:
- core_fonts
onLoad: |
importStyles('buttons.otui')
importStyles('labels.otui')
importStyles('panels.otui')
importStyles('separators.otui')
importStyles('lineedits.otui')
importStyles('windows.otui')
return true

Binary file not shown.

After

Width:  |  Height:  |  Size: 825 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 833 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 859 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@@ -0,0 +1,5 @@
Label < UILabel
LargerLabel < Label
font: helvetica-12px-bold

View File

@@ -0,0 +1,7 @@
LineEdit < UILineEdit
size: 86 20
text-margin: 3
border-image:
source: /core_ui/images/panel_flat.png
border: 1

View File

@@ -0,0 +1,11 @@
Panel < UIWidget
FlatPanel < Panel
border-image:
source: /core_ui/images/panel_flat.png
border: 4
RoundedGridPanel < Panel
border-image:
source: /core_ui/images/panel_rounded.png
border: 4

View File

@@ -0,0 +1,4 @@
HorizontalSeparator < UIWidget
border-image:
source: /core_ui/images/horizontal_separator.png
border.top: 2

View File

@@ -0,0 +1,20 @@
Window < UIWindow
size: 200 100
head:
height: 20
border-image:
source: /core_ui/images/window.png
size: 256 19
border: 4
border.bottom: 3
body:
border-image:
source: /core_ui/images/window.png
size: 256 237
offset: 0 19
border: 4
border.top: 0
MainWindow < Window
anchors.centerIn: parent