Numworks Epsilon  1.4.1
Graphing Calculator Operating System
metric.h
Go to the documentation of this file.
1 #ifndef ESCHER_METRIC_H
2 #define ESCHER_METRIC_H
3 
4 #include <kandinsky/coordinate.h>
5 
6 class Metric {
7 public:
8  constexpr static KDCoordinate CommonLeftMargin = 20;
9  constexpr static KDCoordinate CommonRightMargin = 20;
10  constexpr static KDCoordinate CommonTopMargin = 15;
11  constexpr static KDCoordinate CommonBottomMargin = 15;
12  constexpr static KDCoordinate HistoryHorizontalMargin = 10;
14  constexpr static KDCoordinate TitleBarHeight = 18;
15  constexpr static KDCoordinate ParameterCellHeight = 35;
16  constexpr static KDCoordinate ModalTopMargin = 5;
17  constexpr static KDCoordinate ModalBottomMargin = 18;
18  constexpr static KDCoordinate TableCellLabelTopMargin = 3;
19  constexpr static KDCoordinate TabHeight = 27;
20  constexpr static KDCoordinate ScrollStep = 10;
21  constexpr static KDCoordinate PopUpLeftMargin = 32;
22  constexpr static KDCoordinate PopUpRightMargin = 32;
23  constexpr static KDCoordinate PopUpTopMargin = 50;
24  constexpr static KDCoordinate ExamPopUpTopMargin = 27;
25  constexpr static KDCoordinate ExamPopUpBottomMargin = 55;
26  constexpr static KDCoordinate StoreRowHeight = 50;
27  constexpr static KDCoordinate ToolboxRowHeight = 40;
28  constexpr static KDCoordinate StackTitleHeight = 20;
29 };
30 
31 #endif
static constexpr KDCoordinate StoreRowHeight
Definition: metric.h:26
static constexpr KDCoordinate ModalTopMargin
Definition: metric.h:16
static constexpr KDCoordinate StackTitleHeight
Definition: metric.h:28
static constexpr KDCoordinate HistoryHorizontalMargin
Definition: metric.h:12
static constexpr KDCoordinate CommonRightMargin
Definition: metric.h:9
static constexpr KDCoordinate TabHeight
Definition: metric.h:19
static constexpr KDCoordinate TitleBarHeight
Definition: metric.h:14
int16_t KDCoordinate
Definition: coordinate.h:6
static constexpr KDCoordinate ModalBottomMargin
Definition: metric.h:17
static constexpr KDCoordinate ScrollStep
Definition: metric.h:20
static constexpr KDCoordinate TableCellLabelTopMargin
Definition: metric.h:18
static constexpr KDCoordinate CommonBottomMargin
Definition: metric.h:11
static constexpr KDCoordinate CommonLeftMargin
Definition: metric.h:8
static constexpr KDCoordinate PopUpTopMargin
Definition: metric.h:23
static constexpr KDCoordinate ExamPopUpBottomMargin
Definition: metric.h:25
static constexpr KDCoordinate ParameterCellHeight
Definition: metric.h:15
Definition: metric.h:6
static constexpr KDCoordinate ToolboxRowHeight
Definition: metric.h:27
static constexpr KDCoordinate CommonTopMargin
Definition: metric.h:10
static constexpr KDCoordinate PopUpRightMargin
Definition: metric.h:22
static constexpr KDCoordinate TitleBarExternHorizontalMargin
Definition: metric.h:13
static constexpr KDCoordinate ExamPopUpTopMargin
Definition: metric.h:24
static constexpr KDCoordinate PopUpLeftMargin
Definition: metric.h:21