void AirspaceFilterWidget::Prepare(ContainerWindow &parent, const PixelRect &rc) { Add(_("Name"), nullptr, CreateNameDataField(listener)); Add(_("Distance"), nullptr, CreateDistanceDataField(listener)); Add(_("Direction"), nullptr, CreateDirectionDataField(listener)); AddEnum(_("Type"), nullptr, type_filter_list, WILDCARD, listener); }
void WaypointFilterWidget::Prepare(ContainerWindow &parent, const PixelRect &rc) { Add(_("Name"), nullptr, CreateNameDataField(listener)); Add(_("Distance"), nullptr, CreateDistanceDataField(listener)); Add(_("Direction"), nullptr, CreateDirectionDataField(listener)); Add(_("Type"), nullptr, CreateTypeDataField(listener)); }