GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
IStyles.h
Go to the documentation of this file.
1#pragma once
2
3#include "Core.h"
4
5namespace gui_framework
6{
7 namespace interfaces
8 {
11 {
12 private:
13 LONG_PTR styles;
14 LONG_PTR extendedStyles;
15
16 public:
17 IStyles();
18
19 IStyles(LONG_PTR styles, LONG_PTR extendedStyles);
20
21 IStyles(const IStyles&) = default;
22
23 IStyles(IStyles&&) noexcept = default;
24
25 IStyles& operator = (const IStyles&) = default;
26
27 IStyles& operator = (IStyles&&) noexcept = default;
28
31 void appendStyle(LONG_PTR style);
32
35 void appendExtendedStyle(LONG_PTR extendedStyle);
36
37 virtual LONG_PTR getStyles() const final;
38
39 virtual LONG_PTR getExtendedStyles() const final;
40
41 virtual bool operator == (const IStyles& other) const final;
42
43 virtual std::istream& operator >> (std::istream& stream) final;
44
45 virtual std::ostream& operator << (std::ostream& stream) const final;
46
47 virtual ~IStyles() = default;
48 };
49 }
50}
#define GUI_FRAMEWORK_API
Provides styles for other classes.
Definition IStyles.h:11
IStyles(IStyles &&) noexcept=default
IStyles(const IStyles &)=default