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

Method onRightMouseDown

Engine/source/gui/controls/guiGradientCtrl.cpp:180–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180void GuiGradientSwatchCtrl::onRightMouseDown(const GuiEvent &event)
181{
182 GuiGradientCtrl* parent = dynamic_cast<GuiGradientCtrl*>(getParent());
183 if( parent )
184 parent->removeColorRange( this );
185}
186
187//-----------------------------------------------------------------------------
188// GuiGradientCtrl

Callers

nothing calls this directly

Calls 1

removeColorRangeMethod · 0.80

Tested by

no test coverage detected