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 168 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 827 of file MixerBoard.cpp.

832: wxScrolledWindow(parent, id, pos, size, style)
833{
834 mMixerBoard = parent;
836}
const auto project
AudacityProject * mProject
Definition: MixerBoard.h:183
MixerBoard * mMixerBoard
Definition: MixerBoard.h:182

References project.

◆ ~MixerBoardScrolledWindow()

MixerBoardScrolledWindow::~MixerBoardScrolledWindow ( )
virtual

Definition at line 838 of file MixerBoard.cpp.

839{
840}

Member Function Documentation

◆ OnMouseEvent()

void MixerBoardScrolledWindow::OnMouseEvent ( wxMouseEvent &  event)
private

Definition at line 842 of file MixerBoard.cpp.

843{
844 if (event.ButtonUp())
845 {
846 //v Even when I implement MixerBoard::OnMouseEvent and call event.Skip()
847 // here, MixerBoard::OnMouseEvent never gets called.
848 // So, added mProject to MixerBoardScrolledWindow and just directly do what's needed here.
850 }
851 else
852 event.Skip();
853}
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 182 of file MixerBoard.h.

◆ mProject

AudacityProject* MixerBoardScrolledWindow::mProject
private

Definition at line 183 of file MixerBoard.h.

Referenced by OnMouseEvent().


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