diff options
author | Tim Angus <tim@ngus.net> | 2007-10-30 18:18:47 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2007-10-30 18:18:47 +0000 |
commit | 1e0b515a6031a2cd2a77e9c34f2e4292fc9f9750 (patch) | |
tree | 51193c4f5cac62d5c5626c360c80218bc7fab71c /ui/assets/human | |
parent | e552cbda632662d32ffccc662c6d12ec1cc54719 (diff) |
* (bug 3384) Remove server side armoury refresh and replace with UI side
refresh
* Add trap_Key_SetOverstrikeMode and trap_Key_GetOverstrikeMode to cgame
* Change Text_[Width|Height] to return floats
* Add Text_Em[Width|Height]
* Add CG_AlignText to cut down on code duplication
* Add itemDef_t::textvalignment for vertical text alignment
* Add UI_DrawTextBlock to replace a lot of duplicate code
* Rewrite text wrapping code from scratch so that it actually works
* Add UI_OwnerDrawText
* Add expression evaluator to .menu parser
* Split off Border_Paint from Window_Paint
* Scale slider items to fit their rect
* Rework edit field widgets to behave somewhat more correctly
* Fix a few listbox widget layout issues
* Don't display scrollbars in "notselectable" listbox widgets
* Make scoreboard team labels ownerdrawn
* Menu script rework
+ Use the expression evaluator to replace lots and lots of absolute
coords with relative ones, hopefully easing future maintenance
+ Remove lots and lots of textalign[xy] that were present to work
around broken text alignment routines
+ Replace a bunch of numeric constants with ones from menudef.h
+ Compose the huds from tremulous_common_hud.h
+ Generally neaten things up
+ Lots of whitespace fixes
Diffstat (limited to 'ui/assets/human')
-rw-r--r-- | ui/assets/human/buildstat.cfg | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/assets/human/buildstat.cfg b/ui/assets/human/buildstat.cfg index 9c192de9..c66b618d 100644 --- a/ui/assets/human/buildstat.cfg +++ b/ui/assets/human/buildstat.cfg @@ -8,7 +8,7 @@ frameShader "ui/assets/human/buildstat/frame" frameWidth 150 frameHeight 30 -healthPadding 2 +healthPadding 2 // Homeworld Security Advisory System healthSevereColor 0.83 0.03 0.02 1 @@ -22,12 +22,12 @@ overlayShader "" overlayWidth 160 overlayHeight 40 -// PERCENT of frameHeight to use for top/bottom margin of icons/text +// PERCENT of frameHeight to use for top/bottom margin of icons/text // value is for total of top and bottom margins // valid values between 0.0 and 1.0 verticalMargin 0.5 -// number of CHARS worth of space that should be used for left/right margins +// number of CHARS worth of space that should be used for left/right margins // value is for one side only // char width is determined by frameHeight and verticalMargin horizontalMargin 1.0 |