tec::AbstractWindow
#include <abs_window.hpp>
Inherited by tec::ActiveEntityTooltip, tec::Console, tec::DebugInfo, tec::PingTimesWindow, tec::ServerConnectWindow
Public Functions
Name | |
---|---|
virtual | ~AbstractWindow() =default |
virtual void | Update(double ) |
virtual void | Draw(IMGUISystem * ) =0 |
void | SetAlpha(float a) |
float | GetAlpha() const |
virtual bool | isCollapsed() const |
bool | isVisible() const |
void | Hide() |
void | Show() |
std::string | GetWindowName() |
Protected Attributes
Name | |
---|---|
float | alpha |
bool | collapsed |
bool | show Collapsed ? |
std::string | window_name Visible ? |
Public Functions Documentation
function ~AbstractWindow
virtual ~AbstractWindow() =default
function Update
inline virtual void Update(
double
)
Reimplemented by: tec::Console::Update, tec::ActiveEntityTooltip::Update, tec::DebugInfo::Update, tec::ServerConnectWindow::Update, tec::PingTimesWindow::Update
function Draw
virtual void Draw(
IMGUISystem *
) =0
Reimplemented by: tec::ActiveEntityTooltip::Draw, tec::Console::Draw, tec::DebugInfo::Draw, tec::ServerConnectWindow::Draw, tec::PingTimesWindow::Draw
function SetAlpha
inline void SetAlpha(
float a
)
function GetAlpha
inline float GetAlpha() const
function isCollapsed
inline virtual bool isCollapsed() const
Reimplemented by: tec::Console::isCollapsed
function isVisible
inline bool isVisible() const
function Hide
inline void Hide()
function Show
inline void Show()
function GetWindowName
inline std::string GetWindowName()
Protected Attributes Documentation
variable alpha
float alpha = 1.0f;
variable collapsed
bool collapsed = true;
variable show
bool show = true;
Collapsed ?
variable window_name
std::string window_name;
Visible ?
Updated on 2022-07-24 at 19:27:35 +0000