From ccd06de8c2e744f1fa0ff5a0061a1fbfabc8a77b Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 3 Feb 2003 13:46:42 +0000 Subject: removed numlayers --- src/FbTk/MultLayers.hh | 8 +++++--- 1 file 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: MultLayers.hh,v 1.3 2003/02/02 16:32:41 rathnor Exp $ +// $Id: MultLayers.hh,v 1.4 2003/02/03 13:46:42 fluxgen Exp $ #ifndef FBTK_MULTLAYERS_HH #define FBTK_MULTLAYERS_HH @@ -38,7 +38,7 @@ public: ~MultLayers(); XLayerItem *getLowestItemAboveLayer(int layernum); - // if there are none below, it will return null + /// if there are none below, it will return null XLayerItem *getItemBelow(XLayerItem &item); XLayerItem *getItemAbove(XLayerItem &item); void addToTop(XLayerItem &item, int layernum); @@ -52,8 +52,10 @@ public: int size(); void restack(); + XLayer *getLayer(size_t num); + const XLayer *getLayer(size_t num) const; + private: - int m_numlayers; std::vector m_layers; }; -- cgit v0.11.2