Audacity 3.2.0
Classes | Typedefs | Enumerations | Functions
LabelTrackControls.cpp File Reference
#include "LabelTrackControls.h"
#include "LabelTrackView.h"
#include "../../../HitTestResult.h"
#include "../../../LabelTrack.h"
#include "../../../widgets/PopupMenuTable.h"
#include "Prefs.h"
#include "../../../RefreshCode.h"
#include "ShuttleGui.h"
#include "wxPanelWrapper.h"
#include <wx/fontenum.h>
#include <wx/listbox.h>
#include <wx/spinctrl.h>
Include dependency graph for LabelTrackControls.cpp:

Go to the source code of this file.

Classes

class  LabelTrackMenuTable
 

Typedefs

using DoGetLabelTrackControls = DoGetControls::Override< LabelTrack >
 
using GetDefaultLabelTrackHeight = GetDefaultTrackHeight::Override< LabelTrack >
 

Enumerations

enum  { OnSetFontID = 30000 }
 

Functions

 BeginSection ("Basic")
 
 AppendItem ("Font", OnSetFontID, XXO("&Font..."), POPUP_MENU_FN(OnSetFont))
 
 EndSection ()
 
 DEFINE_ATTACHED_VIRTUAL_OVERRIDE (DoGetLabelTrackControls)
 

Typedef Documentation

◆ DoGetLabelTrackControls

Definition at line 175 of file LabelTrackControls.cpp.

◆ GetDefaultLabelTrackHeight

Definition at line 182 of file LabelTrackControls.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OnSetFontID 

Definition at line 63 of file LabelTrackControls.cpp.

64{
65 OnSetFontID = 30000,
66};
@ OnSetFontID

Function Documentation

◆ AppendItem()

AppendItem ( "Font"  ,
OnSetFontID  ,
XXO("&Font...")  ,
POPUP_MENU_FN(OnSetFont)   
)

◆ BeginSection()

BeginSection ( "Basic"  )

◆ DEFINE_ATTACHED_VIRTUAL_OVERRIDE()

DEFINE_ATTACHED_VIRTUAL_OVERRIDE ( DoGetLabelTrackControls  )

Definition at line 176 of file LabelTrackControls.cpp.

176 {
177 return [](LabelTrack &track) {
178 return std::make_shared<LabelTrackControls>( track.SharedPointer() );
179 };
180}
A LabelTrack is a Track that holds labels (LabelStruct).
Definition: LabelTrack.h:95

◆ EndSection()

EndSection ( )