This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
functions:hudlib [2016/08/10 15:28] – korshun | functions:hudlib [2016/10/16 13:27] – korshun | ||
---|---|---|---|
Line 51: | Line 51: | ||
Controls whether the statusbar area should be included into the virtual screen. This corresponds to the third parameter of '' | Controls whether the statusbar area should be included into the virtual screen. This corresponds to the third parameter of '' | ||
+ | |||
+ | ===== Widescreen support ===== | ||
+ | |||
+ | ==== Hud boundaries ==== | ||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | Return the boundaries of the screen for current virtual screen size, accounting for current **physical** aspect ratio. Equivalent to adding or subtracting a hud border manually. | ||
+ | |||
+ | ==== Hud borders ==== | ||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | Return hud borders for current virtual screen size, accounting for current **physical** aspect ratio. | ||
===== 2D positioning ===== | ===== 2D positioning ===== |