Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/CTooltip.cpp
Show All 17 Lines | |||||
#include "precompiled.h" | #include "precompiled.h" | ||||
#include "CTooltip.h" | #include "CTooltip.h" | ||||
#include "CGUI.h" | #include "CGUI.h" | ||||
#include <algorithm> | #include <algorithm> | ||||
CTooltip::CTooltip(CGUI* pGUI) | CTooltip::CTooltip(CGUI* pGUI) | ||||
: IGUIObject(pGUI) | : IGUIObject(pGUI), IGUITextOwner(pGUI) | ||||
{ | { | ||||
// If the tooltip is an object by itself: | // If the tooltip is an object by itself: | ||||
AddSetting(GUIST_float, "buffer_zone"); | AddSetting(GUIST_float, "buffer_zone"); | ||||
AddSetting(GUIST_CGUIString, "caption"); | AddSetting(GUIST_CGUIString, "caption"); | ||||
AddSetting(GUIST_CStrW, "font"); | AddSetting(GUIST_CStrW, "font"); | ||||
AddSetting(GUIST_CGUISpriteInstance, "sprite"); | AddSetting(GUIST_CGUISpriteInstance, "sprite"); | ||||
AddSetting(GUIST_int, "delay"); | AddSetting(GUIST_int, "delay"); | ||||
AddSetting(GUIST_CGUIColor, "textcolor"); | AddSetting(GUIST_CGUIColor, "textcolor"); | ||||
▲ Show 20 Lines • Show All 142 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator