void TemplateFrame::OnPlotsPerViewAll() { if (!template_canvas) return; template_canvas->PlotsPerViewAll(); UpdateOptionMenuItems(); UpdateTitle(); }
void TemplateFrame::OnPanMode(wxCommandEvent& event) { LOG_MSG("Called TemplateFrame::OnPanMode"); if (!template_canvas) return; template_canvas->SetMouseMode(TemplateCanvas::pan); UpdateOptionMenuItems(); }
void TemplateFrame::OnPlotsPerView(int plots_per_view) { if (!template_canvas) return; template_canvas->PlotsPerView(plots_per_view); UpdateOptionMenuItems(); UpdateTitle(); }
void TemplateFrame::OnResetMap(wxCommandEvent& event) { LOG_MSG("Called TemplateFrame::OnResetMap"); if (!template_canvas) return; template_canvas->ResetShapes(); UpdateOptionMenuItems(); }
void TemplateFrame::OnSelectWithLine(wxCommandEvent& event) { LOG_MSG("Called TemplateFrame::OnSelectWithLine"); if (!template_canvas) return; template_canvas->SetBrushType(TemplateCanvas::line); template_canvas->SetMouseMode(TemplateCanvas::select); UpdateOptionMenuItems(); }
void WeightsManFrame::OnShowAxes(wxCommandEvent& event) { LOG_MSG("In WeightsManFrame::OnShowAxes"); if (conn_hist_canvas) { conn_hist_canvas->ShowAxes(!conn_hist_canvas->IsShowAxes()); UpdateOptionMenuItems(); } }
void ConditionalHistogramFrame::OnShowAxes(wxCommandEvent& ev) { LOG_MSG("In ConditionalHistogramFrame::OnShowAxes"); ConditionalHistogramCanvas* t = (ConditionalHistogramCanvas*) template_canvas; t->ShowAxes(!t->IsShowAxes()); UpdateOptionMenuItems(); }
void TemplateFrame::OnSetMarkersTypeFilled(bool markers_filled) { template_canvas->SetMarkersFilled(!template_canvas->GetMarkersFilled()); wxPaintEvent default_paint_event; template_canvas->invalidateBms(); template_canvas->OnPaint(default_paint_event); UpdateOptionMenuItems(); }
void TemplateFrame::OnFixedAspectRatioMode(wxCommandEvent& event) { LOG_MSG("Entering TemplateFrame::OnFixedAspectRatioMode"); if (!template_canvas) return; template_canvas->SetFixedAspectRatioMode( !template_canvas->GetFixedAspectRatioMode()); UpdateOptionMenuItems(); LOG_MSG("Exiting TemplateFrame::OnFixedAspectRatioMode"); }
void WeightsManFrame::OnDisplayStatistics(wxCommandEvent& event) { LOG_MSG("In WeightsManFrame::OnDisplayStatistics"); if (conn_hist_canvas) { conn_hist_canvas->DisplayStatistics( !conn_hist_canvas->IsDisplayStats()); UpdateOptionMenuItems(); } }
void TestScrollWinFrame::MapMenus() { //LOG_MSG("In TestScrollWinFrame::MapMenus"); wxMenuBar* mb = GdaFrame::GetGdaFrame()->GetMenuBar(); // Map Options Menus wxMenu* optMenu = wxXmlResource::Get()-> LoadMenu("ID_TEST_SCROLL_WIN_VIEW_MENU_CONTEXT"); GeneralWxUtils::ReplaceMenu(mb, "Options", optMenu); UpdateOptionMenuItems(); }
void C3DPlotFrame::MapMenus() { LOG_MSG("In C3DPlotFrame::MapMenus"); wxMenuBar* mb = GdaFrame::GetGdaFrame()->GetMenuBar(); // Map Options Menus wxMenu* optMenu = wxXmlResource::Get()-> LoadMenu("ID_3D_PLOT_VIEW_MENU_OPTIONS"); canvas->AddTimeVariantOptionsToMenu(optMenu); canvas->SetCheckMarks(optMenu); GeneralWxUtils::ReplaceMenu(mb, "Options", optMenu); UpdateOptionMenuItems(); }
void ConditionalHistogramFrame::MapMenus() { LOG_MSG("In ConditionalHistogramFrame::MapMenus"); wxMenuBar* mb = GdaFrame::GetGdaFrame()->GetMenuBar(); // Map Options Menus wxMenu* optMenu = wxXmlResource::Get()-> LoadMenu("ID_COND_HISTOGRAM_VIEW_MENU_OPTIONS"); ((ConditionalHistogramCanvas*) template_canvas)-> AddTimeVariantOptionsToMenu(optMenu); TemplateCanvas::AppendCustomCategories(optMenu, project->GetCatClassifManager()); ((ConditionalHistogramCanvas*) template_canvas)->SetCheckMarks(optMenu); GeneralWxUtils::ReplaceMenu(mb, "Options", optMenu); UpdateOptionMenuItems(); }
void TemplateFrame::OnFixedScaleVariable(int var_index) { if (!template_canvas) return; template_canvas->FixedScaleVariableToggle(var_index); UpdateOptionMenuItems(); }
void TemplateFrame::OnTimeSyncVariable(int var_index) { if (!template_canvas) return; template_canvas->TimeSyncVariableToggle(var_index); UpdateOptionMenuItems(); }
void C3DPlotFrame::OnTimeSyncVariable(int var_index) { if (!canvas) return; canvas->TimeSyncVariableToggle(var_index); UpdateOptionMenuItems(); }