Audacity  3.0.3
Public Member Functions | Public Attributes | List of all members
TrackPanelMouseState Struct Reference

#include <TrackPanelMouseEvent.h>

Collaboration diagram for TrackPanelMouseState:
[legend]

Public Member Functions

 TrackPanelMouseState (wxMouseState &state_, const wxRect &rect_, const std::shared_ptr< TrackPanelCell > &pCell_)
 

Public Attributes

wxMouseState & state
 
const wxRect & rect
 
std::shared_ptr< TrackPanelCellpCell
 

Detailed Description

Definition at line 27 of file TrackPanelMouseEvent.h.

Constructor & Destructor Documentation

◆ TrackPanelMouseState()

TrackPanelMouseState::TrackPanelMouseState ( wxMouseState &  state_,
const wxRect &  rect_,
const std::shared_ptr< TrackPanelCell > &  pCell_ 
)
inline

Definition at line 29 of file TrackPanelMouseEvent.h.

32  : state{ state_ }
33  , rect{ rect_ }
34  , pCell{ pCell_ }
35  {
36  }

Member Data Documentation

◆ pCell

std::shared_ptr<TrackPanelCell> TrackPanelMouseState::pCell

Definition at line 40 of file TrackPanelMouseEvent.h.

Referenced by CellularPanel::HandleMotion().

◆ rect

const wxRect& TrackPanelMouseState::rect

◆ state

wxMouseState& TrackPanelMouseState::state

The documentation for this struct was generated from the following file:
TrackPanelMouseState::pCell
std::shared_ptr< TrackPanelCell > pCell
Definition: TrackPanelMouseEvent.h:40
TrackPanelMouseState::rect
const wxRect & rect
Definition: TrackPanelMouseEvent.h:39
TrackPanelMouseState::state
wxMouseState & state
Definition: TrackPanelMouseEvent.h:38