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 "../../../widgets/wxPanelWrapper.h"
#include <wx/dialog.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 176 of file LabelTrackControls.cpp.

◆ GetDefaultLabelTrackHeight

Definition at line 183 of file LabelTrackControls.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OnSetFontID 

Definition at line 64 of file LabelTrackControls.cpp.

65{
66 OnSetFontID = 30000,
67};
@ 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 177 of file LabelTrackControls.cpp.

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

◆ EndSection()

EndSection ( )