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

Method OnChangeGraphThickness

Explore/MapNewView.cpp:3992–4005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3990}
3991
3992void MapFrame::OnChangeGraphThickness(wxCommandEvent& event)
3993{
3994 GalWeight* gal_weights = checkWeights();
3995 if (gal_weights == NULL)
3996 return;
3997 if (event.GetId() == XRCID("ID_WEIGHTS_GRAPH_THICKNESS_LIGHT"))
3998 ((MapCanvas*) template_canvas)->ChangeGraphThickness(0);
3999 else if (event.GetId() == XRCID("ID_WEIGHTS_GRAPH_THICKNESS_NORM"))
4000 ((MapCanvas*) template_canvas)->ChangeGraphThickness(1);
4001 else if (event.GetId() == XRCID("ID_WEIGHTS_GRAPH_THICKNESS_STRONG"))
4002 ((MapCanvas*) template_canvas)->ChangeGraphThickness(2);
4003
4004 UpdateOptionMenuItems();
4005}
4006
4007void MapFrame::OnChangeGraphColor(wxCommandEvent& event)
4008{

Callers

nothing calls this directly

Calls 1

ChangeGraphThicknessMethod · 0.80

Tested by

no test coverage detected