void TemplateFrame::OnHighlightColor(wxCommandEvent& event) { LOG_MSG("Called TemplateFrame::OnHighlightColor"); wxColour new_color; if ( GetColorFromUser(this, template_canvas->highlight_color, new_color, "Highlight Color") ) { template_canvas->SetHighlightColor(new_color); } }
void TemplateFrame::OnSelectableOutlineColor(wxCommandEvent& event) { LOG_MSG("Called TemplateFrame::OnSelectableOutlineColor"); wxColour new_color; if ( GetColorFromUser(this, template_canvas->selectable_outline_color, new_color, "Outline Color") ) { template_canvas->SetSelectableOutlineColor(new_color); } }
void C3DPlotFrame::OnSelectableFillColor(wxCommandEvent& event) { LOG_MSG("Called C3DPlotFrame::OnSelectableOutlineColor"); wxColour new_color; if ( GetColorFromUser(this, canvas->selectable_fill_color, new_color, "Fill Color") ) { canvas->SetSelectableFillColor(new_color); } }
void TemplateFrame::OnCanvasBackgroundColor(wxCommandEvent& event) { LOG_MSG("Called TemplateFrame::OnCanvasBackgroundColor"); wxColour new_color; if ( GetColorFromUser(this, template_canvas->canvas_background_color, new_color, "Background Color") ) { template_canvas->SetCanvasBackgroundColor(new_color); } }
void C3DPlotFrame::OnHighlightColor(wxCommandEvent& event) { LOG_MSG("Called C3DPlotFrame::OnHighlightColor"); wxColour new_color; if ( GetColorFromUser(this, canvas->highlight_color, new_color, "Highlight Color") ) { canvas->SetHighlightColor(new_color); } }