aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.hh')
-rw-r--r--src/Screen.hh17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index de3a5a1..fe8d127 100644
--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -38,6 +38,7 @@
38#include "FbTk/MultLayers.hh" 38#include "FbTk/MultLayers.hh"
39#include "FbTk/NotCopyable.hh" 39#include "FbTk/NotCopyable.hh"
40#include "FbTk/Signal.hh" 40#include "FbTk/Signal.hh"
41#include "FbTk/RelCalcHelper.hh"
41 42
42#include "FocusControl.hh" 43#include "FocusControl.hh"
43 44
@@ -453,12 +454,28 @@ public:
453 /// when screen dies 454 /// when screen dies
454 void addManagedResource(FbTk::Resource_base *resource); 455 void addManagedResource(FbTk::Resource_base *resource);
455 456
457 int calRelativeSize(int head, int i, char type);
458 int calRelativeWidth(int head, int i);
459 int calRelativeHeight(int head, int i);
460
461 int calRelativePosition(int head, int i, char type);
462 int calRelativePositionWidth(int head, int i);
463 int calRelativePositionHeight(int head, int i);
464
465 int calRelativeDimension(int head, int i, char type);
466 int calRelativeDimensionWidth(int head, int i);
467 int calRelativeDimensionHeight(int head, int i);
468
456private: 469private:
457 void setupConfigmenu(FbTk::Menu &menu); 470 void setupConfigmenu(FbTk::Menu &menu);
458 void renderGeomWindow(); 471 void renderGeomWindow();
459 void renderPosWindow(); 472 void renderPosWindow();
460 void focusedWinFrameThemeReconfigured(); 473 void focusedWinFrameThemeReconfigured();
461 474
475 int getGap(int head, const char type);
476 float getXGap(int head);
477 float getYGap(int head);
478
462 const Strut* availableWorkspaceArea(int head) const; 479 const Strut* availableWorkspaceArea(int head) const;
463 480
464 FbTk::SignalTracker m_tracker; 481 FbTk::SignalTracker m_tracker;