#include <Frame.h>
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.   | |
| Controls * | parent | 
| Parent Controls object.   | |
| wxStaticBox * | box | 
| Static box surrounding the widgets.   | |
| wxStaticBoxSizer * | sbox | 
| Widget sizer.   | |
| wxCheckBox * | mute | 
| Mute checkbox.   | |
| VolumeSliders | volume | 
| Channel volumes.   | |
A window containing all the widgets affecting a single track.
      
  | 
  ||||||||||||
| 
 Constructor. Create control widgets for one track. 
 
  | 
  
      
  | 
  
| 
 Destructor. Cleanup.  | 
  
      
  | 
  
| 
 Mute checkbox event. Mutes or unmutes a track when a mute checkbox is clicked. 
 
  | 
  
      
  | 
  
| 
 Volume slider event. Changes the volume of a certain output channel of a track on slider change. 
 
  | 
  
      
  | 
  
| 
 Trigger update. Update the display of widgets.  | 
  
      
  | 
  
| 
 Static box surrounding the widgets. 
  | 
  
      
  | 
  
| 
 Mute checkbox. 
  | 
  
      
  | 
  
| 
 Parent Controls object. 
  | 
  
      
  | 
  
| 
 Widget sizer. 
  | 
  
      
  | 
  
| 
 Track number. 
  | 
  
      
  | 
  
| 
 Channel volumes. 
  | 
  
 
1.3.5