MCPcopy Create free account
hub / github.com/ddnet/ddnet / ShowPopupColorPicker

Method ShowPopupColorPicker

src/game/client/ui.cpp:2291–2297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2289}
2290
2291void CUi::ShowPopupColorPicker(float X, float Y, SColorPickerPopupContext *pContext)
2292{
2293 pContext->m_pUI = this;
2294 if(pContext->m_ColorMode == SColorPickerPopupContext::MODE_UNSET)
2295 pContext->m_ColorMode = SColorPickerPopupContext::MODE_HSVA;
2296 DoPopupMenu(pContext, X, Y, 160.0f + 10.0f, 209.0f + 10.0f, pContext, PopupColorPicker);
2297}

Callers 2

DoButton_ColorPickerMethod · 0.80
DoColorPickerButtonMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected