From 0178a7fff92cc559212699da8e5dbf9401f8fd4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Wed, 21 Sep 2016 18:13:29 +0200 Subject: [PATCH] [escher] correct metric names Change-Id: I69e8292a7abd5799c9248631a4ef9527a58c7413 --- escher/include/escher/metric.h | 6 ++++-- escher/src/metric.cpp | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/escher/include/escher/metric.h b/escher/include/escher/metric.h index edae885b7..9d4d0107b 100644 --- a/escher/include/escher/metric.h +++ b/escher/include/escher/metric.h @@ -5,8 +5,10 @@ class Metric { public: - constexpr static KDCoordinate VerticalMargin = 20; - constexpr static KDCoordinate HorizontalMargin = 10; + constexpr static KDCoordinate LeftMargin = 20; + constexpr static KDCoordinate RightMargin = 20; + constexpr static KDCoordinate TopMargin = 10; + constexpr static KDCoordinate BottomMargin = 10; constexpr static KDCoordinate LabelMargin = 5; }; diff --git a/escher/src/metric.cpp b/escher/src/metric.cpp index 7482b5201..efeedd341 100644 --- a/escher/src/metric.cpp +++ b/escher/src/metric.cpp @@ -1,5 +1,7 @@ #include -constexpr KDCoordinate Metric::VerticalMargin; -constexpr KDCoordinate Metric::HorizontalMargin; +constexpr KDCoordinate Metric::LeftMargin; +constexpr KDCoordinate Metric::RightMargin; +constexpr KDCoordinate Metric::TopMargin; +constexpr KDCoordinate Metric::BottomMargin; constexpr KDCoordinate Metric::LabelMargin;