Audacity 3.2.0
Public Types | Public Attributes | List of all members
TrackInfo::TCPLine Struct Reference

#include <TrackInfo.h>

Collaboration diagram for TrackInfo::TCPLine:
[legend]

Public Types

enum  : unsigned {
  kItemBarButtons = 1 << 0 , kItemStatusInfo1 = 1 << 1 , kItemMute = 1 << 2 , kItemSolo = 1 << 3 ,
  kItemGain = 1 << 4 , kItemPan = 1 << 5 , kItemVelocity = 1 << 6 , kItemMidiControlsRect = 1 << 7 ,
  kItemMinimize = 1 << 8 , kItemSyncLock = 1 << 9 , kItemStatusInfo2 = 1 << 10 , kItemEffects = 1 << 11 ,
  kHighestBottomItem = kItemMinimize
}
 
using DrawFunction = void(*)(TrackPanelDrawingContext &context, const wxRect &rect, const Track *maybeNULL)
 

Public Attributes

unsigned items
 
int height
 
int extraSpace
 
DrawFunction drawFunction
 

Detailed Description

Definition at line 28 of file TrackInfo.h.

Member Typedef Documentation

◆ DrawFunction

using TrackInfo::TCPLine::DrawFunction = void (*)( TrackPanelDrawingContext &context, const wxRect &rect, const Track *maybeNULL )

Definition at line 47 of file TrackInfo.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : unsigned
Enumerator
kItemBarButtons 
kItemStatusInfo1 
kItemMute 
kItemSolo 
kItemGain 
kItemPan 
kItemVelocity 
kItemMidiControlsRect 
kItemMinimize 
kItemSyncLock 
kItemStatusInfo2 
kItemEffects 
kHighestBottomItem 

Definition at line 29 of file TrackInfo.h.

29 : unsigned {
30 // The sequence is not significant, just keep bits distinct
31 kItemBarButtons = 1 << 0,
32 kItemStatusInfo1 = 1 << 1,
33 kItemMute = 1 << 2,
34 kItemSolo = 1 << 3,
35 kItemGain = 1 << 4,
36 kItemPan = 1 << 5,
37 kItemVelocity = 1 << 6,
38 kItemMidiControlsRect = 1 << 7,
39 kItemMinimize = 1 << 8,
40 kItemSyncLock = 1 << 9,
41 kItemStatusInfo2 = 1 << 10,
42 kItemEffects = 1 << 11,
43
45 };

Member Data Documentation

◆ drawFunction

DrawFunction TrackInfo::TCPLine::drawFunction

Definition at line 56 of file TrackInfo.h.

◆ extraSpace

int TrackInfo::TCPLine::extraSpace

Definition at line 55 of file TrackInfo.h.

◆ height

int TrackInfo::TCPLine::height

Definition at line 54 of file TrackInfo.h.

◆ items

unsigned TrackInfo::TCPLine::items

Definition at line 53 of file TrackInfo.h.


The documentation for this struct was generated from the following file: