neoGFX
Cross-platform C++ app/game engine
Toggle main menu visibility
Main Page
Related Pages
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
x
y
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
a
c
d
e
f
g
h
i
k
l
m
n
o
s
t
v
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Enumerator
a
b
c
d
e
f
h
i
k
l
p
r
s
t
u
v
Concepts
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
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Related Symbols
a
b
c
d
g
h
i
j
l
m
n
o
p
r
s
t
u
w
Files
File List
File Members
All
_
b
c
d
e
f
g
m
n
p
r
s
t
u
w
Functions
Variables
Typedefs
Macros
_
b
c
d
e
g
m
n
p
r
s
t
u
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Concepts
Loading...
Searching...
No Matches
unit_spin_box.hpp
Go to the documentation of this file.
1
// unit_spin_box.hpp
2
/*
3
neogfx C++ App/Game Engine
4
Copyright (c) 2023 Leigh Johnston. All Rights Reserved.
5
6
This program is free software: you can redistribute it and / or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#pragma once
21
22
#include <
neogfx/neogfx.hpp
>
23
#include <
neogfx/gui/widget/spin_box.hpp
>
24
25
namespace
neogfx
26
{
27
template
<
typename
T,
typename
... Units>
28
class
basic_unit_spin_box
:
public
basic_spin_box
<T>
29
{
30
meta_object
(
basic_spin_box<T>
)
31
public
:
32
using
value_type = T;
33
public
:
34
basic_unit_spin_box
();
35
basic_unit_spin_box
(
i_widget
& aParent);
36
basic_unit_spin_box
(
i_layout
& aLayout);
37
};
28
class
basic_unit_spin_box
:
public
basic_spin_box
<T> {
…
};
38
39
extern
template
class
basic_unit_spin_box<float>
;
40
extern
template
class
basic_unit_spin_box<double>
;
41
42
using
float_unit_spin_box
=
basic_unit_spin_box<float>
;
43
using
double_unit_spin_box
=
basic_unit_spin_box<double>
;
44
45
using
unit_spin_box
=
double_unit_spin_box
;
46
}
neogfx::basic_spin_box
Definition
spin_box.hpp:32
neogfx::basic_unit_spin_box
Definition
unit_spin_box.hpp:29
neogfx::basic_unit_spin_box::basic_unit_spin_box
basic_unit_spin_box()
Definition
unit_spin_box.ipp:27
neogfx::i_layout
Definition
i_layout.hpp:231
neogfx::i_widget
Definition
i_widget.hpp:50
neogfx
Definition
action.hpp:28
neogfx::unit_spin_box
double_unit_spin_box unit_spin_box
Definition
unit_spin_box.hpp:45
neogfx::double_unit_spin_box
basic_unit_spin_box< double > double_unit_spin_box
Definition
unit_spin_box.hpp:43
neogfx::float_unit_spin_box
basic_unit_spin_box< float > float_unit_spin_box
Definition
unit_spin_box.hpp:42
meta_object
#define meta_object(...)
Definition
i_object.hpp:28
neogfx.hpp
spin_box.hpp
include
neogfx
gui
widget
unit_spin_box.hpp
Generated by
1.9.8