GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
StaticControl.cpp
Go to the documentation of this file.
1
#include "
StaticControl.h
"
2
3
#include "
BaseComposites/BaseComposite.h
"
4
5
using namespace
std;
6
7
namespace
gui_framework
8
{
9
StaticControl::StaticControl
(
const
wstring& staticControlName,
const
wstring& editControlText,
const
utility::ComponentSettings
& settings,
BaseComposite
* parent) :
10
BaseStaticControl
11
(
12
staticControlName,
13
editControlText,
14
settings,
15
parent
16
),
17
IResizableComponent
18
(
19
handle,
20
parent->getHandle()
21
)
22
{
23
24
}
25
26
size_t
StaticControl::getHash
()
const
27
{
28
return
typeid
(
StaticControl
).hash_code();
29
}
30
}
BaseComposite.h
StaticControl.h
gui_framework::BaseComposite
Base class for all windows that has children windows.
Definition
BaseComposite.h:23
gui_framework::BaseStaticControl
Base class for all static controls.
Definition
BaseStaticControl.h:14
gui_framework::StaticControl::StaticControl
StaticControl(const std::wstring &staticControlName, const std::wstring &editControlText, const utility::ComponentSettings &settings, BaseComposite *parent)
Definition
StaticControl.cpp:9
gui_framework::StaticControl::getHash
size_t getHash() const override
Used as key in creators.
Definition
StaticControl.cpp:26
gui_framework
Definition
BaseComponent.cpp:21
gui_framework::utility::ComponentSettings
All settings for windows.
Definition
ComponentSettings.h:11
GUIFramework
src
Components
StaticControl.cpp
Generated by
1.12.0