removed numlayers
fluxgen fluxgen
1 files changed,
5 insertions(+),
3 deletions(-)
jump to
M
src/FbTk/MultLayers.hh
→
src/FbTk/MultLayers.hh
@@ -20,7 +20,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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 @@ MultLayers(int numlayers);
~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 @@ void moveToLayer(XLayerItem &item, int layernum);
int size(); void restack(); + XLayer *getLayer(size_t num); + const XLayer *getLayer(size_t num) const; + private: - int m_numlayers; std::vector<XLayer *> m_layers; };