diff options
author | rathnor <rathnor> | 2004-06-20 10:29:51 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-06-20 10:29:51 (GMT) |
commit | abc86f0028402a54ef74c378cf5b6805f01e0347 (patch) | |
tree | 2539f1f974e142a0424473f484c90a1b7b32b393 /src/ToolbarItem.hh | |
parent | 9b7775751decd095f091d122c1ce057c6a04b64d (diff) | |
download | fluxbox_pavel-abc86f0028402a54ef74c378cf5b6805f01e0347.zip fluxbox_pavel-abc86f0028402a54ef74c378cf5b6805f01e0347.tar.bz2 |
fix systemtray related things
Diffstat (limited to 'src/ToolbarItem.hh')
-rw-r--r-- | src/ToolbarItem.hh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ToolbarItem.hh b/src/ToolbarItem.hh index 57088e0..78f1f12 100644 --- a/src/ToolbarItem.hh +++ b/src/ToolbarItem.hh | |||
@@ -20,11 +20,13 @@ | |||
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: ToolbarItem.hh,v 1.3 2003/10/31 10:37:09 rathnor Exp $ | 23 | // $Id: ToolbarItem.hh,v 1.4 2004/06/20 10:29:51 rathnor Exp $ |
24 | 24 | ||
25 | #ifndef TOOLBARITEM_HH | 25 | #ifndef TOOLBARITEM_HH |
26 | #define TOOLBARITEM_HH | 26 | #define TOOLBARITEM_HH |
27 | 27 | ||
28 | #include "FbTk/Subject.hh" | ||
29 | |||
28 | /// An item in the toolbar that has either fixed or realive size to the toolbar | 30 | /// An item in the toolbar that has either fixed or realive size to the toolbar |
29 | class ToolbarItem { | 31 | class ToolbarItem { |
30 | public: | 32 | public: |
@@ -50,11 +52,17 @@ public: | |||
50 | // some items might be there, but effectively empty, so shouldn't appear | 52 | // some items might be there, but effectively empty, so shouldn't appear |
51 | virtual bool active() { return true; } | 53 | virtual bool active() { return true; } |
52 | 54 | ||
55 | FbTk::Subject &resizeSig() { return m_resize_sig; } | ||
56 | |||
53 | void setType(Type type) { m_type = type; } | 57 | void setType(Type type) { m_type = type; } |
54 | Type type() const { return m_type; } | 58 | Type type() const { return m_type; } |
55 | 59 | ||
60 | class ToolbarItemSubject : public FbTk::Subject {}; | ||
61 | |||
56 | private: | 62 | private: |
57 | Type m_type; | 63 | Type m_type; |
64 | |||
65 | ToolbarItemSubject m_resize_sig; | ||
58 | }; | 66 | }; |
59 | 67 | ||
60 | #endif // TOOLBARITEM_HH | 68 | #endif // TOOLBARITEM_HH |