MCPcopy Create free account
hub / github.com/amule-project/amule / SetPlotColor

Method SetPlotColor

src/OScopeCtrl.cpp:163–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161
162
163void COScopeCtrl::SetPlotColor(const wxColour& cr, unsigned iTrend)
164{
165 PlotData_t* ppds = pdsTrends+iTrend;
166 if (ppds->crPlot == cr)
167 return;
168 ppds->crPlot = cr;
169 ppds->penPlot=*(wxThePenList->FindOrCreatePen(ppds->crPlot, 1, wxPENSTYLE_SOLID));
170 InvalidateGraph();
171}
172
173
174void COScopeCtrl::SetBackgroundColor(const wxColour& cr)

Callers 2

ApplyStatsColorMethod · 0.80
SetGraphColorsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected