GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
SeparateWindowStyles.cpp
Go to the documentation of this file.
2
3using namespace std;
4
5namespace gui_framework
6{
7 namespace styles
8 {
9 SeparateWindowStyles::SeparateWindowStyles(bool maximize, bool minimize)
10 {
11 if (maximize)
12 {
13 this->appendStyle(WS_MAXIMIZE);
14 }
15 else if (minimize)
16 {
17 this->appendStyle(WS_MINIMIZE);
18 }
19 }
20 }
21}
void appendStyle(LONG_PTR style)
Append new WinAPI style.
Definition IStyles.cpp:23
SeparateWindowStyles(bool maximize=false, bool minimize=false)