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 175 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 851 of file MixerBoard.cpp.

856: wxScrolledWindow(parent, id, pos, size, style)
857{
858 mMixerBoard = parent;
860}
const auto project
AudacityProject * mProject
Definition: MixerBoard.h:190
MixerBoard * mMixerBoard
Definition: MixerBoard.h:189

References project.

◆ ~MixerBoardScrolledWindow()

MixerBoardScrolledWindow::~MixerBoardScrolledWindow ( )
virtual

Definition at line 862 of file MixerBoard.cpp.

863{
864}

Member Function Documentation

◆ OnMouseEvent()

void MixerBoardScrolledWindow::OnMouseEvent ( wxMouseEvent &  event)
private

Definition at line 866 of file MixerBoard.cpp.

867{
868 if (event.ButtonUp())
869 {
870 //v Even when I implement MixerBoard::OnMouseEvent and call event.Skip()
871 // here, MixerBoard::OnMouseEvent never gets called.
872 // So, added mProject to MixerBoardScrolledWindow and just directly do what's needed here.
874 }
875 else
876 event.Skip();
877}
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 189 of file MixerBoard.h.

◆ mProject

AudacityProject* MixerBoardScrolledWindow::mProject
private

Definition at line 190 of file MixerBoard.h.

Referenced by OnMouseEvent().


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