summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/IconBar.hh9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/IconBar.hh b/src/IconBar.hh
index ae7c83c..8a30f55 100644
--- a/src/IconBar.hh
+++ b/src/IconBar.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: IconBar.hh,v 1.9 2002/12/01 13:41:57 rathnor Exp $ 22// $Id: IconBar.hh,v 1.10 2003/02/23 00:50:53 fluxgen Exp $
23 23
24#ifndef ICONBAR_HH 24#ifndef ICONBAR_HH
25#define ICONBAR_HH 25#define ICONBAR_HH
@@ -40,7 +40,7 @@ public:
40 FluxboxWindow *getFluxboxWin() { return m_fluxboxwin; } 40 FluxboxWindow *getFluxboxWin() { return m_fluxboxwin; }
41 const FluxboxWindow *getFluxboxWin() const { return m_fluxboxwin; } 41 const FluxboxWindow *getFluxboxWin() const { return m_fluxboxwin; }
42 unsigned int width() const; 42 unsigned int width() const;
43 43 unsigned int height() const;
44private: 44private:
45 FluxboxWindow *m_fluxboxwin; 45 FluxboxWindow *m_fluxboxwin;
46 Window m_iconwin; 46 Window m_iconwin;
@@ -52,7 +52,7 @@ private:
52class IconBar 52class IconBar
53{ 53{
54public: 54public:
55 IconBar(BScreen *scrn, Window parent); 55 IconBar(BScreen *scrn, Window parent, FbTk::Font &font);
56 ~IconBar(); 56 ~IconBar();
57 void draw(); //TODO 57 void draw(); //TODO
58 void reconfigure(); 58 void reconfigure();
@@ -65,6 +65,7 @@ public:
65 void exposeEvent(XExposeEvent *ee); 65 void exposeEvent(XExposeEvent *ee);
66 66
67 void draw(const IconBarObj * const obj, int width) const; 67 void draw(const IconBarObj * const obj, int width) const;
68 void setVertical(bool value) { m_vertical = value; }
68private: 69private:
69 typedef std::list<IconBarObj *> IconList; 70 typedef std::list<IconBarObj *> IconList;
70 71
@@ -80,6 +81,8 @@ private:
80 IconList m_iconlist; 81 IconList m_iconlist;
81 Pixmap m_focus_pm; 82 Pixmap m_focus_pm;
82 unsigned long m_focus_pixel; 83 unsigned long m_focus_pixel;
84 bool m_vertical;
85 FbTk::Font &m_font;
83}; 86};
84 87
85#endif // ICONBAR_HH 88#endif // ICONBAR_HH