aboutsummaryrefslogtreecommitdiff
path: root/src/Layer.hh
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-06-11 11:00:45 (GMT)
committerPaul Tagliamonte <paultag@fluxbox.org>2012-04-07 02:10:40 (GMT)
commitcc0f1196a5632cd7de035e51d4f5204591f1359d (patch)
treeedaf534c913f1427f59e6a09ceb5387e30bbba16 /src/Layer.hh
parent5f91d3183a1407222bb6929de0eb2bdc314a0bad (diff)
downloadfluxbox_paul-cc0f1196a5632cd7de035e51d4f5204591f1359d.zip
fluxbox_paul-cc0f1196a5632cd7de035e51d4f5204591f1359d.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 };