diff options
author | Vicent Marti | 2008-08-07 18:42:47 +0000 |
---|---|---|
committer | Vicent Marti | 2008-08-07 18:42:47 +0000 |
commit | 7c132d340a222b7cc14e53e700338c422f5ddb10 (patch) | |
tree | c344794823d7de17519ac2e3ef1dd4d4094a3756 /gui/themes/modern.stx | |
parent | 21989844a9800fe76af93c6b2d70ffd76bf73546 (diff) | |
download | scummvm-rg350-7c132d340a222b7cc14e53e700338c422f5ddb10.tar.gz scummvm-rg350-7c132d340a222b7cc14e53e700338c422f5ddb10.tar.bz2 scummvm-rg350-7c132d340a222b7cc14e53e700338c422f5ddb10.zip |
Misc text drawing improvements.
Added carets/text edit widgets.
svn-id: r33684
Diffstat (limited to 'gui/themes/modern.stx')
-rw-r--r-- | gui/themes/modern.stx | 37 |
1 files changed, 28 insertions, 9 deletions
diff --git a/gui/themes/modern.stx b/gui/themes/modern.stx index f182f6a2d5..be55749806 100644 --- a/gui/themes/modern.stx +++ b/gui/themes/modern.stx @@ -59,29 +59,33 @@ <fonts> <font id = 'text_default' - type = 'default' + file = 'default' color = 'black' /> <font id = 'text_hover' - type = 'default' + file = 'default' color = 'bgreen' /> <font id = 'text_disabled' - type = 'default' + file = 'default' color = '128, 128, 128' /> <font id = 'text_inverted' - type = 'default' + file = 'default' color = '0, 0, 0' /> <font id = 'text_button' - type = 'default' + file = 'default' color = 'white' /> <font id = 'text_button_hover' - type = 'default' + file = 'default' color = 'blandyellow' /> + <font id = 'text_normal' + file = 'helvr12-l1.bdf' + color = 'black' + /> </fonts> <defaults fill = 'gradient' fg_color = 'white' bevel_color = '237, 169, 72'/> @@ -298,10 +302,24 @@ horizontal_align = 'right' /> </drawdata> + + <drawdata id = 'widget_textedit' cache = false> + <drawstep func = 'roundedsq' + fill = 'foreground' + radius = 4 + fg_color = 'blandyellow' + shadow = 0 + bevel = 1 + bevel_color = 'shadowcolor' + /> + </drawdata> -/* Tanoku-TODO: text editing width + CARET! -/* <drawdata id = 'widget_textedit' cache = false> - <drawstep func = 'roundedsq' */ + <drawdata id = 'caret' cache = false> + <drawstep func = 'square' + fill = 'foreground' + fg_color = 'black' + /> + </drawdata> <drawdata id = 'default_bg' cache = false> <drawstep func = 'roundedsq' @@ -435,6 +453,7 @@ <def var = 'ListWidget.hlLeftPadding' value = '8'/> <def var = 'ListWidget.hlRightPadding' value = '16'/> + <def var = 'PopUpWidget.labelSpacing' value = '10' /> <widget name = 'OptionsLabel' size = '110, Globals.Line.Height' |