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 166 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 812 of file MixerBoard.cpp.

817: wxScrolledWindow(parent, id, pos, size, style)
818{
819 mMixerBoard = parent;
821}
const auto project
AudacityProject * mProject
Definition: MixerBoard.h:181
MixerBoard * mMixerBoard
Definition: MixerBoard.h:180

References project.

◆ ~MixerBoardScrolledWindow()

MixerBoardScrolledWindow::~MixerBoardScrolledWindow ( )
virtual

Definition at line 823 of file MixerBoard.cpp.

824{
825}

Member Function Documentation

◆ OnMouseEvent()

void MixerBoardScrolledWindow::OnMouseEvent ( wxMouseEvent &  event)
private

Definition at line 827 of file MixerBoard.cpp.

828{
829 if (event.ButtonUp())
830 {
831 //v Even when I implement MixerBoard::OnMouseEvent and call event.Skip()
832 // here, MixerBoard::OnMouseEvent never gets called.
833 // So, added mProject to MixerBoardScrolledWindow and just directly do what's needed here.
835 }
836 else
837 event.Skip();
838}
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 180 of file MixerBoard.h.

◆ mProject

AudacityProject* MixerBoardScrolledWindow::mProject
private

Definition at line 181 of file MixerBoard.h.

Referenced by OnMouseEvent().


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