Audacity  2.2.0
HistoryWindow Class Referencefinal

Works with UndoManager to allow user to see descriptions of and undo previous commands. Also allows you to selectively clear the undo memory so as to free up space. More...

#include <HistoryWindow.h>

Inheritance diagram for HistoryWindow:
wxTabTraversalWrapper< Base >

Public Member Functions

 HistoryWindow (AudacityProject *parent, UndoManager *manager)
 
 ~HistoryWindow ()
 
void UpdateDisplay ()
 
- Public Member Functions inherited from wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Private Member Functions

void OnAudioIO (wxCommandEvent &evt)
 
void DoUpdate ()
 
void UpdateLevels ()
 
void OnSize (wxSizeEvent &event)
 
void OnCloseWindow (wxCloseEvent &WXUNUSED(event))
 
void OnChar (wxKeyEvent &event)
 
void OnItemSelected (wxListEvent &event)
 
void OnDiscard (wxCommandEvent &event)
 
void OnDiscardClipboard (wxCommandEvent &event)
 

Private Attributes

AudacityProjectmProject
 
UndoManagermManager
 
wxListCtrl * mList
 
wxTextCtrl * mTotal
 
wxTextCtrl * mClipboard
 
wxTextCtrl * mAvail
 
wxSpinCtrl * mLevels
 
wxButton * mDiscard
 
int mSelected
 
bool mAudioIOBusy
 

Detailed Description

Works with UndoManager to allow user to see descriptions of and undo previous commands. Also allows you to selectively clear the undo memory so as to free up space.

Constructor & Destructor Documentation

HistoryWindow::~HistoryWindow ( )

References mAvail, OnAudioIO(), and OnChar().

Member Function Documentation

void HistoryWindow::OnAudioIO ( wxCommandEvent &  evt)
private

References mAudioIOBusy, and mDiscard.

Referenced by HistoryWindow(), and ~HistoryWindow().

void HistoryWindow::OnChar ( wxKeyEvent &  event)
private

Referenced by HistoryWindow(), and ~HistoryWindow().

void HistoryWindow::OnCloseWindow ( wxCloseEvent &  WXUNUSEDevent)
private
void HistoryWindow::OnDiscard ( wxCommandEvent &  event)
private
void HistoryWindow::OnDiscardClipboard ( wxCommandEvent &  event)
private
void HistoryWindow::OnItemSelected ( wxListEvent &  event)
private
void HistoryWindow::OnSize ( wxSizeEvent &  event)
private

References mList, and mSelected.

void HistoryWindow::UpdateLevels ( )
private

References mAvail, mDiscard, mLevels, mList, and mSelected.

Referenced by DoUpdate(), and OnItemSelected().

Member Data Documentation

bool HistoryWindow::mAudioIOBusy
private

Referenced by OnAudioIO(), and OnItemSelected().

wxTextCtrl* HistoryWindow::mAvail
private

Referenced by UpdateLevels(), and ~HistoryWindow().

wxTextCtrl* HistoryWindow::mClipboard
private

Referenced by DoUpdate().

wxButton* HistoryWindow::mDiscard
private

Referenced by OnAudioIO(), and UpdateLevels().

wxSpinCtrl* HistoryWindow::mLevels
private

Referenced by OnDiscard(), and UpdateLevels().

wxListCtrl* HistoryWindow::mList
private
UndoManager* HistoryWindow::mManager
private

Referenced by DoUpdate(), and OnDiscard().

AudacityProject* HistoryWindow::mProject
private

Referenced by OnDiscard(), and OnItemSelected().

int HistoryWindow::mSelected
private
wxTextCtrl* HistoryWindow::mTotal
private

Referenced by DoUpdate().


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