@@ -120,7 +120,7 @@ class CalChartDoc : public wxDocument {
120120
121121 void FlushAllTextWindows ();
122122
123- void WizardSetupNewShow (std::vector<std::string> const & labels , int columns, CalChart::ShowMode const & newmode);
123+ void WizardSetupNewShow (std::vector<std::pair<std:: string, std::string>> const & labelsAndInstruments , int columns, CalChart::ShowMode const & newmode);
124124
125125 auto GetNumSheets () const { return mShow ? mShow ->GetNumSheets () : 0 ; }
126126
@@ -136,8 +136,11 @@ class CalChartDoc : public wxDocument {
136136 std::pair<bool , std::vector<size_t >> GetRelabelMapping (CalChart::Show::const_Sheet_iterator_t source_sheet, CalChart::Show::const_Sheet_iterator_t target_sheets, CalChart::Coord::units tolerance) const ;
137137
138138 auto GetPointLabel (int i) const { return mShow ->GetPointLabel (i); }
139-
140- auto GetPointLabels () const { return mShow ->GetPointLabels (); }
139+ auto GetPointsLabel () const { return mShow ->GetPointsLabel (); }
140+ auto GetPointInstrument (int i) const { return mShow ->GetPointInstrument (i); }
141+ auto GetPointsInstrument () const { return mShow ->GetPointsInstrument (); }
142+ auto GetPointSymbol (int i) const { return mShow ->GetPointSymbol (i); }
143+ auto GetPointsSymbol () const { return mShow ->GetPointsSymbol (); }
141144
142145 // how to select points
143146 // Utility functions for constructing new selection lists
@@ -148,6 +151,9 @@ class CalChartDoc : public wxDocument {
148151 auto MakeRemoveFromSelection (const SelectionList& sl) const { return mShow ->MakeRemoveFromSelection (sl); }
149152 auto MakeToggleSelection (const SelectionList& sl) const { return mShow ->MakeToggleSelection (sl); }
150153 auto MakeSelectWithLasso (const CalChart::Lasso& lasso, int ref) const { return mShow ->MakeSelectWithLasso (lasso, ref); }
154+ auto MakeSelectBySymbol (SYMBOL_TYPE symbol) const { return mShow ->MakeSelectBySymbol (symbol); }
155+ auto MakeSelectByInstrument (std::string const & instrument) const { return mShow ->MakeSelectByInstrument (instrument); }
156+ auto MakeSelectByLabel (std::string const & label) const { return mShow ->MakeSelectByLabel (label); }
151157
152158 void SetSelection (const SelectionList& sl);
153159
@@ -167,7 +173,8 @@ class CalChartDoc : public wxDocument {
167173 std::unique_ptr<wxCommand> Create_SetSelectionCommand (const SelectionList& sl);
168174 std::unique_ptr<wxCommand> Create_SetCurrentSheetAndSelectionCommand (int n, const SelectionList& sl);
169175 std::unique_ptr<wxCommand> Create_SetShowModeCommand (CalChart::ShowMode const & newmode);
170- std::unique_ptr<wxCommand> Create_SetShowInfoCommand (std::vector<wxString> const & labels, int numColumns);
176+ std::unique_ptr<wxCommand> Create_SetupMarchersCommand (std::vector<std::pair<std::string, std::string>> const & labels, int numColumns);
177+ std::unique_ptr<wxCommand> Create_SetInstrumentsCommand (std::map<int , std::string> const & dotToInstrument);
171178 std::unique_ptr<wxCommand> Create_SetSheetTitleCommand (const wxString& newname);
172179 std::unique_ptr<wxCommand> Create_SetSheetBeatsCommand (int beats);
173180 std::unique_ptr<wxCommand> Create_AddSheetsCommand (const CalChart::Show::Sheet_container_t& sheets, int where);
0 commit comments