mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-22 16:41:18 +01:00
Bug 275 - Snap-To status/quantisation are global, leading to incorrect indications in multiple projects
This adds (I believe) project specific selection format.
This commit is contained in:
@@ -36,6 +36,8 @@ class AUDACITY_DLL_API SelectionBarListener {
|
||||
virtual void AS_SetRate(double rate) = 0;
|
||||
virtual bool AS_GetSnapTo() = 0;
|
||||
virtual void AS_SetSnapTo(bool state) = 0;
|
||||
virtual const wxString & AS_GetSelectionFormat() = 0;
|
||||
virtual void AS_SetSelectionFormat(const wxString & format) = 0;
|
||||
virtual void AS_ModifySelection(double &start, double &end, bool done) = 0;
|
||||
};
|
||||
|
||||
@@ -58,6 +60,7 @@ class SelectionBar:public ToolBar {
|
||||
double GetRightTime();
|
||||
void SetField(const wxChar *msg, int fieldNum);
|
||||
void SetSnapTo(bool state);
|
||||
void SetSelectionFormat(const wxString & format);
|
||||
void SetRate(double rate);
|
||||
void SetListener(SelectionBarListener *l);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user