MCPcopy Create free account
hub / github.com/GeoDaCenter/geoda / OnChangeOutlineColor

Method OnChangeOutlineColor

Explore/MapLayerTree.cpp:532–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530}
531
532void MapTree::OnChangeOutlineColor(wxCommandEvent& event)
533{
534 wxString map_name = map_titles[new_order[select_id]];
535 BackgroundMapLayer* ml = GetMapLayer(map_name);
536 if (ml) {
537 wxColour clr;
538 clr = wxGetColourFromUser(this, ml->GetPenColour());
539 ml->SetPenColour(clr);
540 Refresh();
541 canvas->RedrawMap();
542 }
543}
544
545void MapTree::OnChangePointRadius(wxCommandEvent& event)
546{

Callers

nothing calls this directly

Calls 3

GetPenColourMethod · 0.80
RedrawMapMethod · 0.80
SetPenColourMethod · 0.45

Tested by

no test coverage detected