aboutsummaryrefslogtreecommitdiff
path: root/src/Layer.hh
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-06-11 11:00:45 (GMT)
committerPavel Labath <pavelo@centrum.sk>2013-02-16 23:49:23 (GMT)
commiteb0eef14134ee667c60f75f53de4e24950f3c117 (patch)
tree58b35842e1f84666373478bca3386be037a7a019 /src/Layer.hh
parent3b7c1a3c220b7ccec0dee7804d36dabfe81449c4 (diff)
downloadfluxbox_pavel-eb0eef14134ee667c60f75f53de4e24950f3c117.zip
fluxbox_pavel-eb0eef14134ee667c60f75f53de4e24950f3c117.tar.bz2
Simplify FbTk::Resource template class
by outsourcing the conversion from string/lua to the specific type (and back) to a separate class. This change touches a lot of files because the interface of FbTk::Resource changed slightly. However, the changes are minor.
Diffstat (limited to 'src/Layer.hh')
-rw-r--r--src/Layer.hh8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Layer.hh b/src/Layer.hh
index ac4102b..34dd350 100644
--- a/src/Layer.hh
+++ b/src/Layer.hh
@@ -32,13 +32,19 @@
32 */ 32 */
33class ResourceLayer { 33class ResourceLayer {
34public: 34public:
35 enum { 35 enum Type {
36 MENU = 0, 36 MENU = 0,
37 LAYER1 = 1,
37 ABOVE_DOCK = 2, 38 ABOVE_DOCK = 2,
39 LAYER3 = 3,
38 DOCK = 4, 40 DOCK = 4,
41 LAYER5 = 5,
39 TOP = 6, 42 TOP = 6,
43 LAYER7 = 7,
40 NORMAL = 8, 44 NORMAL = 8,
45 LAYER9 = 9,
41 BOTTOM = 10, 46 BOTTOM = 10,
47 LAYER11 = 11,
42 DESKTOP = 12, 48 DESKTOP = 12,
43 NUM_LAYERS = 13 49 NUM_LAYERS = 13
44 }; 50 };