Audacity 3.2.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MixerBoardScrolledWindow Class Referencefinal

#include <MixerBoard.h>

Inheritance diagram for MixerBoardScrolledWindow:
[legend]
Collaboration diagram for MixerBoardScrolledWindow:
[legend]

Public Member Functions

 MixerBoardScrolledWindow (AudacityProject *project, MixerBoard *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxHSCROLL|wxVSCROLL)
 
virtual ~MixerBoardScrolledWindow ()
 

Private Member Functions

void OnMouseEvent (wxMouseEvent &event)
 

Private Attributes

MixerBoardmMixerBoard
 
AudacityProjectmProject
 

Detailed Description

Definition at line 170 of file MixerBoard.h.

Constructor & Destructor Documentation

◆ MixerBoardScrolledWindow()

MixerBoardScrolledWindow::MixerBoardScrolledWindow ( AudacityProject project,
MixerBoard parent,
wxWindowID  id = -1,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxHSCROLL | wxVSCROLL 
)

Definition at line 823 of file MixerBoard.cpp.

828: wxScrolledWindow(parent, id, pos, size, style)
829{
830 mMixerBoard = parent;
831 mProject = project;
832}
AudacityProject * mProject
Definition: MixerBoard.h:185
MixerBoard * mMixerBoard
Definition: MixerBoard.h:184

◆ ~MixerBoardScrolledWindow()

MixerBoardScrolledWindow::~MixerBoardScrolledWindow ( )
virtual

Definition at line 834 of file MixerBoard.cpp.

835{
836}

Member Function Documentation

◆ OnMouseEvent()

void MixerBoardScrolledWindow::OnMouseEvent ( wxMouseEvent &  event)
private

Definition at line 838 of file MixerBoard.cpp.

839{
840 if (event.ButtonUp())
841 {
842 //v Even when I implement MixerBoard::OnMouseEvent and call event.Skip()
843 // here, MixerBoard::OnMouseEvent never gets called.
844 // So, added mProject to MixerBoardScrolledWindow and just directly do what's needed here.
846 }
847 else
848 event.Skip();
849}
void SelectNone(AudacityProject &project)

References mProject, and SelectUtilities::SelectNone().

Here is the call graph for this function:

Member Data Documentation

◆ mMixerBoard

MixerBoard* MixerBoardScrolledWindow::mMixerBoard
private

Definition at line 184 of file MixerBoard.h.

◆ mProject

AudacityProject* MixerBoardScrolledWindow::mProject
private

Definition at line 185 of file MixerBoard.h.

Referenced by OnMouseEvent().


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