MyGUI  3.4.1
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  {
20  {
23  Move
24  };
25 
27  type(_type),
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 
40  size_t index;
42  };
43 
44 } // namespace MyGUI
45 
46 #endif //__MYGUI_WIDGET_TOOLTIP_H__
const size_t ITEM_NONE
Definition: MyGUI_Macros.h:17
ToolTipInfo(ToolTipType _type)
ToolTipInfo(ToolTipType _type, size_t _index, const IntPoint &_point)