MyGUI 3.2.2

MyGUI_WidgetToolTip.h
Go to the documentation of this file.
1 /*
2 * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3 * Distributed under the MIT License
4 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5 */
6
7 #ifndef MYGUI_WIDGET_TOOLTIP_H_
8 #define MYGUI_WIDGET_TOOLTIP_H_
9
10 #include "MyGUI_Prerequest.h"
11 #include "MyGUI_Types.h"
12
13 namespace MyGUI
14 {
15
17 struct ToolTipInfo
18 {
19 enum ToolTipType
20 {
21 Hide,
22 Show,
23 Move
24 };
25
26 ToolTipInfo(ToolTipType _type) :
27 type(_type),
28 index(ITEM_NONE)
29 {
30 }
31
32 ToolTipInfo(ToolTipType _type, size_t _index, const IntPoint& _point) :
33 type(_type),
34 index(_index),
35 point(_point)
36 {
37 }
38
39 ToolTipType type;
40 size_t index;
41 IntPoint point;
42 };
43
44 } // namespace MyGUI
45
46 #endif //__MYGUI_WIDGET_TOOLTIP_H__
MyGUI::ToolTipInfo::point
IntPoint point
Definition: MyGUI_WidgetToolTip.h:41
MyGUI::types::TPoint< int >
MyGUI_Prerequest.h
MyGUI::ToolTipInfo
Definition: MyGUI_WidgetToolTip.h:17
MyGUI::ITEM_NONE
const size_t ITEM_NONE
Definition: MyGUI_Macros.h:17
MyGUI::ToolTipInfo::ToolTipType
ToolTipType
Definition: MyGUI_WidgetToolTip.h:19
MyGUI::ToolTipInfo::type
ToolTipType type
Definition: MyGUI_WidgetToolTip.h:39
MyGUI_Types.h
MyGUI::ToolTipInfo::Show
Definition: MyGUI_WidgetToolTip.h:22
MyGUI
Definition: MyGUI_ActionController.h:14
MyGUI::ToolTipInfo::Move
Definition: MyGUI_WidgetToolTip.h:23
MyGUI::ToolTipInfo::ToolTipInfo
ToolTipInfo(ToolTipType _type)
Definition: MyGUI_WidgetToolTip.h:26
MyGUI::ToolTipInfo::Hide
Definition: MyGUI_WidgetToolTip.h:21
MyGUI::ToolTipInfo::index
size_t index
Definition: MyGUI_WidgetToolTip.h:40
MyGUI::ToolTipInfo::ToolTipInfo
ToolTipInfo(ToolTipType _type, size_t _index, const IntPoint &_point)
Definition: MyGUI_WidgetToolTip.h:32