1 /*! 2 @file 3 @author Albert Semenov 4 @date 01/2009 5 @module 6 */ 7 #pragma once 8 9 #include <MyGUI.h> 10 #include "Config.h" 11 #include "Marshaling.h" 12 #include "IntPoint.h" 13 14 namespace MyGUI 15 { 16 namespace Managed 17 { 18 19 //#ifndef MMYGUI_USING_EXTERNAL_TYPE 20 21 public value struct ToolTipInfo 22 { 23 bool visible; 24 System::UInt32 index; 25 IntPoint point; 26 }; 27 28 //#endif // MMYGUI_USING_EXTERNAL_TYPE 29 30 template <> struct Convert<const MyGUI::ToolTipInfo&> 31 { 32 typedef ToolTipInfo Type; 33 inline static const ToolTipInfo& To(const MyGUI::ToolTipInfo& _value) 34 { 35 return reinterpret_cast<const ToolTipInfo&>(_value); 36 } 37 inline static MyGUI::ToolTipInfo& From(ToolTipInfo& _value) 38 { 39 return reinterpret_cast<MyGUI::ToolTipInfo&>(_value); 40 } 41 }; 42 43 } // namespace Managed 44 } // namespace MyGUI 45