MCPcopy Create free account
hub / github.com/MyGUI/mygui / initialise

Method initialise

MyGUIEngine/src/MyGUI_ToolTipManager.cpp:23–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 }
22
23 void ToolTipManager::initialise()
24 {
25 MYGUI_ASSERT(!mIsInitialise, getClassTypeName() << " initialised twice");
26 MYGUI_LOG(Info, "* Initialise: " << getClassTypeName());
27
28 mDelayVisible = 0.5f;
29 mOldFocusWidget = nullptr;
30 mToolTipVisible = false;
31 mCurrentTime = 0;
32 mOldIndex = ITEM_NONE;
33 mNeedToolTip = false;
34
35 Gui::getInstance().eventFrameStart += newDelegate(this, &ToolTipManager::notifyEventFrameStart);
36 WidgetManager::getInstance().registerUnlinker(this);
37
38 MYGUI_LOG(Info, getClassTypeName() << " successfully initialized");
39 mIsInitialise = true;
40 }
41
42 void ToolTipManager::shutdown()
43 {

Callers

nothing calls this directly

Calls 3

getClassTypeNameFunction · 0.85
newDelegateFunction · 0.85
registerUnlinkerMethod · 0.80

Tested by

no test coverage detected