Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
GUITooltip Class Reference

#include <GUITooltip.h>

Collaboration diagram for GUITooltip:

Public Member Functions

 NONCOPYABLE (GUITooltip)
 
 GUITooltip ()
 
void Update (IGUIObject *Nearest, const CVector2D &MousePos, CGUI &GUI)
 

Private Member Functions

void ShowTooltip (IGUIObject *obj, const CVector2D &pos, const CStr &style, CGUI &pGUI)
 
void HideTooltip (const CStr &style, CGUI &pGUI)
 
bool GetTooltip (IGUIObject *obj, CStr &style)
 

Private Attributes

int m_State
 
IGUIObjectm_PreviousObject
 
CStr m_PreviousTooltipName
 
CVector2D m_PreviousMousePos
 
double m_Time
 

Constructor & Destructor Documentation

◆ GUITooltip()

GUITooltip::GUITooltip ( )

Member Function Documentation

◆ GetTooltip()

bool GUITooltip::GetTooltip ( IGUIObject obj,
CStr &  style 
)
private

◆ HideTooltip()

void GUITooltip::HideTooltip ( const CStr &  style,
CGUI pGUI 
)
private

◆ NONCOPYABLE()

GUITooltip::NONCOPYABLE ( GUITooltip  )

◆ ShowTooltip()

void GUITooltip::ShowTooltip ( IGUIObject obj,
const CVector2D pos,
const CStr &  style,
CGUI pGUI 
)
private

◆ Update()

void GUITooltip::Update ( IGUIObject Nearest,
const CVector2D MousePos,
CGUI GUI 
)

Member Data Documentation

◆ m_PreviousMousePos

CVector2D GUITooltip::m_PreviousMousePos
private

◆ m_PreviousObject

IGUIObject* GUITooltip::m_PreviousObject
private

◆ m_PreviousTooltipName

CStr GUITooltip::m_PreviousTooltipName
private

◆ m_State

int GUITooltip::m_State
private

◆ m_Time

double GUITooltip::m_Time
private

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