This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
hud_library_state [2017/04/17 16:44] – korshun | hud_library_state [2017/04/18 13:21] (current) – korshun | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== HUD Library State ====== | ====== HUD Library State ====== | ||
- | HUD Library has a lot of settings telling it how to draw messages. It stores them in current **state**. | + | [[HUD Library]] has a lot of settings telling it how to draw messages. It stores them in current **state**. |
This state can be reset to default using [[functions: | This state can be reset to default using [[functions: | ||
Line 19: | Line 19: | ||
The width and height of the [[HUD coordinate system]]. | The width and height of the [[HUD coordinate system]]. | ||
- | <note important> | + | <note important> |
- | **Default: | + | <note important> |
- | Manipulated by: | + | <note important> |
- | * [[functions: | + | |
- | * [[functions: | + | |
- | * [[functions: | + | |
+ | **Default: | ||
+ | |||
+ | Manipulated by [[functions: | ||
+ | ---- | ||
==== Exclude status bar ==== | ==== Exclude status bar ==== | ||
- | Whether to exclude status bar from [[HUD coordinate system]]. | + | Whether to exclude status bar from [[HUD coordinate system]]. This is equivalent to the third argument to [[zdoom> |
**Default: | **Default: | ||
Line 181: | Line 182: | ||
Manipulated by [[functions: | Manipulated by [[functions: | ||
+ | ---- | ||
+ | |||
+ | ==== Text origin ==== | ||
+ | Which point of the text box to position. | ||
+ | |||
+ | Horizontal origin can be one of: | ||
+ | * HUD_TEXTORIGIN_LEFT | ||
+ | * HUD_TEXTORIGIN_CENTER | ||
+ | * HUD_TEXTORIGIN_RIGHT | ||
+ | |||
+ | Vertical origin can be one of: | ||
+ | * HUD_TEXTORIGIN_TOP | ||
+ | * HUD_TEXTORIGIN_CENTER | ||
+ | * HUD_TEXTORIGIN_BOTTOM | ||
+ | |||
+ | **Default: | ||
+ | |||
+ | Manipulated by: | ||
+ | * [[functions: | ||
+ | * [[functions: | ||
+ | * [[functions: | ||
+ | |||
---- | ---- | ||