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/serverinfo.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/serverinfo.menu')
-rw-r--r-- | ui/serverinfo.menu | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ui/serverinfo.menu b/ui/serverinfo.menu index 626788a6..04547b4f 100644 --- a/ui/serverinfo.menu +++ b/ui/serverinfo.menu @@ -61,10 +61,10 @@ notselectable visible MENU_TRUE columns 4 - 0 ((2*LEFT_C)*LIST_DW) ITEM_ALIGN_LEFT - (LEFT_C*LIST_DW) (LEFT_C*LIST_DW) ITEM_ALIGN_LEFT - ((2*LEFT_C)*LIST_DW) (LEFT_C*LIST_DW) ITEM_ALIGN_LEFT - ((1-RIGHT_C)*LIST_DW) (RIGHT_C*LIST_DW) ITEM_ALIGN_LEFT + 0 ((2*LEFT_C)*LIST_DW) ALIGN_LEFT + (LEFT_C*LIST_DW) (LEFT_C*LIST_DW) ALIGN_LEFT + ((2*LEFT_C)*LIST_DW) (LEFT_C*LIST_DW) ALIGN_LEFT + ((1-RIGHT_C)*LIST_DW) (RIGHT_C*LIST_DW) ALIGN_LEFT } // BUTTON // @@ -78,8 +78,8 @@ type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY rect (W-(2*BUTT_W)) (H-BUTT_H) BUTT_W BUTT_H - textalign ITEM_ALIGN_CENTER - textvalign ITEM_VALIGN_CENTER + textalign ALIGN_CENTER + textvalign VALIGN_CENTER forecolor 1 1 1 1 visible MENU_TRUE action @@ -98,8 +98,8 @@ type ITEM_TYPE_BUTTON style WINDOW_STYLE_EMPTY rect (W-BUTT_W) (H-BUTT_H) BUTT_W BUTT_H - textalign ITEM_ALIGN_CENTER - textvalign ITEM_VALIGN_CENTER + textalign ALIGN_CENTER + textvalign VALIGN_CENTER forecolor 1 1 1 1 visible MENU_TRUE action |