Layout.h
Go to the documentation of this file.
1 #ifndef OM_LAYOUT_H
2 #define OM_LAYOUT_H
3 
4 namespace om {
5  class Layout {
6  public:
7  static const unsigned int fWindowSizeX = 1200;
8  static const unsigned int fWindowSizeY = 800;
9 
10  static const unsigned int fMenuBarSizeX = fWindowSizeX;
11  static const unsigned int fMenuBarSizeY = 30;
12 
13  static const unsigned int fHeaderSizeX = fWindowSizeX;
14  static const unsigned int fHeaderSizeY = 50;
15 
16  static const unsigned int fLogViewerSizeX = fWindowSizeX;
17  static const unsigned int fLogViewerSizeY = 80;
18 
19  static const unsigned int fCaptionBoxSizeX = 290;
20  static const unsigned int fCaptionBoxSizeY = 150;
21 
22  // static const unsigned int fBrowserTabSizeX = fCaptionBoxSizeX;
23  static const unsigned int fBrowserTabSizeX = 260;
24  static const unsigned int fBrowserTabSizeY =
25  fWindowSizeY -
26  (fMenuBarSizeY+fHeaderSizeY+fCaptionBoxSizeY+fLogViewerSizeY);
27 
28  static const unsigned int fButtonBankSizeX = 6*24;
29  static const unsigned int fButtonBankSizeY = 36;
30 
31  static const unsigned int fHistogramInfoSizeX =
32  fWindowSizeX -
33  (fBrowserTabSizeX+fButtonBankSizeX);
34  static const unsigned int fHistogramInfoSizeY = fButtonBankSizeY;
35 
36  static const unsigned int fPlotViewerSizeX = fHistogramInfoSizeX-150;
37  static const unsigned int fPlotViewerSizeY =
38  fWindowSizeY -
39  (fMenuBarSizeY+fHeaderSizeY+fLogViewerSizeY+fHistogramInfoSizeY+100);
40  };
41 }
42 
43 #endif
44 ////////////////////////////////////////////////////////////////////////
static const unsigned int fWindowSizeX
Definition: Layout.h:7
static const unsigned int fMenuBarSizeX
Definition: Layout.h:10
static const unsigned int fBrowserTabSizeX
Definition: Layout.h:23
static const unsigned int fLogViewerSizeX
Definition: Layout.h:16
static const unsigned int fBrowserTabSizeY
Definition: Layout.h:24
static const unsigned int fLogViewerSizeY
Definition: Layout.h:17
static const unsigned int fWindowSizeY
Definition: Layout.h:8
static const unsigned int fButtonBankSizeY
Definition: Layout.h:29
static const unsigned int fHistogramInfoSizeY
Definition: Layout.h:34
static const unsigned int fHistogramInfoSizeX
Definition: Layout.h:31
static const unsigned int fCaptionBoxSizeY
Definition: Layout.h:20
static const unsigned int fPlotViewerSizeX
Definition: Layout.h:36
static const unsigned int fHeaderSizeY
Definition: Layout.h:14
static const unsigned int fButtonBankSizeX
Definition: Layout.h:28
static const unsigned int fHeaderSizeX
Definition: Layout.h:13
static const unsigned int fMenuBarSizeY
Definition: Layout.h:11
static const unsigned int fPlotViewerSizeY
Definition: Layout.h:37
Online Monitoring package header.
static const unsigned int fCaptionBoxSizeX
Definition: Layout.h:19