4 #include "helpers/ScopeNumber.h"
5 #include "helpers/ScopeString.h"
36 void Load(
const wptree& pt)
override;
37 void Save(wptree& pt)
const override;
53 void AddWindow(
const std::wstring& _type,
const uint32_t& _area, HWND _hwnd);
55 void Load(
const wptree& pt)
override;
56 void Save(wptree& pt)
const override;
void Save(wptree &pt) const override
save parameters into a boost:property_tree
void Load(const wptree &pt) override
load parameters from a boost::property_tree
ScopeNumber< uint32_t > right
right coordinate
Parameters for all frames/windows on screen.
ScopeNumber< uint32_t > bottom
bottom coordinate
ScopeNumber< uint32_t > top
top coordinate
void Save(wptree &pt) const override
save parameters into a boost:property_tree
void Load(const wptree &pt) override
load parameters from a boost::property_tree
All parameter classes derive from this.
void SetReadOnlyWhileScanning(const RunState &_runstate) override
set values that must not be changed to read-only during scanning.
Base class for all Scope datatypes here, provides a uniform interface (and saves typing...).
void AddWindow(const std::wstring &_type, const uint32_t &_area, HWND _hwnd)
Add a window to the collection.
ScopeString type
Type of window, e.g.
ScopeNumber< uint32_t > left
left coordinate
A templated class for a thread-safe std::wstring, with signals that are called on value changes...
void SetReadOnlyWhileScanning(const RunState &_runstate) override
set values that must not be changed to read-only during scanning.
Parameters for all frames/windows on screen.
std::vector< Window > collection
Vector with Window.
ScopeNumber< uint32_t > area
For which area that window is.