init menu

This commit is contained in:
Eduardo Bart
2012-01-02 18:46:40 -02:00
parent a52ff707fe
commit 43c16a1643
21 changed files with 217 additions and 78 deletions

View File

@@ -51,17 +51,3 @@ TopButton < UIButton
$disabled:
background-color: #ffffff66
MenuButton < UIButton
color: white
size: 40 18
text-align: center
border-image:
source: /core_styles/images/menu.png
size: 64 24
$hover:
border-image:
source: /core_styles/images/menu.png
offset: 0 24
size: 64 24
color: black

View File

@@ -7,7 +7,7 @@ RectPanel < UIWidget
FlatPanel < Panel
border-image:
source: /core_styles/images/panel_flat.png
border: 4
border: 1
TopPanel < Panel
height: 36

View File

@@ -0,0 +1,40 @@
PopupMenuButton < UIButton
font: verdana-11px-antialised
background-color: alpha
color: #aaaaaa
height: 18
margin-left: 3
margin-right: 3
image:
source: /core_styles/images/empty_rect.png
repeated: true
$hover:
color: #ffffff
background-color: #ffffff44
$disabled:
color: #555555
PopupMenuFirstButton < PopupMenuButton
margin-top: 3
PopupMenuLastButton < PopupMenuButton
margin-bottom: 3
PopupMenuSeparator < UIWidget
margin-left: 2
margin-right: 2
image:
source: /core_styles/images/menubox.png
repeated: true
coords: 3 0 26 3
height: 3
phantom: true
PopupMenu < UIPopupMenu
width: 100
border-image:
source: /core_styles/images/menubox.png
border: 3