GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
gui_framework::utility::ComponentSettings Struct Reference

All settings for windows. More...

#include <ComponentSettings.h>

Public Member Functions

 ComponentSettings ()=default
 
 ComponentSettings (int x, int y, uint16_t width, uint16_t height, const std::vector< std::string > &localizationKeys={})
 Create settings for createing all windows.
 
 ~ComponentSettings ()=default
 

Public Attributes

int x
 
int y
 
uint16_t width
 
uint16_t height
 
interfaces::IStyles styles
 
std::vector< std::string > localizationKeys
 

Detailed Description

All settings for windows.

Definition at line 10 of file ComponentSettings.h.

Constructor & Destructor Documentation

◆ ComponentSettings() [1/2]

gui_framework::utility::ComponentSettings::ComponentSettings ( )
default

◆ ComponentSettings() [2/2]

gui_framework::utility::ComponentSettings::ComponentSettings ( int x,
int y,
uint16_t width,
uint16_t height,
const std::vector< std::string > & localizationKeys = {} )

Create settings for createing all windows.

Parameters
xTop left corner x coordinate
yTop left corner y coordinate
width
height
localizationKeysOptional parameter for localization possibilities

◆ ~ComponentSettings()

gui_framework::utility::ComponentSettings::~ComponentSettings ( )
default

Member Data Documentation

◆ height

uint16_t gui_framework::utility::ComponentSettings::height

Definition at line 15 of file ComponentSettings.h.

◆ localizationKeys

std::vector<std::string> gui_framework::utility::ComponentSettings::localizationKeys

Definition at line 17 of file ComponentSettings.h.

◆ styles

interfaces::IStyles gui_framework::utility::ComponentSettings::styles

Definition at line 16 of file ComponentSettings.h.

◆ width

uint16_t gui_framework::utility::ComponentSettings::width

Definition at line 14 of file ComponentSettings.h.

◆ x

int gui_framework::utility::ComponentSettings::x

Definition at line 12 of file ComponentSettings.h.

◆ y

int gui_framework::utility::ComponentSettings::y

Definition at line 13 of file ComponentSettings.h.


The documentation for this struct was generated from the following file: