neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
settings.hpp
Go to the documentation of this file.
1
// settings.hpp
2
/*
3
neoGFX Design Studio
4
Copyright(C) 2020 Leigh Johnston
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/tools/DesignStudio/DesignStudio.hpp
>
23
#include <
neogfx/gfx/color.hpp
>
24
#include <
neogfx/gfx/text/font.hpp
>
25
#include <
neogfx/app/settings.hpp
>
26
27
namespace
neogfx::DesignStudio
28
{
29
enum class
workspace_grid
: int32_t
30
{
31
None
= 0x00000000,
32
Lines
= 0x00000001,
33
Quads
= 0x00000002,
34
Points
= 0x00000003
35
};
36
37
enum class
toolbar_icon_size
: int32_t
38
{
39
Size16x16
= 0x00000000,
40
Size24x24
= 0x00000001,
41
Size32x32
= 0x00000002,
42
Size48x48
= 0x00000003,
43
Size64x64
= 0x00000004
44
};
45
}
46
47
begin_declare_enum
(
neogfx::DesignStudio::workspace_grid
)
48
declare_enum_string
(
neogfx::DesignStudio::workspace_grid
, None)
49
declare_enum_string
(
neogfx::DesignStudio::workspace_grid
, Lines)
50
declare_enum_string
(
neogfx::DesignStudio::workspace_grid
, Quads)
51
declare_enum_string
(
neogfx::DesignStudio::workspace_grid
, Points)
52
end_declare_enum
(
neogfx::DesignStudio::workspace_grid
)
53
54
begin_declare_enum
(
neogfx::DesignStudio::toolbar_icon_size
)
55
declare_enum_string
(
neogfx::DesignStudio::toolbar_icon_size
, Size16x16)
56
declare_enum_string
(
neogfx::DesignStudio::toolbar_icon_size
, Size24x24)
57
declare_enum_string
(
neogfx::DesignStudio::toolbar_icon_size
, Size32x32)
58
declare_enum_string
(
neogfx::DesignStudio::toolbar_icon_size
, Size48x48)
59
declare_enum_string
(
neogfx::DesignStudio::toolbar_icon_size
, Size64x64)
60
end_declare_enum
(
neogfx::DesignStudio::toolbar_icon_size
)
61
62
namespace
neogfx::DesignStudio
63
{
64
class
settings :
public
neogfx::settings
65
{
66
typedef
neogfx::settings base_type;
67
public
:
68
settings();
69
~settings();
70
};
71
}
DesignStudio.hpp
color.hpp
font.hpp
end_declare_enum
#define end_declare_enum(enumName)
Definition
i_enum.hpp:62
declare_enum_string
#define declare_enum_string(enumName, enumEnumerator)
Definition
i_enum.hpp:59
begin_declare_enum
#define begin_declare_enum(enumName)
Definition
i_enum.hpp:52
neogfx::DesignStudio
Definition
console_client.hpp:26
neogfx::DesignStudio::toolbar_icon_size
toolbar_icon_size
Definition
settings.hpp:38
neogfx::DesignStudio::toolbar_icon_size::Size16x16
@ Size16x16
neogfx::DesignStudio::toolbar_icon_size::Size24x24
@ Size24x24
neogfx::DesignStudio::toolbar_icon_size::Size64x64
@ Size64x64
neogfx::DesignStudio::toolbar_icon_size::Size48x48
@ Size48x48
neogfx::DesignStudio::toolbar_icon_size::Size32x32
@ Size32x32
neogfx::DesignStudio::element_mode::None
@ None
neogfx::DesignStudio::workspace_grid
workspace_grid
Definition
settings.hpp:30
neogfx::DesignStudio::workspace_grid::Quads
@ Quads
neogfx::DesignStudio::workspace_grid::Points
@ Points
neogfx::DesignStudio::workspace_grid::Lines
@ Lines
settings.hpp
include
neogfx
tools
DesignStudio
settings.hpp
Generated by
1.9.8