mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
init menu
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
40
modules/core_styles/styles/popupmenus.otui
Normal file
40
modules/core_styles/styles/popupmenus.otui
Normal 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
|
Reference in New Issue
Block a user