HoverRace
2.0
|
A reference to a HUD location; useful for adding new HUD elements. More...
#include <Hud.h>
Public Member Functions | |
HudLocProxy (Hud &hud, HudAlignment::type alignment) | |
HudLocProxy (const HudLocProxy &)=default | |
HudLocProxy (HudLocProxy &&)=default | |
template<class T , class... Args> | |
std::enable_if< std::is_base_of< HudDecor, T >::value, std::shared_ptr< T > >::type | NewChild (Args &&...args) |
Append a child element at this location. More... | |
HudLocProxy & | operator= (const HudLocProxy &)=delete |
HudLocProxy & | operator= (HudLocProxy &&)=delete |
Private Attributes | |
HudAlignment::type | alignment |
Hud & | hud |
A reference to a HUD location; useful for adding new HUD elements.
|
inline |
|
default |
|
default |
|
inline |
Append a child element at this location.
T | The type of the child widget. |
Args | The types of the arguments. |
args | The arguments to pass to the child widget's constructor. |
|
delete |
|
delete |
|
private |
|
private |