FastLED
3.9.15
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
w
x
y
z
Functions
_
a
b
c
d
f
g
h
i
l
m
n
p
s
t
u
x
Variables
Typedefs
Enumerations
Enumerator
c
d
h
k
l
m
n
p
r
s
w
y
z
Classes
Class List
Class Index
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
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
c
d
e
f
i
m
n
p
s
t
v
y
Enumerations
Enumerator
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
y
Related Symbols
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
w
x
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
l
n
p
q
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
◆
value_normalized()
float fl::UISlider::value_normalized
(
)
const
inline
Definition at line
58
of file
ui.h
.
58
{
59
if
(
ALMOST_EQUAL
(
mMax
,
mMin
, 0.0001f)) {
60
return
0;
61
}
62
return
(
mValue
-
mMin
) / (
mMax
-
mMin
);
63
}
fl::UISlider::mMin
float mMin
Definition
ui.h:84
fl::UISlider::mMax
float mMax
Definition
ui.h:85
fl::UISlider::mValue
float mValue
Definition
ui.h:83
ALMOST_EQUAL
#define ALMOST_EQUAL(a, b, small)
Definition
math_macros.h:16
References
ALMOST_EQUAL
,
mMax
,
mMin
, and
mValue
.
fl
UISlider
Generated on Fri Apr 18 2025 03:39:32 for FastLED by
1.13.2