New transparant button in transparent dialog.
The art might need some more polishing, but rather leave that to an artist.
This commit is contained in:
parent
c0ceab1d57
commit
0a78fd1ed4
6 changed files with 12 additions and 1 deletions
|
@ -99,4 +99,15 @@
|
|||
|
||||
[/button_definition]
|
||||
|
||||
[button_definition]
|
||||
|
||||
id = "transparent"
|
||||
description = "Default transparent button"
|
||||
|
||||
# Tiny gui sizes haven't been tested yet so might need some tuning.
|
||||
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 20 54 11 6 2 ({GUI_TINY__FONT_SIZE__SMALL}) "button_transparent" }
|
||||
{_GUI_RESOLUTION () 40 108 22 13 4 ({GUI_NORMAL__FONT_SIZE__SMALL}) "button_transparent" }
|
||||
|
||||
[/button_definition]
|
||||
|
||||
#undef _GUI_RESOLUTION
|
||||
|
|
|
@ -447,7 +447,7 @@
|
|||
# whether or not a scrollbar is needed to show the
|
||||
# text.
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
definition = "transparent"
|
||||
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
|
BIN
images/buttons/button_transparent-active.png
Normal file
BIN
images/buttons/button_transparent-active.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
BIN
images/buttons/button_transparent-disabled.png
Normal file
BIN
images/buttons/button_transparent-disabled.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
BIN
images/buttons/button_transparent-pressed.png
Normal file
BIN
images/buttons/button_transparent-pressed.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
BIN
images/buttons/button_transparent.png
Normal file
BIN
images/buttons/button_transparent.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
Loading…
Add table
Reference in a new issue