Audacity
3.2.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
z
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
h
i
k
l
m
o
p
r
s
t
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
Related Functions
a
b
c
d
e
f
g
l
m
n
o
p
r
s
t
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
c
d
e
f
k
l
m
n
o
p
r
s
t
u
v
z
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
z
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
src
widgets
auStaticText.h
Go to the documentation of this file.
1
/*!********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
@file auStaticText.h
6
7
Paul Licameli split from Theme.h
8
9
**********************************************************************/
10
11
#ifndef __AUDACITY_AU_STATIC_TEXT__
12
#define __AUDACITY_AU_STATIC_TEXT__
13
14
#include <wx/window.h>
// to inherit
15
16
class
wxString;
17
class
wxPaintEvent;
18
19
class
AUDACITY_DLL_API
auStaticText
:
public
wxWindow
20
{
21
public
:
22
auStaticText
(wxWindow* parent, wxString text);
23
void
OnPaint(wxPaintEvent & evt);
24
bool
AcceptsFocus
()
const override
{
return
false
; }
25
void
OnErase
(wxEraseEvent& event) {
26
static_cast<
void
>
(event);
27
};
28
30
void
ScaleFont(
double
scale);
31
32
void
SetSelected(
bool
selected);
33
bool
GetSelected() const noexcept;
34
35
private:
36
bool
mIsSelected {
false
};
37
DECLARE_EVENT_TABLE
();
38
};
39
40
#endif
auStaticText
is like wxStaticText, except it can be themed. wxStaticText can't be.
Definition:
auStaticText.h:20
auStaticText::OnErase
void OnErase(wxEraseEvent &event)
Definition:
auStaticText.h:25
auStaticText::AcceptsFocus
bool AcceptsFocus() const override
Definition:
auStaticText.h:24
auStaticText::DECLARE_EVENT_TABLE
DECLARE_EVENT_TABLE()
Generated by
1.9.3