GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
ComponentSettings.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Interfaces/Styles/IStyles.h
"
4
5
namespace
gui_framework
6
{
7
namespace
utility
8
{
10
struct
GUI_FRAMEWORK_API
ComponentSettings
11
{
12
int
x
;
13
int
y
;
14
uint16_t
width
;
15
uint16_t
height
;
16
interfaces::IStyles
styles
;
17
std::vector<std::string>
localizationKeys
;
18
19
ComponentSettings
() =
default
;
20
27
ComponentSettings
(
int
x,
int
y, uint16_t width, uint16_t height,
const
std::vector<std::string>& localizationKeys = {});
28
29
~ComponentSettings
() =
default
;
30
};
31
}
32
}
GUI_FRAMEWORK_API
#define GUI_FRAMEWORK_API
Definition
GUIFrameworkConstants.h:103
IStyles.h
gui_framework::interfaces::IStyles
Provides styles for other classes.
Definition
IStyles.h:11
gui_framework
Definition
BaseComponent.cpp:21
gui_framework::utility::ComponentSettings
All settings for windows.
Definition
ComponentSettings.h:11
gui_framework::utility::ComponentSettings::styles
interfaces::IStyles styles
Definition
ComponentSettings.h:16
gui_framework::utility::ComponentSettings::width
uint16_t width
Definition
ComponentSettings.h:14
gui_framework::utility::ComponentSettings::ComponentSettings
ComponentSettings(int x, int y, uint16_t width, uint16_t height, const std::vector< std::string > &localizationKeys={})
Create settings for createing all windows.
gui_framework::utility::ComponentSettings::y
int y
Definition
ComponentSettings.h:13
gui_framework::utility::ComponentSettings::height
uint16_t height
Definition
ComponentSettings.h:15
gui_framework::utility::ComponentSettings::x
int x
Definition
ComponentSettings.h:12
gui_framework::utility::ComponentSettings::ComponentSettings
ComponentSettings()=default
gui_framework::utility::ComponentSettings::localizationKeys
std::vector< std::string > localizationKeys
Definition
ComponentSettings.h:17
gui_framework::utility::ComponentSettings::~ComponentSettings
~ComponentSettings()=default
GUIFramework
src
Utility
ComponentSettings.h
Generated by
1.12.0