Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

TrackControl Class Reference

Single track control widget. More...

#include <Frame.h>

List of all members.

Public Member Functions

 TrackControl (Controls *owner, const track_t track)
 Constructor.

 ~TrackControl ()
 Destructor.

void OnMute (wxCommandEvent &event)
 Mute checkbox event.

void OnVolume (wxScrollEvent &event)
 Volume slider event.

void Update ()
 Trigger update.


Private Attributes

track_t trck
 Track number.

Controlsparent
 Parent Controls object.

wxStaticBox * box
 Static box surrounding the widgets.

wxStaticBoxSizer * sbox
 Widget sizer.

wxCheckBox * mute
 Mute checkbox.

VolumeSliders volume
 Channel volumes.


Detailed Description

Single track control widget.

A window containing all the widgets affecting a single track.


Constructor & Destructor Documentation

TrackControl::TrackControl Controls owner,
const track_t  track
 

Constructor.

Create control widgets for one track.

Parameters:
owner Controls window containing this set of controls.
track Track number.

TrackControl::~TrackControl  ) 
 

Destructor.

Cleanup.


Member Function Documentation

void TrackControl::OnMute wxCommandEvent &  event  ) 
 

Mute checkbox event.

Mutes or unmutes a track when a mute checkbox is clicked.

Parameters:
event Event data.

void TrackControl::OnVolume wxScrollEvent &  event  ) 
 

Volume slider event.

Changes the volume of a certain output channel of a track on slider change.

Parameters:
event Event data.

void TrackControl::Update  ) 
 

Trigger update.

Update the display of widgets.


Member Data Documentation

wxStaticBox* TrackControl::box [private]
 

Static box surrounding the widgets.

wxCheckBox* TrackControl::mute [private]
 

Mute checkbox.

Controls* TrackControl::parent [private]
 

Parent Controls object.

wxStaticBoxSizer* TrackControl::sbox [private]
 

Widget sizer.

track_t TrackControl::trck [private]
 

Track number.

VolumeSliders TrackControl::volume [private]
 

Channel volumes.


The documentation for this class was generated from the following files:
Generated on Wed Jul 28 17:17:43 2004 for FinalMix by doxygen 1.3.5