diff options
author | Tim Angus <tim@ngus.net> | 2007-11-08 00:05:14 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2007-11-08 00:05:14 +0000 |
commit | 74c8d33a2b830a47c31272bcf16cbbfd404ce0e8 (patch) | |
tree | e57fc261700a619fbf9a09a589706a5165653221 /ui/tremulous_aliendialogs.menu | |
parent | c6a9027b7cf0d35401cae346b67ca95c5f55b4a1 (diff) |
* Merge and move text paint functions into ui_shared.c
* Add aspectBias to indicate alignment on non-4:3 video modes
* Add "reset <item>" script command to reset an item
* Compensate for aspect ratio in lots and lots and lots of places
* Release edit field focus when tabbing away
* Fix infinite loop bug in text wrapping code when rect is very narrow
* Mung .menu scripts to line things up correctly on non-4:3 ratios
Diffstat (limited to 'ui/tremulous_aliendialogs.menu')
-rw-r--r-- | ui/tremulous_aliendialogs.menu | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/tremulous_aliendialogs.menu b/ui/tremulous_aliendialogs.menu index 159afb02..e3d4f05c 100644 --- a/ui/tremulous_aliendialogs.menu +++ b/ui/tremulous_aliendialogs.menu @@ -47,8 +47,8 @@ textstyle ITEM_TEXTSTYLE_NORMAL style WINDOW_STYLE_EMPTY rect BORDER BORDER INFO_W BUTT_H - textalign ITEM_ALIGN_CENTER - textvalign ITEM_VALIGN_CENTER + textalign ALIGN_CENTER + textvalign VALIGN_CENTER textscale .4 forecolor 1 1 1 1 backcolor .5 0 0 .25 @@ -64,8 +64,8 @@ rect INFO_X INFO_Y INFO_W INFO_H cvar "ui_dialog" wrapped - textalign ITEM_ALIGN_CENTER - textvalign ITEM_VALIGN_CENTER + textalign ALIGN_CENTER + textvalign VALIGN_CENTER textscale .33 forecolor 1 1 1 1 backcolor .5 0 0 .25 @@ -80,8 +80,8 @@ type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY rect (W-(BORDER+BUTT_W)) (H-(BORDER+BUTT_H)) BUTT_W BUTT_H - textalign ITEM_ALIGN_CENTER - textvalign ITEM_VALIGN_CENTER + textalign ALIGN_CENTER + textvalign VALIGN_CENTER textscale .4 forecolor 1 1 1 1 backcolor .5 0 0 .25 |