1
0
forked from 0ad/0ad
0ad/source/gui/GUITooltip.h
Ykkrosh 0382cdd9b1 More tooltip updates. Made the main menu buttons and the in-game resource counters use them.
Fixed space/tab inconsistencies in (though not between) GUI XML files.

This was SVN commit r1554.
2004-12-23 13:56:34 +00:00

27 lines
392 B
C++

#ifndef GUITooltip_H
#define GUITooltip_H
class IGUIObject;
class CGUI;
class CStr;
#include "Overlay.h"
class GUITooltip
{
public:
GUITooltip();
void Update(IGUIObject* Nearest, CPos MousePos, CGUI* GUI);
private:
int m_State;
IGUIObject* m_PreviousObject;
CStr m_PreviousTooltipName;
CPos m_PreviousMousePos;
double m_Time;
};
#endif // GUITooltip_H