summaryrefslogtreecommitdiff
path: root/src/FbTk/Layer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/Layer.hh')
-rw-r--r--src/FbTk/Layer.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/Layer.hh b/src/FbTk/Layer.hh
index 405285c..b9257c3 100644
--- a/src/FbTk/Layer.hh
+++ b/src/FbTk/Layer.hh
@@ -43,7 +43,6 @@ public:
43 virtual void raise(ItemType &item); 43 virtual void raise(ItemType &item);
44 /// move item to bottom 44 /// move item to bottom
45 virtual void lower(ItemType &item); 45 virtual void lower(ItemType &item);
46 virtual void restack();
47 /// @return layer item on specific position, on failure 0 46 /// @return layer item on specific position, on failure 0
48 ItemType *getItem(unsigned int position); 47 ItemType *getItem(unsigned int position);
49 /// @return number of elements in layer 48 /// @return number of elements in layer
@@ -52,6 +51,8 @@ public:
52 const ListType &itemList() const { return m_list; } 51 const ListType &itemList() const { return m_list; }
53 /// @return layer list 52 /// @return layer list
54 ListType &itemList() { return m_list; } 53 ListType &itemList() { return m_list; }
54protected:
55 virtual void restack();
55private: 56private:
56 ListType m_list; 57 ListType m_list;
57}; 58};