MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / popBubble

Method popBubble

Engine/source/gui/utility/guiBubbleTextCtrl.cpp:50–65  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

48
49//------------------------------------------------------------------------------
50void GuiBubbleTextCtrl::popBubble()
51{
52 // Release the mouse:
53 mInAction = false;
54 mouseUnlock();
55
56 // Pop the dialog
57 getRoot()->popDialogControl(mDlg);
58
59 // Kill the popup
60 mDlg->removeObject(mPopup);
61 mPopup->removeObject(mMLText);
62 mMLText->deleteObject();
63 mPopup->deleteObject();
64 mDlg->deleteObject();
65}
66
67//------------------------------------------------------------------------------
68void GuiBubbleTextCtrl::onMouseDown(const GuiEvent &event)

Callers

nothing calls this directly

Calls 3

popDialogControlMethod · 0.80
removeObjectMethod · 0.45
deleteObjectMethod · 0.45

Tested by

no test coverage detected