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

Method onMouseDown

Engine/source/gui/controls/guiPopUpCtrlEx.cpp:109–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void GuiPopUpBackgroundCtrlEx::onMouseDown(const GuiEvent &event)
110{
111 // mTextList->setSelectedCell(Point2I(-1,-1)); // Removed
112 mPopUpCtrl->mBackgroundCancel = true; // Set that the user didn't click within the text list. Replaces the line above.
113 mPopUpCtrl->closePopUp();
114}
115
116//------------------------------------------------------------------------------
117GuiPopupTextListCtrlEx::GuiPopupTextListCtrlEx()

Callers

nothing calls this directly

Calls 1

closePopUpMethod · 0.45

Tested by

no test coverage detected