Story viewer: Use a slightly fuzzy rounded rectangle as the title background
This commit is contained in:
parent
508a493736
commit
753df47137
1 changed files with 12 additions and 3 deletions
|
@ -15,13 +15,22 @@
|
|||
where box_width = {_GUI_ESTIMATE_TEXT_WIDTH})#enddef
|
||||
|
||||
#define _GUI_BACKGROUND
|
||||
[rectangle]
|
||||
[round_rectangle]
|
||||
x = 10
|
||||
y = 10
|
||||
w = "{_GUI_ESTIMATE_TEXT_WIDTH}"
|
||||
h = "(height - 20)"
|
||||
fill_color = "0, 0, 0, 128"
|
||||
[/rectangle]
|
||||
corner_radius = 5
|
||||
fill_color = "0, 0, 0, 96"
|
||||
[/round_rectangle]
|
||||
[round_rectangle]
|
||||
x = 13
|
||||
y = 13
|
||||
w = "(text_width - 6 where text_width = {_GUI_ESTIMATE_TEXT_WIDTH})"
|
||||
h = "(height - 26)"
|
||||
corner_radius = 5
|
||||
fill_color = "0, 0, 0, 96"
|
||||
[/round_rectangle]
|
||||
#enddef
|
||||
|
||||
#define _GUI_TEXT MODE
|
||||
|
|
Loading…
Add table
Reference in a new issue