void Visit(LineSectorZone& oz) { fixed line_length = Units::ToSysDistance(GetFormValueFixed(*wf, _T("prpOZLineLength"))); if (fabs(line_length - oz.getLength()) > fixed(49)) { oz.setLength(line_length); task_modified = true; } }
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 LineSectorZone& oz) { ozUserSize = oz.getLength(); }
void Serialiser::Visit(const LineSectorZone& data) { m_node.set_attribute(_T("type"), _T("Line")); m_node.set_attribute(_T("length"), data.getLength()); }