void Visit(gcc_unused const BGAFixedCourseZone& oz) { hide_all(); WndFrame* wp = ((WndFrame *)wf->FindByName(_T("frmOZBGAFixedCourse"))); if (wp) wp->show(); }
void Visit(gcc_unused const BGAEnhancedOptionZone& oz) { hide_all(); WndFrame* wp = ((WndFrame *)wf->FindByName(_T("frmOZBGAEnhancedOption"))); if (wp) wp->show(); }
void Visit(gcc_unused const KeyholeZone& oz) { hide_all(); WndFrame* wp = ((WndFrame *)wf->FindByName(_T("frmOZKeyhole"))); if (wp) wp->show(); }
void Visit(gcc_unused const FAISectorZone& oz) { hide_all(); WndFrame* wp = ((WndFrame *)wf->FindByName(_T("frmOZFAISector"))); if (wp) wp->show(); }
void Visit(const CylinderZone& oz) { hide_all(); WndFrame* wp = ((WndFrame *)wf->FindByName(_T("frmOZCylinder"))); if (wp) wp->show(); LoadFormProperty(*wf, _T("prpOZCylinderRadius"), ugDistance, oz.getRadius()); }
void Visit(const LineSectorZone& oz) { hide_all(); WndFrame* wp = ((WndFrame *)wf->FindByName(_T("frmOZLine"))); if (wp) wp->show(); LoadFormProperty(*wf, _T("prpOZLineLength"), ugDistance, oz.getLength()); }
void Visit(const SectorZone& oz) { hide_all(); WndFrame* wp = ((WndFrame *)wf->FindByName(_T("frmOZSector"))); if (wp) wp->show(); LoadFormProperty(*wf, _T("prpOZSectorRadius"), ugDistance, oz.getRadius()); LoadFormProperty(*wf, _T("prpOZSectorStartRadial"), oz.getStartRadial().value_degrees()); LoadFormProperty(*wf, _T("prpOZSectorFinishRadial"), oz.getEndRadial().value_degrees()); WndProperty* wap = (WndProperty*)wf->FindByName(_T("prpOZSectorInnerRadius")); if (wap) { wap->hide(); } }