Audacity  3.0.3
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, 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 36 of file TrackInfo.h.

Member Typedef Documentation

◆ DrawFunction

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

Definition at line 54 of file TrackInfo.h.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 37 of file TrackInfo.h.

37  : unsigned {
38  // The sequence is not significant, just keep bits distinct
39  kItemBarButtons = 1 << 0,
40  kItemStatusInfo1 = 1 << 1,
41  kItemMute = 1 << 2,
42  kItemSolo = 1 << 3,
43  kItemGain = 1 << 4,
44  kItemPan = 1 << 5,
45  kItemVelocity = 1 << 6,
46  kItemMidiControlsRect = 1 << 7,
47  kItemMinimize = 1 << 8,
48  kItemSyncLock = 1 << 9,
49  kItemStatusInfo2 = 1 << 10,
50 
52  };

Member Data Documentation

◆ drawFunction

DrawFunction TrackInfo::TCPLine::drawFunction

Definition at line 63 of file TrackInfo.h.

◆ extraSpace

int TrackInfo::TCPLine::extraSpace

Definition at line 62 of file TrackInfo.h.

◆ height

int TrackInfo::TCPLine::height

Definition at line 61 of file TrackInfo.h.

◆ items

unsigned TrackInfo::TCPLine::items

Definition at line 60 of file TrackInfo.h.


The documentation for this struct was generated from the following file:
TrackInfo::TCPLine::kItemMidiControlsRect
@ kItemMidiControlsRect
Definition: TrackInfo.h:46
TrackInfo::TCPLine::kItemBarButtons
@ kItemBarButtons
Definition: TrackInfo.h:39
TrackInfo::TCPLine::kItemGain
@ kItemGain
Definition: TrackInfo.h:43
TrackInfo::TCPLine::kItemVelocity
@ kItemVelocity
Definition: TrackInfo.h:45
TrackInfo::TCPLine::kItemMinimize
@ kItemMinimize
Definition: TrackInfo.h:47
TrackInfo::TCPLine::kItemMute
@ kItemMute
Definition: TrackInfo.h:41
TrackInfo::TCPLine::kItemSolo
@ kItemSolo
Definition: TrackInfo.h:42
TrackInfo::TCPLine::kItemStatusInfo2
@ kItemStatusInfo2
Definition: TrackInfo.h:49
TrackInfo::TCPLine::kItemStatusInfo1
@ kItemStatusInfo1
Definition: TrackInfo.h:40
TrackInfo::TCPLine::kItemPan
@ kItemPan
Definition: TrackInfo.h:44
TrackInfo::TCPLine::kHighestBottomItem
@ kHighestBottomItem
Definition: TrackInfo.h:51
TrackInfo::TCPLine::kItemSyncLock
@ kItemSyncLock
Definition: TrackInfo.h:48