diff options
Diffstat (limited to 'src/FbTk/Container.hh')
-rw-r--r-- | src/FbTk/Container.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FbTk/Container.hh b/src/FbTk/Container.hh index 00f2c88..bd5e3aa 100644 --- a/src/FbTk/Container.hh +++ b/src/FbTk/Container.hh | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "Orientation.hh" | 29 | #include "Orientation.hh" |
30 | 30 | ||
31 | #include <list> | 31 | #include <list> |
32 | #include <functional> | ||
32 | 33 | ||
33 | namespace FbTk { | 34 | namespace FbTk { |
34 | 35 | ||
@@ -43,7 +44,7 @@ public: | |||
43 | typedef const Button * ConstItem; | 44 | typedef const Button * ConstItem; |
44 | typedef std::list<Item> ItemList; | 45 | typedef std::list<Item> ItemList; |
45 | 46 | ||
46 | explicit Container(const FbWindow &parent); | 47 | explicit Container(const FbWindow &parent, bool auto_resize = true); |
47 | virtual ~Container(); | 48 | virtual ~Container(); |
48 | 49 | ||
49 | // manipulators | 50 | // manipulators |
@@ -106,7 +107,7 @@ private: | |||
106 | unsigned int m_max_size_per_client; | 107 | unsigned int m_max_size_per_client; |
107 | unsigned int m_max_total_size; | 108 | unsigned int m_max_total_size; |
108 | ItemList m_item_list; | 109 | ItemList m_item_list; |
109 | bool m_update_lock; | 110 | bool m_update_lock, m_auto_resize; |
110 | }; | 111 | }; |
111 | 112 | ||
112 | } // end namespace FbTk | 113 | } // end namespace FbTk |