aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MultLayers.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/MultLayers.hh')
-rw-r--r--src/FbTk/MultLayers.hh13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/FbTk/MultLayers.hh b/src/FbTk/MultLayers.hh
index 99d765d..2d48a9d 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.2 2003/01/29 21:42:53 rathnor Exp $ 23// $Id: MultLayers.hh,v 1.3 2003/02/02 16:32:41 rathnor Exp $
24 24
25#ifndef FBTK_MULTLAYERS_HH 25#ifndef FBTK_MULTLAYERS_HH
26#define FBTK_MULTLAYERS_HH 26#define FBTK_MULTLAYERS_HH
@@ -37,17 +37,20 @@ public:
37 MultLayers(int numlayers); 37 MultLayers(int numlayers);
38 ~MultLayers(); 38 ~MultLayers();
39 XLayerItem *getLowestItemAboveLayer(int layernum); 39 XLayerItem *getLowestItemAboveLayer(int layernum);
40
41 // if there are none below, it will return null
42 XLayerItem *getItemBelow(XLayerItem &item);
43 XLayerItem *getItemAbove(XLayerItem &item);
40 void addToTop(XLayerItem &item, int layernum); 44 void addToTop(XLayerItem &item, int layernum);
41 void remove(XLayerItem &item); 45 void remove(XLayerItem &item);
42
43 //void move(XLayerItem &item, int layernum);
44 46
45 // raise/lower the item a whole layer, not just to top of current layer 47 // raise/lower the item a whole layer, not just to top of current layer
46 void raise(XLayerItem &item); 48 void raise(XLayerItem &item);
47 void lower(XLayerItem &item); 49 void lower(XLayerItem &item);
48 50
49 //void moveToTop(XLayerItem &item); 51 void moveToLayer(XLayerItem &item, int layernum);
50 //void moveToBottom(XLayerItem &item); 52 int size();
53 void restack();
51 54
52private: 55private:
53 int m_numlayers; 56 int m_numlayers;