Audacity  2.2.0
ScreenFrame Class Referencefinal
Inheritance diagram for ScreenFrame:

Public Member Functions

 ScreenFrame (wxWindow *parent, wxWindowID id)
 
virtual ~ScreenFrame ()
 
bool ProcessEvent (wxEvent &event) override
 

Private Member Functions

void Populate ()
 
void PopulateOrExchange (ShuttleGui &S)
 
void OnCloseWindow (wxCloseEvent &event)
 
void OnUIUpdate (wxUpdateUIEvent &event)
 
void OnDirChoose (wxCommandEvent &event)
 
void SizeMainWindow (int w, int h)
 
void OnMainWindowSmall (wxCommandEvent &event)
 
void OnMainWindowLarge (wxCommandEvent &event)
 
void OnToggleBackgroundBlue (wxCommandEvent &event)
 
void OnToggleBackgroundWhite (wxCommandEvent &event)
 
void DoCapture (wxString captureMode)
 
void OnCaptureSomething (wxCommandEvent &event)
 
void TimeZoom (double seconds)
 
void OnOneSec (wxCommandEvent &event)
 
void OnTenSec (wxCommandEvent &event)
 
void OnOneMin (wxCommandEvent &event)
 
void OnFiveMin (wxCommandEvent &event)
 
void OnOneHour (wxCommandEvent &event)
 
void SizeTracks (int h)
 
void OnShortTracks (wxCommandEvent &event)
 
void OnMedTracks (wxCommandEvent &event)
 
void OnTallTracks (wxCommandEvent &event)
 
std::unique_ptr
< ScreenshotCommand
CreateCommand ()
 

Private Attributes

wxCheckBox * mDelayCheckBox
 
wxTextCtrl * mDirectoryTextBox
 
wxToggleButton * mBlue
 
wxToggleButton * mWhite
 
wxStatusBar * mStatus
 
std::unique_ptr
< ScreenshotCommand
mCommand
 
CommandExecutionContext mContext
 

Constructor & Destructor Documentation

ScreenFrame::ScreenFrame ( wxWindow *  parent,
wxWindowID  id 
)
ScreenFrame::~ScreenFrame ( )
virtual

Member Function Documentation

std::unique_ptr< ScreenshotCommand > ScreenFrame::CreateCommand ( )
private
void ScreenFrame::DoCapture ( wxString  captureMode)
private
void ScreenFrame::OnCaptureSomething ( wxCommandEvent &  event)
private

References DoCapture(), and IdCaptureFirst.

void ScreenFrame::OnCloseWindow ( wxCloseEvent &  event)
private
void ScreenFrame::OnDirChoose ( wxCommandEvent &  event)
private

References _(), gPrefs, and mDirectoryTextBox.

void ScreenFrame::OnFiveMin ( wxCommandEvent &  event)
private

References TimeZoom().

void ScreenFrame::OnMainWindowLarge ( wxCommandEvent &  event)
private

References SizeMainWindow().

void ScreenFrame::OnMainWindowSmall ( wxCommandEvent &  event)
private

References SizeMainWindow().

void ScreenFrame::OnMedTracks ( wxCommandEvent &  event)
private

References SizeTracks().

void ScreenFrame::OnOneHour ( wxCommandEvent &  event)
private

References TimeZoom().

void ScreenFrame::OnOneMin ( wxCommandEvent &  event)
private

References TimeZoom().

void ScreenFrame::OnOneSec ( wxCommandEvent &  event)
private

References TimeZoom().

void ScreenFrame::OnShortTracks ( wxCommandEvent &  event)
private
void ScreenFrame::OnTallTracks ( wxCommandEvent &  event)
private

References SizeTracks().

void ScreenFrame::OnTenSec ( wxCommandEvent &  event)
private

References TimeZoom().

void ScreenFrame::OnToggleBackgroundBlue ( wxCommandEvent &  event)
private

References mBlue, mCommand, and mWhite.

void ScreenFrame::OnToggleBackgroundWhite ( wxCommandEvent &  event)
private

References mBlue, mCommand, and mWhite.

void ScreenFrame::OnUIUpdate ( wxUpdateUIEvent &  event)
private
void ScreenFrame::Populate ( )
private

References eIsCreating, and PopulateOrExchange().

Referenced by ScreenFrame().

bool ScreenFrame::ProcessEvent ( wxEvent &  event)
override
void ScreenFrame::SizeMainWindow ( int  w,
int  h 
)
private
void ScreenFrame::SizeTracks ( int  h)
private

Member Data Documentation

wxToggleButton* ScreenFrame::mBlue
private
std::unique_ptr<ScreenshotCommand> ScreenFrame::mCommand
private
wxCheckBox* ScreenFrame::mDelayCheckBox
private
wxTextCtrl* ScreenFrame::mDirectoryTextBox
private
wxStatusBar* ScreenFrame::mStatus
private

Referenced by DoCapture(), and ScreenFrame().

wxToggleButton* ScreenFrame::mWhite
private

The documentation for this class was generated from the following file: