| 3990 | } |
| 3991 | |
| 3992 | void 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 | |
| 4007 | void MapFrame::OnChangeGraphColor(wxCommandEvent& event) |
| 4008 | { |
nothing calls this directly
no test coverage detected