mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 18:20:14 +01:00
[escher] add metric constants
Change-Id: I5a46afe6e97dde3ee480507ba576373a645bc254
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
class Metric {
|
||||
public:
|
||||
constexpr static KDCoordinate VerticalMargin = 20;
|
||||
constexpr static KDCoordinate MarginLabel = 5;
|
||||
constexpr static KDCoordinate HorizontalMargin = 10;
|
||||
constexpr static KDCoordinate LabelMargin = 5;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -1,4 +1,5 @@
|
||||
#include <escher/metric.h>
|
||||
|
||||
constexpr KDCoordinate Metric::VerticalMargin;
|
||||
constexpr KDCoordinate Metric::MarginLabel;
|
||||
constexpr KDCoordinate Metric::HorizontalMargin;
|
||||
constexpr KDCoordinate Metric::LabelMargin;
|
||||
|
||||
Reference in New Issue
Block a user