Audacity
3.2.0
src
ExportLabelTrack.cpp
Go to the documentation of this file.
1
2
#include "
LabelTrack.h
"
3
#include "
ShuttleGui.h
"
4
#include "
prefs/ImportExportPrefs.h
"
5
6
namespace
7
{
8
void
AddControls
(
ShuttleGui
&
S
)
9
{
10
S
.StartStatic(
XO
(
"Exported Label Style:"
));
11
{
12
#if defined(__WXMAC__)
13
// Bug 2692: Place button group in panel so tabbing will work and,
14
// on the Mac, VoiceOver will announce as radio buttons.
15
S
.StartPanel();
16
#endif
17
{
18
S
.StartRadioButtonGroup(
LabelStyleSetting
);
19
{
20
S
.TieRadioButton();
21
S
.TieRadioButton();
22
}
23
S
.EndRadioButtonGroup();
24
}
25
#if defined(__WXMAC__)
26
S
.EndPanel();
27
#endif
28
}
29
S
.EndStatic();
30
}
31
32
ImportExportPrefs::RegisteredControls
reg
{
wxT
(
"LabelStyle"
),
AddControls
};
33
34
}
// namespace
wxT
wxT("CloseDown"))
XO
XO("Cut/Copy/Paste")
ImportExportPrefs.h
LabelStyleSetting
EnumSetting< bool > LabelStyleSetting
Definition:
LabelTrack.cpp:51
LabelTrack.h
ShuttleGui.h
S
#define S(N)
Definition:
ToChars.cpp:64
ShuttleGui
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition:
ShuttleGui.h:640
anonymous_namespace{ExportLabelTrack.cpp}::AddControls
void AddControls(ShuttleGui &S)
Definition:
ExportLabelTrack.cpp:8
anonymous_namespace{ExportLabelTrack.cpp}::reg
ImportExportPrefs::RegisteredControls reg
Definition:
ExportLabelTrack.cpp:32
ImportExportPrefs::RegisteredControls
Definition:
ImportExportPrefs.h:38
Generated by
1.9.3