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/ingame_leave.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/ingame_leave.menu')
-rw-r--r-- | ui/ingame_leave.menu | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/ui/ingame_leave.menu b/ui/ingame_leave.menu index 38fcb931..5aa5cc78 100644 --- a/ui/ingame_leave.menu +++ b/ui/ingame_leave.menu @@ -25,6 +25,7 @@ outOfBoundsClick // this closes the window if it gets a click out of the rectangle rect X Y W H focusColor 1 .75 0 1 + aspectBias ALIGN_LEFT onOpen { show grpMenu; @@ -53,8 +54,8 @@ group grpMenu style WINDOW_STYLE_EMPTY rect L1_X L1_Y L1_W L1_H - textalign ITEM_ALIGN_CENTER - textvalign ITEM_VALIGN_CENTER + textalign ALIGN_CENTER + textvalign VALIGN_CENTER textscale .25 forecolor 1 1 1 1 visible MENU_TRUE @@ -74,8 +75,8 @@ text "Quit" style WINDOW_STYLE_EMPTY rect L2_X L2_Y L2_W L2_H - textalign ITEM_ALIGN_CENTER - textvalign ITEM_VALIGN_CENTER + textalign ALIGN_CENTER + textvalign VALIGN_CENTER textscale .25 forecolor 1 1 1 1 visible MENU_TRUE @@ -98,8 +99,8 @@ group grpConfirm style WINDOW_STYLE_EMPTY rect L1_X L1_Y L1_W L1_H - textalign ITEM_ALIGN_CENTER - textvalign ITEM_VALIGN_CENTER + textalign ALIGN_CENTER + textvalign VALIGN_CENTER textscale .25 decoration forecolor 1 1 1 1 @@ -115,8 +116,8 @@ textscale .25 style WINDOW_STYLE_EMPTY rect L2_X L2_Y (L2_W/2) L2_H - textalign ITEM_ALIGN_CENTER - textvalign ITEM_VALIGN_CENTER + textalign ALIGN_CENTER + textvalign VALIGN_CENTER forecolor 1 1 1 1 visible MENU_TRUE action @@ -135,8 +136,8 @@ textscale .25 style WINDOW_STYLE_EMPTY rect (L2_X+(L2_W/2)) L2_Y (L2_W/2) L2_H - textalign ITEM_ALIGN_CENTER - textvalign ITEM_VALIGN_CENTER + textalign ALIGN_CENTER + textvalign VALIGN_CENTER forecolor 1 1 1 1 visible MENU_TRUE action @@ -154,8 +155,8 @@ group grpConfirm style WINDOW_STYLE_EMPTY rect L1_X L1_Y L1_W L1_H - textalign ITEM_ALIGN_CENTER - textvalign ITEM_VALIGN_CENTER + textalign ALIGN_CENTER + textvalign VALIGN_CENTER textscale .25 forecolor 1 1 1 1 decoration @@ -171,8 +172,8 @@ textscale .25 style WINDOW_STYLE_EMPTY rect L2_X L2_Y (L2_W/2) L2_H - textalign ITEM_ALIGN_CENTER - textvalign ITEM_VALIGN_CENTER + textalign ALIGN_CENTER + textvalign VALIGN_CENTER forecolor 1 1 1 1 visible MENU_TRUE action @@ -191,8 +192,8 @@ textscale .25 style WINDOW_STYLE_EMPTY rect (L2_X+(L2_W/2)) L2_Y (L2_W/2) L2_H - textalign ITEM_ALIGN_CENTER - textvalign ITEM_VALIGN_CENTER + textalign ALIGN_CENTER + textvalign VALIGN_CENTER forecolor 1 1 1 1 visible MENU_TRUE action |