diff options
author | fluxgen <fluxgen> | 2003-02-23 00:50:53 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-02-23 00:50:53 (GMT) |
commit | f8202a9c32074e0842f339704a241ea34d4d40f1 (patch) | |
tree | 48c92876e3301e800f538ad6aeb58a805a03fa2e /src | |
parent | f3be5a9d0626a57bf33ecdbcc983454159bb2931 (diff) | |
download | fluxbox_paul-f8202a9c32074e0842f339704a241ea34d4d40f1.zip fluxbox_paul-f8202a9c32074e0842f339704a241ea34d4d40f1.tar.bz2 |
fixed vertical text and font
Diffstat (limited to 'src')
-rw-r--r-- | src/IconBar.hh | 9 |
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; | |
44 | private: | 44 | private: |
45 | FluxboxWindow *m_fluxboxwin; | 45 | FluxboxWindow *m_fluxboxwin; |
46 | Window m_iconwin; | 46 | Window m_iconwin; |
@@ -52,7 +52,7 @@ private: | |||
52 | class IconBar | 52 | class IconBar |
53 | { | 53 | { |
54 | public: | 54 | public: |
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; } | ||
68 | private: | 69 | private: |
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 |