Polyphase Game Engine
Loading...
Searching...
No Matches
ToolTipManager Class Reference

#include <ToolTipManager.h>

Public Member Functions

void Initialize ()
 
void Shutdown ()
 
void Tick (float deltaTime)
 
void SetShowDelay (float seconds)
 
float GetShowDelay () const
 
void SetHideDelay (float seconds)
 
float GetHideDelay () const
 
void SetCursorOffset (glm::vec2 offset)
 
glm::vec2 GetCursorOffset () const
 
void SetEnabled (bool enabled)
 
bool IsEnabled () const
 
ToolTipWidgetGetToolTipWidget ()
 
void RegisterTemplate (const std::string &name, ToolTipWidget *tooltipWidget)
 
void UnregisterTemplate (const std::string &name)
 
void UnregisterTemplate (ToolTipWidget *tooltipWidget)
 
ToolTipWidgetGetTemplate (const std::string &name)
 
bool HasTemplate (const std::string &name) const
 
void ShowTooltip (Widget *forWidget)
 
void HideTooltip ()
 
WidgetGetHoveredWidget () const
 
bool IsTooltipVisible () const
 
void SetOnShowCallback (const std::string &funcName)
 
void SetOnShowCallbackRef (int luaRef)
 
void ClearOnShowCallback ()
 
void SetOnHideCallback (const std::string &funcName)
 
void SetOnHideCallbackRef (int luaRef)
 
void ClearOnHideCallback ()
 

Static Public Member Functions

static void Create ()
 
static void Destroy ()
 
static ToolTipManagerGet ()
 

Member Function Documentation

◆ ClearOnHideCallback()

void ToolTipManager::ClearOnHideCallback ( )

◆ ClearOnShowCallback()

void ToolTipManager::ClearOnShowCallback ( )

◆ Create()

void ToolTipManager::Create ( )
static

◆ Destroy()

void ToolTipManager::Destroy ( )
static

◆ Get()

ToolTipManager * ToolTipManager::Get ( )
static

◆ GetCursorOffset()

glm::vec2 ToolTipManager::GetCursorOffset ( ) const

◆ GetHideDelay()

float ToolTipManager::GetHideDelay ( ) const

◆ GetHoveredWidget()

Widget * ToolTipManager::GetHoveredWidget ( ) const

◆ GetShowDelay()

float ToolTipManager::GetShowDelay ( ) const

◆ GetTemplate()

ToolTipWidget * ToolTipManager::GetTemplate ( const std::string &  name)

◆ GetToolTipWidget()

ToolTipWidget * ToolTipManager::GetToolTipWidget ( )

◆ HasTemplate()

bool ToolTipManager::HasTemplate ( const std::string &  name) const

◆ HideTooltip()

void ToolTipManager::HideTooltip ( )

◆ Initialize()

void ToolTipManager::Initialize ( )

◆ IsEnabled()

bool ToolTipManager::IsEnabled ( ) const

◆ IsTooltipVisible()

bool ToolTipManager::IsTooltipVisible ( ) const

◆ RegisterTemplate()

void ToolTipManager::RegisterTemplate ( const std::string &  name,
ToolTipWidget tooltipWidget 
)

◆ SetCursorOffset()

void ToolTipManager::SetCursorOffset ( glm::vec2  offset)

◆ SetEnabled()

void ToolTipManager::SetEnabled ( bool  enabled)

◆ SetHideDelay()

void ToolTipManager::SetHideDelay ( float  seconds)

◆ SetOnHideCallback()

void ToolTipManager::SetOnHideCallback ( const std::string &  funcName)

◆ SetOnHideCallbackRef()

void ToolTipManager::SetOnHideCallbackRef ( int  luaRef)

◆ SetOnShowCallback()

void ToolTipManager::SetOnShowCallback ( const std::string &  funcName)

◆ SetOnShowCallbackRef()

void ToolTipManager::SetOnShowCallbackRef ( int  luaRef)

◆ SetShowDelay()

void ToolTipManager::SetShowDelay ( float  seconds)

◆ ShowTooltip()

void ToolTipManager::ShowTooltip ( Widget forWidget)

◆ Shutdown()

void ToolTipManager::Shutdown ( )

◆ Tick()

void ToolTipManager::Tick ( float  deltaTime)

◆ UnregisterTemplate() [1/2]

void ToolTipManager::UnregisterTemplate ( const std::string &  name)

◆ UnregisterTemplate() [2/2]

void ToolTipManager::UnregisterTemplate ( ToolTipWidget tooltipWidget)

The documentation for this class was generated from the following files: