aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MultLayers.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2009-10-01 06:58:56 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2009-10-01 06:58:56 (GMT)
commit4eeac74a3dbb1b23a9c5a6936965e9d5acb3df48 (patch)
tree9f658c46e0a150e2c53323233078a127fc158795 /src/FbTk/MultLayers.cc
parent65a45dc65f359f3300d980cfd8981a98f3afe4fc (diff)
downloadfluxbox_pavel-4eeac74a3dbb1b23a9c5a6936965e9d5acb3df48.zip
fluxbox_pavel-4eeac74a3dbb1b23a9c5a6936965e9d5acb3df48.tar.bz2
removed unused code
Diffstat (limited to 'src/FbTk/MultLayers.cc')
-rw-r--r--src/FbTk/MultLayers.cc30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/FbTk/MultLayers.cc b/src/FbTk/MultLayers.cc
index 79dab59..a9135e3 100644
--- a/src/FbTk/MultLayers.cc
+++ b/src/FbTk/MultLayers.cc
@@ -55,36 +55,6 @@ XLayerItem *MultLayers::getLowestItemAboveLayer(int layernum) {
55 55
56} 56}
57 57
58XLayerItem *MultLayers::getItemBelow(XLayerItem &item) {
59 XLayer &curr_layer = item.getLayer();
60
61 // assume that the LayerItem does exist in a layer.
62 XLayerItem *ret = curr_layer.getItemBelow(item);
63
64 if (ret == 0) {
65 int num = curr_layer.getLayerNum()-1;
66 while (num >= 0 && !ret) {
67 ret = m_layers[num]->getItemBelow(item);
68 num--;
69 }
70 }
71
72 return ret;
73}
74
75XLayerItem *MultLayers::getItemAbove(XLayerItem &item) {
76 XLayer &curr_layer = item.getLayer();
77
78 // assume that the LayerItem does exist in a layer.
79 XLayerItem *ret = curr_layer.getItemAbove(item);
80
81 if (!ret) {
82 ret = getLowestItemAboveLayer(curr_layer.getLayerNum());
83 }
84
85 return ret;
86}
87
88void MultLayers::addToTop(XLayerItem &item, int layernum) { 58void MultLayers::addToTop(XLayerItem &item, int layernum) {
89 if (layernum < 0) 59 if (layernum < 0)
90 layernum = 0; 60 layernum = 0;