diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/ui/menudef.h | 7 | ||||
-rw-r--r-- | assets/ui/tremulous_common_hud.h | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/assets/ui/menudef.h b/assets/ui/menudef.h index 3adc8a1a..7e5074f7 100644 --- a/assets/ui/menudef.h +++ b/assets/ui/menudef.h @@ -21,19 +21,22 @@ enum ITEM_TYPE_BIND // keyboard control configuration }; +// The first items in these enums are the defaults if menus do not specify enum { ALIGN_LEFT, // left alignment ALIGN_CENTER, // center alignment ALIGN_RIGHT, // right alignment - ASPECT_NONE // no aspect compensation + ASPECT_NONE, // no aspect compensation + ALIGN_NONE }; enum { VALIGN_BOTTOM, // bottom alignment VALIGN_CENTER, // center alignment - VALIGN_TOP // top alignment + VALIGN_TOP, // top alignment + VALIGN_NONE }; enum diff --git a/assets/ui/tremulous_common_hud.h b/assets/ui/tremulous_common_hud.h index 4ef4dbb9..d4c69f08 100644 --- a/assets/ui/tremulous_common_hud.h +++ b/assets/ui/tremulous_common_hud.h @@ -127,7 +127,7 @@ itemDef itemDef { name "location" - rect (STAT_X-60) ((4*BORDER)+(4*STAT_H)) (STAT_W+60) STAT_H + rect (STAT_X-75) ((4*BORDER)+(4*STAT_H)) (STAT_W+75) STAT_H aspectBias ALIGN_RIGHT visible MENU_TRUE decoration |