0ad/source/gui/CTooltip.h

32 lines
407 B
C
Raw Normal View History

/*
GUI Object - Tooltip
--Overview--
Mostly like CText, but intended for dynamic tooltips
*/
#ifndef INCLUDED_CTOOLTIP
#define INCLUDED_CTOOLTIP
#include "IGUITextOwner.h"
class CTooltip : public IGUITextOwner
{
GUI_OBJECT(CTooltip)
public:
CTooltip();
virtual ~CTooltip();
protected:
void SetupText();
virtual void HandleMessage(const SGUIMessage &Message);
virtual void Draw();
};
#endif