aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.hh
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-08-15 21:03:57 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-11-01 10:04:02 (GMT)
commit698a4af938737295494dade50950d1aeebc8b55d (patch)
tree075017c3a59ac2575f708d223cf2391e82b9eb69 /src/fluxbox.hh
parent678a98de943963e993827540496741ae814af8bd (diff)
downloadfluxbox_paul-698a4af938737295494dade50950d1aeebc8b55d.zip
fluxbox_paul-698a4af938737295494dade50950d1aeebc8b55d.tar.bz2
Move declarations of Resource enums to a separate file
The reason for this is that I need to access those enums from fluxbox-update_configs and I don't want to #include and link everything in src. I also merged Slit::Placement, Toolbar::Placement and FbWinFrame::TabPlacement into one enum.
Diffstat (limited to 'src/fluxbox.hh')
-rw-r--r--src/fluxbox.hh7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/fluxbox.hh b/src/fluxbox.hh
index 00a2e7d..ba4c29c 100644
--- a/src/fluxbox.hh
+++ b/src/fluxbox.hh
@@ -32,6 +32,7 @@
32#include "FbTk/Signal.hh" 32#include "FbTk/Signal.hh"
33 33
34#include "AttentionNoticeHandler.hh" 34#include "AttentionNoticeHandler.hh"
35#include "Resources.hh"
35 36
36#include <X11/Xresource.h> 37#include <X11/Xresource.h>
37 38
@@ -109,14 +110,10 @@ public:
109 void addAtomHandler(AtomHandler *atomh); 110 void addAtomHandler(AtomHandler *atomh);
110 void removeAtomHandler(AtomHandler *atomh); 111 void removeAtomHandler(AtomHandler *atomh);
111 112
112 /// obsolete
113 enum TabsAttachArea{ATTACH_AREA_WINDOW= 0, ATTACH_AREA_TITLEBAR};
114
115
116 bool getIgnoreBorder() const { return *m_rc_ignoreborder; } 113 bool getIgnoreBorder() const { return *m_rc_ignoreborder; }
117 FbTk::BoolResource &getPseudoTransResource() { return m_rc_pseudotrans; } 114 FbTk::BoolResource &getPseudoTransResource() { return m_rc_pseudotrans; }
118 115
119 Fluxbox::TabsAttachArea getTabsAttachArea() const { return *m_rc_tabs_attach_area; } 116 TabsAttachArea getTabsAttachArea() const { return *m_rc_tabs_attach_area; }
120 FbTk::StringResource &getStyleResource() { return m_rc_stylefile; } 117 FbTk::StringResource &getStyleResource() { return m_rc_stylefile; }
121 const std::string &getStyleOverlayFilename() const { return *m_rc_styleoverlayfile; } 118 const std::string &getStyleOverlayFilename() const { return *m_rc_styleoverlayfile; }
122 119