* May 24, 2013, 12:04:32 PM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Come Chat with us live! Learn how HERE!
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Aspect ratios and HUDding  (Read 303 times)
Meisseli
Spam Killer
*

Turrets: +83/-25
Posts: 765


« on: November 29, 2010, 11:25:05 PM »

Hi,

Everything else is displayed correctly in my HUD in aspect ratios other than 4:3. However inventory, which scrolls vertically, isn't. aspectBias doesn't help much, since it only covers horizontal, and not vertical aligning. textvalign can be used to align vertically, but only with text. I've also tried modifying the rect values, with no luck whatsoever.

Is there a command I might've overlooked that can be used for vertical aligning?

Here's the inventory code, if it helps.
Code:
    //INVENTORY
    itemDef
    {
      name "inventory"
      rect 614 123 18 234
      aspectBias ALIGN_RIGHT
      visible MENU_TRUE
      decoration
      forecolor 0.9 1.0 0.9 1.0
      ownerdraw CG_PLAYER_SELECT
    }
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
TremPlus theme by Ingar, based on AF316 theme by Fedhog
Valid XHTML 1.0! Valid CSS!