mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 16:40:07 +02:00
Remove some unused things
This commit is contained in:
commit
71e5f150ed
@ -22,8 +22,6 @@
|
|||||||
|
|
||||||
#include "Internat.h"
|
#include "Internat.h"
|
||||||
|
|
||||||
class wxString;
|
|
||||||
|
|
||||||
class AudacityException /* not final */
|
class AudacityException /* not final */
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -18,7 +18,6 @@ Paul Licameli
|
|||||||
#include "ClientData.h" // to inherit
|
#include "ClientData.h" // to inherit
|
||||||
|
|
||||||
class AudacityProject;
|
class AudacityProject;
|
||||||
class wxString;
|
|
||||||
class wxWindow;
|
class wxWindow;
|
||||||
|
|
||||||
enum StatusBarField : int {
|
enum StatusBarField : int {
|
||||||
|
@ -851,25 +851,6 @@ ShuttleGuiBase & ShuttleGuiBase::Prop( int iProp )
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxMenuBar * ShuttleGuiBase::AddMenuBar( )
|
|
||||||
{
|
|
||||||
auto menuBar = std::make_unique<wxMenuBar>();
|
|
||||||
mpMenuBar = menuBar.get();
|
|
||||||
|
|
||||||
wxFrame * pFrame = (wxFrame*)mpParent;
|
|
||||||
pFrame->SetThemeEnabled( true );
|
|
||||||
mpMenuBar->SetThemeEnabled( true );
|
|
||||||
pFrame->SetMenuBar(menuBar.release());
|
|
||||||
|
|
||||||
return mpMenuBar;
|
|
||||||
}
|
|
||||||
|
|
||||||
wxMenu * ShuttleGuiBase::AddMenu( const TranslatableString & Title )
|
|
||||||
{
|
|
||||||
mpMenuBar->Append( (mpMenu = safenew wxMenu), Title.Translation() );
|
|
||||||
return mpMenu;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Starts a static box around a number of controls.
|
/// Starts a static box around a number of controls.
|
||||||
/// @param Str The text of the title for the box.
|
/// @param Str The text of the title for the box.
|
||||||
/// @param iProp The resizing proportion value.
|
/// @param iProp The resizing proportion value.
|
||||||
@ -2239,47 +2220,6 @@ ShuttleGui & ShuttleGui::Optional( bool &bVar ){
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
GuiWaveTrack * ShuttleGui::AddGuiWaveTrack( const wxString & WXUNUSED(Name))
|
|
||||||
{
|
|
||||||
#ifdef EXPERIMENTAL_TRACK_PANEL
|
|
||||||
UseUpId();
|
|
||||||
if( mShuttleMode != eIsCreating )
|
|
||||||
return (GuiWaveTrack*)NULL;
|
|
||||||
// return wxDynamicCast(wxWindow::FindWindowById( miId, mpDlg), GuiWaveTrack);
|
|
||||||
GuiWaveTrack * pGuiWaveTrack;
|
|
||||||
miProp=1;
|
|
||||||
mpWind = pGuiWaveTrack = safenew GuiWaveTrack(mpParent, miId, Name);
|
|
||||||
mpWind->SetMinSize(wxSize(100,50));
|
|
||||||
UpdateSizers();
|
|
||||||
return pGuiWaveTrack;
|
|
||||||
#else
|
|
||||||
return NULL;
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
//#include "./widgets/AttachableScrollBar.h"
|
|
||||||
#if 0
|
|
||||||
AttachableScrollBar * ShuttleGui::AddAttachableScrollBar( long style )
|
|
||||||
{
|
|
||||||
UseUpId();
|
|
||||||
if( mShuttleMode != eIsCreating )
|
|
||||||
return (AttachableScrollBar*)NULL;
|
|
||||||
// return wxDynamicCast(wxWindow::FindWindowById( miId, mpDlg), AttachableScrollBar);
|
|
||||||
AttachableScrollBar * pAttachableScrollBar;
|
|
||||||
miProp=0;
|
|
||||||
mpWind = pAttachableScrollBar = safenew AttachableScrollBar(
|
|
||||||
mpParent,
|
|
||||||
miId,
|
|
||||||
wxDefaultPosition,
|
|
||||||
wxDefaultSize,
|
|
||||||
style
|
|
||||||
);
|
|
||||||
mpWind->SetMinSize(wxSize(10,20));
|
|
||||||
UpdateSizers();
|
|
||||||
return pAttachableScrollBar;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
std::unique_ptr<wxSizer> CreateStdButtonSizer(wxWindow *parent, long buttons, wxWindow *extra)
|
std::unique_ptr<wxSizer> CreateStdButtonSizer(wxWindow *parent, long buttons, wxWindow *extra)
|
||||||
{
|
{
|
||||||
wxASSERT(parent != NULL); // To justify safenew
|
wxASSERT(parent != NULL); // To justify safenew
|
||||||
|
@ -66,8 +66,6 @@ class wxPanel;
|
|||||||
class wxSizer;
|
class wxSizer;
|
||||||
class wxSizerItem;
|
class wxSizerItem;
|
||||||
class wxStaticBox;
|
class wxStaticBox;
|
||||||
class wxMenuBar;
|
|
||||||
class wxMenu;
|
|
||||||
class wxSpinCtrl;
|
class wxSpinCtrl;
|
||||||
class wxListBox;
|
class wxListBox;
|
||||||
class wxGrid;
|
class wxGrid;
|
||||||
@ -348,8 +346,6 @@ public:
|
|||||||
const TranslatableStrings &choices, int Selected = -1 );
|
const TranslatableStrings &choices, int Selected = -1 );
|
||||||
wxChoice * AddChoice( const TranslatableString &Prompt,
|
wxChoice * AddChoice( const TranslatableString &Prompt,
|
||||||
const TranslatableStrings &choices, const TranslatableString &selected );
|
const TranslatableStrings &choices, const TranslatableString &selected );
|
||||||
wxMenuBar * AddMenuBar( );
|
|
||||||
wxMenu * AddMenu( const TranslatableString & Title );
|
|
||||||
void AddIcon( wxBitmap * pBmp);
|
void AddIcon( wxBitmap * pBmp);
|
||||||
void AddFixedText(
|
void AddFixedText(
|
||||||
const TranslatableString & Str, bool bCenter = false, int wrapWidth = 0 );
|
const TranslatableString & Str, bool bCenter = false, int wrapWidth = 0 );
|
||||||
@ -558,8 +554,6 @@ protected:
|
|||||||
wxSizer * mpSizer;
|
wxSizer * mpSizer;
|
||||||
wxWindow * mpParent;
|
wxWindow * mpParent;
|
||||||
wxWindow * mpWind;
|
wxWindow * mpWind;
|
||||||
wxMenuBar * mpMenuBar;
|
|
||||||
wxMenu * mpMenu;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void DoDataShuttle( const wxString &Name, WrappedType & WrappedRef );
|
void DoDataShuttle( const wxString &Name, WrappedType & WrappedRef );
|
||||||
@ -741,9 +735,6 @@ public:
|
|||||||
ShuttleGui &MinSize( wxSize sz )
|
ShuttleGui &MinSize( wxSize sz )
|
||||||
{ std::move( mItem ).MinSize( sz ); return *this; }
|
{ std::move( mItem ).MinSize( sz ); return *this; }
|
||||||
|
|
||||||
GuiWaveTrack * AddGuiWaveTrack( const wxString & Name);
|
|
||||||
AttachableScrollBar * AddAttachableScrollBar( long style = wxSB_HORIZONTAL );
|
|
||||||
|
|
||||||
// The first of these buttons, if any, that is included will be default:
|
// The first of these buttons, if any, that is included will be default:
|
||||||
// Apply, Yes, OK
|
// Apply, Yes, OK
|
||||||
void AddStandardButtons(
|
void AddStandardButtons(
|
||||||
|
@ -80,18 +80,6 @@ enum {
|
|||||||
CONTROL_GROUP_EXPORT
|
CONTROL_GROUP_EXPORT
|
||||||
};
|
};
|
||||||
|
|
||||||
// Post Timer Recording Actions
|
|
||||||
// Ensure this matches the enum in Menus.cpp
|
|
||||||
enum {
|
|
||||||
POST_TIMER_RECORD_STOPPED = -3,
|
|
||||||
POST_TIMER_RECORD_CANCEL_WAIT,
|
|
||||||
POST_TIMER_RECORD_CANCEL,
|
|
||||||
POST_TIMER_RECORD_NOTHING,
|
|
||||||
POST_TIMER_RECORD_CLOSE,
|
|
||||||
POST_TIMER_RECORD_RESTART,
|
|
||||||
POST_TIMER_RECORD_SHUTDOWN
|
|
||||||
};
|
|
||||||
|
|
||||||
// The slow timer interval is used to update the start and end times, which only show
|
// The slow timer interval is used to update the start and end times, which only show
|
||||||
// time to the nearest second. So we only need an update once a second.
|
// time to the nearest second. So we only need an update once a second.
|
||||||
const int kSlowTimerInterval = 1000; // ms
|
const int kSlowTimerInterval = 1000; // ms
|
||||||
|
@ -30,14 +30,26 @@ class NumericTextCtrl;
|
|||||||
class ShuttleGui;
|
class ShuttleGui;
|
||||||
class TimerRecordPathCtrl;
|
class TimerRecordPathCtrl;
|
||||||
|
|
||||||
class wxArrayStringEx;
|
|
||||||
|
|
||||||
enum TimerRecordCompletedActions {
|
enum TimerRecordCompletedActions {
|
||||||
TR_ACTION_NOTHING = 0x00000000,
|
TR_ACTION_NOTHING = 0x00000000,
|
||||||
TR_ACTION_SAVED = 0x00000001,
|
TR_ACTION_SAVED = 0x00000001,
|
||||||
TR_ACTION_EXPORTED = 0x00000002
|
TR_ACTION_EXPORTED = 0x00000002
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum {
|
||||||
|
POST_TIMER_RECORD_STOPPED = -3,
|
||||||
|
POST_TIMER_RECORD_CANCEL_WAIT,
|
||||||
|
POST_TIMER_RECORD_CANCEL,
|
||||||
|
|
||||||
|
POST_TIMER_RECORD_NOTHING = 0,
|
||||||
|
POST_TIMER_RECORD_CLOSE,
|
||||||
|
|
||||||
|
#ifdef __WINDOWS__
|
||||||
|
POST_TIMER_RECORD_RESTART,
|
||||||
|
POST_TIMER_RECORD_SHUTDOWN
|
||||||
|
#endif
|
||||||
|
};
|
||||||
|
|
||||||
class AudacityProject;
|
class AudacityProject;
|
||||||
|
|
||||||
class TimerRecordPathCtrl final : public wxTextCtrl
|
class TimerRecordPathCtrl final : public wxTextCtrl
|
||||||
|
@ -19,7 +19,6 @@ Paul Licameli split from TrackPanel.cpp
|
|||||||
class wxDC;
|
class wxDC;
|
||||||
class wxPoint;
|
class wxPoint;
|
||||||
class wxRect;
|
class wxRect;
|
||||||
class wxString;
|
|
||||||
class wxWindow;
|
class wxWindow;
|
||||||
|
|
||||||
class ButtonHandle;
|
class ButtonHandle;
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
|
|
||||||
class wxMenu;
|
class wxMenu;
|
||||||
class wxMenuBar;
|
class wxMenuBar;
|
||||||
class wxArrayString;
|
|
||||||
class wxMenu;
|
class wxMenu;
|
||||||
class wxMenuBar;
|
class wxMenuBar;
|
||||||
using CommandParameter = CommandID;
|
using CommandParameter = CommandID;
|
||||||
|
@ -27,7 +27,6 @@ small calculations of rectangles.
|
|||||||
#include <wx/toplevel.h>
|
#include <wx/toplevel.h>
|
||||||
#include <wx/dcscreen.h>
|
#include <wx/dcscreen.h>
|
||||||
#include <wx/dcmemory.h>
|
#include <wx/dcmemory.h>
|
||||||
#include <wx/menu.h>
|
|
||||||
#include <wx/settings.h>
|
#include <wx/settings.h>
|
||||||
#include <wx/bitmap.h>
|
#include <wx/bitmap.h>
|
||||||
#include <wx/valgen.h>
|
#include <wx/valgen.h>
|
||||||
@ -363,43 +362,6 @@ bool ScreenshotCommand::CaptureDock(
|
|||||||
return Capture(context, FileName, win, wxRect(x, y, width, height));
|
return Capture(context, FileName, win, wxRect(x, y, width, height));
|
||||||
}
|
}
|
||||||
|
|
||||||
void ExploreMenu(
|
|
||||||
const CommandContext & context,
|
|
||||||
wxMenu * pMenu, int Id, int depth ){
|
|
||||||
static_cast<void>(Id);//compiler food.
|
|
||||||
|
|
||||||
if( !pMenu )
|
|
||||||
return;
|
|
||||||
|
|
||||||
wxMenuItemList list = pMenu->GetMenuItems();
|
|
||||||
size_t lcnt = list.size();
|
|
||||||
wxMenuItem * item;
|
|
||||||
wxString Label;
|
|
||||||
wxString Accel;
|
|
||||||
|
|
||||||
for (size_t lndx = 0; lndx < lcnt; lndx++) {
|
|
||||||
item = list.Item(lndx)->GetData();
|
|
||||||
Label = item->GetItemLabelText();
|
|
||||||
Accel = item->GetItemLabel();
|
|
||||||
if( Accel.Contains("\t") )
|
|
||||||
Accel = Accel.AfterLast('\t');
|
|
||||||
else
|
|
||||||
Accel = "";
|
|
||||||
if( item->IsSeparator() )
|
|
||||||
Label = "----";
|
|
||||||
int flags = 0;
|
|
||||||
if (item->IsSubMenu())
|
|
||||||
flags +=1;
|
|
||||||
if (item->IsCheck() && item->IsChecked())
|
|
||||||
flags +=2;
|
|
||||||
|
|
||||||
if (item->IsSubMenu()) {
|
|
||||||
pMenu = item->GetSubMenu();
|
|
||||||
ExploreMenu( context, pMenu, item->GetId(), depth+1 );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Handed a dialog, which it is given the option to capture.
|
// Handed a dialog, which it is given the option to capture.
|
||||||
bool ScreenshotCommand::MayCapture( wxDialog * pDlg )
|
bool ScreenshotCommand::MayCapture( wxDialog * pDlg )
|
||||||
{
|
{
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
#include "../widgets/wxPanelWrapper.h" // to inherit
|
#include "../widgets/wxPanelWrapper.h" // to inherit
|
||||||
|
|
||||||
class wxButton;
|
class wxButton;
|
||||||
class wxString;
|
|
||||||
class wxTextCtrl;
|
class wxTextCtrl;
|
||||||
|
|
||||||
class Envelope;
|
class Envelope;
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
class wxButton;
|
class wxButton;
|
||||||
class wxSizer;
|
class wxSizer;
|
||||||
class wxSlider;
|
class wxSlider;
|
||||||
class wxString;
|
|
||||||
|
|
||||||
class Envelope;
|
class Envelope;
|
||||||
class WaveTrack;
|
class WaveTrack;
|
||||||
|
@ -55,7 +55,6 @@ extern int scorealign(
|
|||||||
|
|
||||||
class wxButton;
|
class wxButton;
|
||||||
class wxCheckBox;
|
class wxCheckBox;
|
||||||
class wxString;
|
|
||||||
class wxSlider;
|
class wxSlider;
|
||||||
class wxStaticText;
|
class wxStaticText;
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ into a NoteTrack.
|
|||||||
|
|
||||||
#if defined(USE_MIDI)
|
#if defined(USE_MIDI)
|
||||||
|
|
||||||
class wxString;
|
|
||||||
class AudacityProject;
|
class AudacityProject;
|
||||||
class NoteTrack;
|
class NoteTrack;
|
||||||
|
|
||||||
|
@ -53,7 +53,6 @@ but little else.
|
|||||||
#include "ImportRaw.h" // defines TrackHolders
|
#include "ImportRaw.h" // defines TrackHolders
|
||||||
|
|
||||||
class AudacityProject;
|
class AudacityProject;
|
||||||
class wxArrayString;
|
|
||||||
class ProgressDialog;
|
class ProgressDialog;
|
||||||
enum class ProgressResult : unsigned;
|
enum class ProgressResult : unsigned;
|
||||||
class TrackFactory;
|
class TrackFactory;
|
||||||
|
@ -71,18 +71,6 @@ bool MakeReadyToPlay(AudacityProject &project)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Post Timer Recording Actions
|
|
||||||
// Ensure this matches the enum in TimerRecordDialog.cpp
|
|
||||||
enum {
|
|
||||||
POST_TIMER_RECORD_STOPPED = -3,
|
|
||||||
POST_TIMER_RECORD_CANCEL_WAIT,
|
|
||||||
POST_TIMER_RECORD_CANCEL,
|
|
||||||
POST_TIMER_RECORD_NOTHING,
|
|
||||||
POST_TIMER_RECORD_CLOSE,
|
|
||||||
POST_TIMER_RECORD_RESTART,
|
|
||||||
POST_TIMER_RECORD_SHUTDOWN
|
|
||||||
};
|
|
||||||
|
|
||||||
// Returns true if this project was stopped, otherwise false.
|
// Returns true if this project was stopped, otherwise false.
|
||||||
// (it may though have stopped another project playing)
|
// (it may though have stopped another project playing)
|
||||||
bool DoStopPlaying(const CommandContext &context)
|
bool DoStopPlaying(const CommandContext &context)
|
||||||
@ -371,20 +359,19 @@ void OnTimerRecord(const CommandContext &context)
|
|||||||
} );
|
} );
|
||||||
ProjectManager::Get(project).SetSkipSavePrompt(true);
|
ProjectManager::Get(project).SetSkipSavePrompt(true);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
#ifdef __WINDOWS__
|
||||||
case POST_TIMER_RECORD_RESTART:
|
case POST_TIMER_RECORD_RESTART:
|
||||||
// Restart System
|
// Restart System
|
||||||
ProjectManager::Get(project).SetSkipSavePrompt(true);
|
ProjectManager::Get(project).SetSkipSavePrompt(true);
|
||||||
#ifdef __WINDOWS__
|
|
||||||
system("shutdown /r /f /t 30");
|
system("shutdown /r /f /t 30");
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
case POST_TIMER_RECORD_SHUTDOWN:
|
case POST_TIMER_RECORD_SHUTDOWN:
|
||||||
// Shutdown System
|
// Shutdown System
|
||||||
ProjectManager::Get(project).SetSkipSavePrompt(true);
|
ProjectManager::Get(project).SetSkipSavePrompt(true);
|
||||||
#ifdef __WINDOWS__
|
|
||||||
system("shutdown /s /f /t 30");
|
system("shutdown /s /f /t 30");
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
class wxChoice;
|
class wxChoice;
|
||||||
class ShuttleGui;
|
class ShuttleGui;
|
||||||
class wxArrayStringEx;
|
|
||||||
|
|
||||||
#define DEVICE_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Device") }
|
#define DEVICE_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Device") }
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
class ChoiceSetting;
|
class ChoiceSetting;
|
||||||
class ShuttleGui;
|
class ShuttleGui;
|
||||||
class wxArrayStringEx;
|
|
||||||
|
|
||||||
#define GUI_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("GUI") }
|
#define GUI_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("GUI") }
|
||||||
|
|
||||||
|
@ -24,8 +24,6 @@ class ShuttleGui;
|
|||||||
|
|
||||||
#include "PrefsPanel.h"
|
#include "PrefsPanel.h"
|
||||||
|
|
||||||
class wxArrayStringEx;
|
|
||||||
|
|
||||||
#define MIDI_IO_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Midi IO") }
|
#define MIDI_IO_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Midi IO") }
|
||||||
|
|
||||||
class MidiIOPrefs final : public PrefsPanel
|
class MidiIOPrefs final : public PrefsPanel
|
||||||
|
@ -23,8 +23,6 @@ class ShuttleGui;
|
|||||||
enum sampleFormat : unsigned;
|
enum sampleFormat : unsigned;
|
||||||
enum DitherType : unsigned;
|
enum DitherType : unsigned;
|
||||||
|
|
||||||
class wxArrayStringEx;
|
|
||||||
|
|
||||||
#define QUALITY_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Quality") }
|
#define QUALITY_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Quality") }
|
||||||
|
|
||||||
class QualityPrefs final : public PrefsPanel
|
class QualityPrefs final : public PrefsPanel
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
#include "PrefsPanel.h"
|
#include "PrefsPanel.h"
|
||||||
#include "SpectrogramSettings.h"
|
#include "SpectrogramSettings.h"
|
||||||
|
|
||||||
class wxArrayStringEx;
|
|
||||||
class wxChoice;
|
class wxChoice;
|
||||||
class wxCheckBox;
|
class wxCheckBox;
|
||||||
class wxTextCtrl;
|
class wxTextCtrl;
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
class ChoiceSetting;
|
class ChoiceSetting;
|
||||||
class ShuttleGui;
|
class ShuttleGui;
|
||||||
class wxArrayStringEx;
|
|
||||||
|
|
||||||
#define TRACKS_BEHAVIORS_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Tracks Behaviors") }
|
#define TRACKS_BEHAVIORS_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Tracks Behaviors") }
|
||||||
|
|
||||||
|
@ -20,8 +20,6 @@ class WaveTrack;
|
|||||||
class wxCheckBox;
|
class wxCheckBox;
|
||||||
class wxChoice;
|
class wxChoice;
|
||||||
|
|
||||||
class wxArrayStringEx;
|
|
||||||
|
|
||||||
#define WAVEFORM_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Waveform") }
|
#define WAVEFORM_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Waveform") }
|
||||||
|
|
||||||
class WaveformPrefs final : public PrefsPanel
|
class WaveformPrefs final : public PrefsPanel
|
||||||
|
@ -51,7 +51,6 @@ with changes in the SelectionBar.
|
|||||||
#include <wx/statline.h>
|
#include <wx/statline.h>
|
||||||
|
|
||||||
|
|
||||||
#include "../widgets/AButton.h"
|
|
||||||
#include "../AudioIOBase.h"
|
#include "../AudioIOBase.h"
|
||||||
#include "../AColor.h"
|
#include "../AColor.h"
|
||||||
#include "../KeyboardCapture.h"
|
#include "../KeyboardCapture.h"
|
||||||
|
@ -46,7 +46,6 @@
|
|||||||
#include "../AllThemeResources.h"
|
#include "../AllThemeResources.h"
|
||||||
#include "../ImageManipulation.h"
|
#include "../ImageManipulation.h"
|
||||||
#include "../Prefs.h"
|
#include "../Prefs.h"
|
||||||
#include "../widgets/AButton.h"
|
|
||||||
#include "../widgets/Grabber.h"
|
#include "../widgets/Grabber.h"
|
||||||
|
|
||||||
const ToolBarConfiguration::Position
|
const ToolBarConfiguration::Position
|
||||||
|
@ -193,24 +193,6 @@ int AButton::Listener::FilterEvent(wxEvent &event)
|
|||||||
return Event_Skip;
|
return Event_Skip;
|
||||||
}
|
}
|
||||||
|
|
||||||
AButton::AButton(wxWindow * parent,
|
|
||||||
wxWindowID id,
|
|
||||||
const wxPoint & pos,
|
|
||||||
const wxSize & size,
|
|
||||||
wxImage up,
|
|
||||||
wxImage over,
|
|
||||||
wxImage down,
|
|
||||||
wxImage overDown,
|
|
||||||
wxImage dis,
|
|
||||||
bool toggle):
|
|
||||||
wxWindow()
|
|
||||||
{
|
|
||||||
Init(parent, id, pos, size,
|
|
||||||
ImageRoll(up), ImageRoll(over),
|
|
||||||
ImageRoll(down), ImageRoll(overDown), ImageRoll(dis),
|
|
||||||
toggle);
|
|
||||||
}
|
|
||||||
|
|
||||||
AButton::AButton(wxWindow * parent,
|
AButton::AButton(wxWindow * parent,
|
||||||
wxWindowID id,
|
wxWindowID id,
|
||||||
const wxPoint & pos,
|
const wxPoint & pos,
|
||||||
|
@ -41,19 +41,6 @@ class AButton final : public wxWindow {
|
|||||||
ImageRoll dis,
|
ImageRoll dis,
|
||||||
bool toggle);
|
bool toggle);
|
||||||
|
|
||||||
// Construct button, specifying images (button up, highlight, button down,
|
|
||||||
// and disabled) for the default state
|
|
||||||
AButton(wxWindow * parent,
|
|
||||||
wxWindowID id,
|
|
||||||
const wxPoint & pos,
|
|
||||||
const wxSize & size,
|
|
||||||
wxImage up,
|
|
||||||
wxImage over,
|
|
||||||
wxImage down,
|
|
||||||
wxImage overDown,
|
|
||||||
wxImage dis,
|
|
||||||
bool toggle);
|
|
||||||
|
|
||||||
virtual ~ AButton();
|
virtual ~ AButton();
|
||||||
|
|
||||||
// hide the inherited function that takes naked wxString:
|
// hide the inherited function that takes naked wxString:
|
||||||
|
@ -148,8 +148,6 @@ const int sliderFontSize = 12;
|
|||||||
#define OPTIONAL_SLIDER_TICKS
|
#define OPTIONAL_SLIDER_TICKS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class wxArrayString;
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// TipWindow
|
// TipWindow
|
||||||
//
|
//
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <wx/timer.h> // member variable
|
#include <wx/timer.h> // member variable
|
||||||
#include "wxPanelWrapper.h" // to inherit
|
#include "wxPanelWrapper.h" // to inherit
|
||||||
|
|
||||||
class wxArrayString;
|
|
||||||
class wxBitmap;
|
class wxBitmap;
|
||||||
class wxSize;
|
class wxSize;
|
||||||
class wxPoint;
|
class wxPoint;
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
|
|
||||||
#include "../commands/Keyboard.h"
|
#include "../commands/Keyboard.h"
|
||||||
|
|
||||||
class wxArrayString;
|
|
||||||
|
|
||||||
// Class holding all information about a node. Rather than a real tree
|
// Class holding all information about a node. Rather than a real tree
|
||||||
// we store these in an array and simulate a tree.
|
// we store these in an array and simulate a tree.
|
||||||
class KeyNode
|
class KeyNode
|
||||||
|
@ -19,7 +19,7 @@ tables, and automatically attaches and detaches the event handlers.
|
|||||||
#define __AUDACITY_POPUP_MENU_TABLE__
|
#define __AUDACITY_POPUP_MENU_TABLE__
|
||||||
|
|
||||||
class wxCommandEvent;
|
class wxCommandEvent;
|
||||||
class wxString;
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <wx/menu.h> // to inherit wxMenu
|
#include <wx/menu.h> // to inherit wxMenu
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
#include <wx/colour.h> // member variable
|
#include <wx/colour.h> // member variable
|
||||||
#include <wx/pen.h> // member variable
|
#include <wx/pen.h> // member variable
|
||||||
|
|
||||||
class wxArrayString;
|
|
||||||
class wxDC;
|
class wxDC;
|
||||||
class wxFont;
|
class wxFont;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user