| 178 | } |
| 179 | |
| 180 | void 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 |
nothing calls this directly
no test coverage detected