1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

remove some unused things

This commit is contained in:
Paul Licameli
2019-03-01 17:17:30 -05:00
parent d079de75b1
commit 617ac20e7f
5 changed files with 0 additions and 43 deletions

View File

@@ -364,42 +364,6 @@ SnapResults SnapManager::Snap
return labels;
}
/* static */ wxArrayString SnapManager::GetSnapValues()
{
wxArrayString values;
values.Add(wxT("Off"));
values.Add(wxT("Nearest"));
values.Add(wxT("Prior"));
return values;
}
/* static */ const wxString & SnapManager::GetSnapValue(int index)
{
wxArrayString values = SnapManager::GetSnapValues();
if (index >= 0 && index < (int) values.GetCount())
{
return values[index];
}
return values[SNAP_OFF];
}
/* static */ int SnapManager::GetSnapIndex(const wxString & value)
{
wxArrayString values = SnapManager::GetSnapValues();
int index = values.Index(value);
if (index != wxNOT_FOUND)
{
return index;
}
return SNAP_OFF;
}
#include "AColor.h"
void SnapManager::Draw( wxDC *dc, wxInt64 snap0, wxInt64 snap1 )