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>2011-11-01 09:52:46 (GMT)
commit8c208459910f1dddcfdeb00567b990eebfc218b8 (patch)
tree47c442f906124306a52e13641d28fc6cd1ac513e /src/Layer.hh
parent60cd98604ae0ee62d64e3bc852898f69dae221d4 (diff)
downloadfluxbox_paul-8c208459910f1dddcfdeb00567b990eebfc218b8.zip
fluxbox_paul-8c208459910f1dddcfdeb00567b990eebfc218b8.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 };