diff options
author | fluxgen <fluxgen> | 2002-10-15 17:17:00 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-10-15 17:17:00 (GMT) |
commit | 3e972e83bd2716f7e5941f4ef8edcb67f4f2a3b5 (patch) | |
tree | 570346082cf5339b76767e62d205ab980245064b /src/Theme.hh | |
parent | 715f363016995cbe188e7c47d9c389c8581b9fb1 (diff) | |
download | fluxbox_pavel-3e972e83bd2716f7e5941f4ef8edcb67f4f2a3b5.zip fluxbox_pavel-3e972e83bd2716f7e5941f4ef8edcb67f4f2a3b5.tar.bz2 |
using new font system for labelstyle, windowstyle
Diffstat (limited to 'src/Theme.hh')
-rw-r--r-- | src/Theme.hh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Theme.hh b/src/Theme.hh index fa1dabe..3ab4f27 100644 --- a/src/Theme.hh +++ b/src/Theme.hh | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Theme.hh,v 1.15 2002/10/15 10:52:18 fluxgen Exp $ | 25 | // $Id: Theme.hh,v 1.16 2002/10/15 17:07:32 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef THEME_HH | 27 | #ifndef THEME_HH |
28 | #define THEME_HH | 28 | #define THEME_HH |
@@ -59,12 +59,14 @@ public: | |||
59 | int bullet, bullet_pos; | 59 | int bullet, bullet_pos; |
60 | } MenuStyle; | 60 | } MenuStyle; |
61 | 61 | ||
62 | typedef struct LabelStyle | 62 | typedef struct LabelStyle { |
63 | { | 63 | LabelStyle(const char *fontname="fixed"):font(fontname) { } |
64 | |||
64 | FbTk::Texture l_focus, l_unfocus, | 65 | FbTk::Texture l_focus, l_unfocus, |
65 | t_focus, t_unfocus; | 66 | t_focus, t_unfocus; |
66 | GC l_text_focus_gc, l_text_unfocus_gc; | 67 | GC l_text_focus_gc, l_text_unfocus_gc; |
67 | DrawUtil::Font font; | 68 | FbTk::Font font; |
69 | DrawUtil::Font::FontJustify justify; | ||
68 | FbTk::Color l_text_focus, l_text_unfocus; | 70 | FbTk::Color l_text_focus, l_text_unfocus; |
69 | } LabelStyle; | 71 | } LabelStyle; |
70 | 72 | ||