MyGUI_WidgetToolTip.h
Go to the documentation of this file.
/*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#ifndef MYGUI_WIDGET_TOOLTIP_H_
#define MYGUI_WIDGET_TOOLTIP_H_
#include "MyGUI_Prerequest.h"
#include "MyGUI_Types.h"
namespace MyGUI
{
struct ToolTipInfo
{
enum ToolTipType
{
Hide,
Show,
Move
};
ToolTipInfo(ToolTipType _type) :
type(_type),
index(ITEM_NONE)
{
}
ToolTipInfo(ToolTipType _type, size_t _index, const IntPoint& _point) :
type(_type),
index(_index),
point(_point)
{
}
ToolTipType type;
size_t index;
IntPoint point;
};
} // namespace MyGUI
#endif //__MYGUI_WIDGET_TOOLTIP_H__
MyGUI_Prerequest.h
MyGUI_Types.h
MyGUI
Definition MyGUI_ActionController.h:15
MyGUI::IntPoint
types::TPoint< int > IntPoint
Definition MyGUI_Types.h:27
MyGUI::ITEM_NONE
constexpr size_t ITEM_NONE
Definition MyGUI_Macros.h:19
MyGUI::ToolTipInfo::index
size_t index
Definition MyGUI_WidgetToolTip.h:40
MyGUI::ToolTipInfo::point
IntPoint point
Definition MyGUI_WidgetToolTip.h:41
MyGUI::ToolTipInfo::type
ToolTipType type
Definition MyGUI_WidgetToolTip.h:39
MyGUI::ToolTipInfo::ToolTipInfo
ToolTipInfo(ToolTipType _type)
Definition MyGUI_WidgetToolTip.h:26
MyGUI::ToolTipInfo::ToolTipType
ToolTipType
Definition MyGUI_WidgetToolTip.h:20
MyGUI::ToolTipInfo::Hide
@ Hide
Definition MyGUI_WidgetToolTip.h:21
MyGUI::ToolTipInfo::Move
@ Move
Definition MyGUI_WidgetToolTip.h:23
MyGUI::ToolTipInfo::Show
@ Show
Definition MyGUI_WidgetToolTip.h:22
MyGUI::ToolTipInfo::ToolTipInfo
ToolTipInfo(ToolTipType _type, size_t _index, const IntPoint &_point)
Definition MyGUI_WidgetToolTip.h:32