7#ifndef MYGUI_TOOL_TIP_MANAGER_H_
8#define MYGUI_TOOL_TIP_MANAGER_H_
29 void setDelayVisible(
float _value);
30 float getDelayVisible()
const;
33 void _unlinkWidget(Widget* _widget)
override;
36 void notifyEventFrameStart(
float _time);
38 void hideToolTip(Widget* _widget);
39 void showToolTip(Widget* _widget,
size_t _index,
const IntPoint& _point);
40 void moveToolTip(Widget* _widget,
size_t _index,
const IntPoint& _point);
42 bool isNeedToolTip(Widget* _widget);
43 size_t getToolTipIndex(Widget* _widget)
const;
46 float mDelayVisible{0.5f};
47 Widget* mOldFocusWidget{
nullptr};
49 bool mToolTipVisible{
false};
50 float mCurrentTime{0};
52 bool mNeedToolTip{
false};
54 bool mIsInitialise{
false};
#define MYGUI_SINGLETON_DECLARATION(ClassName)
types::TPoint< int > IntPoint
constexpr size_t ITEM_NONE