2022-01-27 15:21:15 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <guiddef.h>
|
|
|
|
|
|
2022-10-25 17:55:36 +02:00
|
|
|
#include <FancyZonesLib/FancyZonesData/LayoutDefaults.h>
|
2022-01-27 15:21:15 +03:00
|
|
|
#include <FancyZonesLib/FancyZonesDataTypes.h>
|
|
|
|
|
|
|
|
|
|
struct Layout
|
|
|
|
|
{
|
2022-10-25 17:55:36 +02:00
|
|
|
GUID uuid = GUID_NULL;
|
|
|
|
|
FancyZonesDataTypes::ZoneSetLayoutType type = FancyZonesDataTypes::ZoneSetLayoutType::PriorityGrid;
|
|
|
|
|
bool showSpacing = DefaultValues::ShowSpacing;
|
|
|
|
|
int spacing = DefaultValues::Spacing;
|
|
|
|
|
int zoneCount = DefaultValues::ZoneCount;
|
|
|
|
|
int sensitivityRadius = DefaultValues::SensitivityRadius;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
inline bool operator==(const Layout& lhs, const Layout& rhs)
|
|
|
|
|
{
|
|
|
|
|
return lhs.uuid == rhs.uuid &&
|
|
|
|
|
lhs.type == rhs.type &&
|
|
|
|
|
lhs.showSpacing == rhs.showSpacing &&
|
|
|
|
|
lhs.spacing == rhs.spacing &&
|
|
|
|
|
lhs.zoneCount == rhs.zoneCount &&
|
|
|
|
|
lhs.sensitivityRadius == rhs.sensitivityRadius;
|
|
|
|
|
}
|