7#ifndef MYGUI_TOOL_TIP_MANAGER_H_
8#define MYGUI_TOOL_TIP_MANAGER_H_
34 void notifyEventFrameStart(
float _time);
36 void hideToolTip(
Widget* _widget);
37 void showToolTip(
Widget* _widget,
size_t _index,
const IntPoint& _point);
38 void moveToolTip(
Widget* _widget,
size_t _index,
const IntPoint& _point);
40 bool isNeedToolTip(
Widget* _widget);
41 size_t getToolTipIndex(
Widget* _widget)
const;
44 float mDelayVisible{0.5f};
45 Widget* mOldFocusWidget{
nullptr};
46 IntPoint mOldMousePoint;
47 bool mToolTipVisible{
false};
48 float mCurrentTime{0};
50 bool mNeedToolTip{
false};
52 bool mIsInitialise{
false};
#define MYGUI_SINGLETON_DECLARATION(ClassName)
types::TPoint< int > IntPoint
constexpr size_t ITEM_NONE