diff options
author | fluxgen <fluxgen> | 2003-02-03 13:46:42 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-02-03 13:46:42 (GMT) |
commit | ccd06de8c2e744f1fa0ff5a0061a1fbfabc8a77b (patch) | |
tree | 3c3b9009d0df17d258d8d8a266d000c16687f037 /src | |
parent | 76d490dcbb6156d44fce9986e9c557cb67f36e69 (diff) | |
download | fluxbox-ccd06de8c2e744f1fa0ff5a0061a1fbfabc8a77b.zip fluxbox-ccd06de8c2e744f1fa0ff5a0061a1fbfabc8a77b.tar.bz2 |
removed numlayers
Diffstat (limited to 'src')
-rw-r--r-- | src/FbTk/MultLayers.hh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/FbTk/MultLayers.hh b/src/FbTk/MultLayers.hh index 2d48a9d..ffba05a 100644 --- a/src/FbTk/MultLayers.hh +++ b/src/FbTk/MultLayers.hh | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: MultLayers.hh,v 1.3 2003/02/02 16:32:41 rathnor Exp $ | 23 | // $Id: MultLayers.hh,v 1.4 2003/02/03 13:46:42 fluxgen Exp $ |
24 | 24 | ||
25 | #ifndef FBTK_MULTLAYERS_HH | 25 | #ifndef FBTK_MULTLAYERS_HH |
26 | #define FBTK_MULTLAYERS_HH | 26 | #define FBTK_MULTLAYERS_HH |
@@ -38,7 +38,7 @@ public: | |||
38 | ~MultLayers(); | 38 | ~MultLayers(); |
39 | XLayerItem *getLowestItemAboveLayer(int layernum); | 39 | XLayerItem *getLowestItemAboveLayer(int layernum); |
40 | 40 | ||
41 | // if there are none below, it will return null | 41 | /// if there are none below, it will return null |
42 | XLayerItem *getItemBelow(XLayerItem &item); | 42 | XLayerItem *getItemBelow(XLayerItem &item); |
43 | XLayerItem *getItemAbove(XLayerItem &item); | 43 | XLayerItem *getItemAbove(XLayerItem &item); |
44 | void addToTop(XLayerItem &item, int layernum); | 44 | void addToTop(XLayerItem &item, int layernum); |
@@ -52,8 +52,10 @@ public: | |||
52 | int size(); | 52 | int size(); |
53 | void restack(); | 53 | void restack(); |
54 | 54 | ||
55 | XLayer *getLayer(size_t num); | ||
56 | const XLayer *getLayer(size_t num) const; | ||
57 | |||
55 | private: | 58 | private: |
56 | int m_numlayers; | ||
57 | std::vector<XLayer *> m_layers; | 59 | std::vector<XLayer *> m_layers; |
58 | 60 | ||
59 | }; | 61 | }; |