diff options
author | Jim Ramsay <i.am@jimramsay.com> | 2009-05-01 22:15:34 (GMT) |
---|---|---|
committer | Jim Ramsay <i.am@jimramsay.com> | 2009-05-01 22:15:34 (GMT) |
commit | 8c7f2ea10eadb76de4eb42d1b4c841171539db17 (patch) | |
tree | bcf79ecd06a138ac560d79324aa80bebd08677d4 /src/FbTk/Texture.cc | |
parent | dfa360e8905509e3e19db4279fc4066e52014676 (diff) | |
download | fluxbox_lack-8c7f2ea10eadb76de4eb42d1b4c841171539db17.zip fluxbox_lack-8c7f2ea10eadb76de4eb42d1b4c841171539db17.tar.bz2 |
Everything but Text
Managed 32-bit visuals for everything, but text is broken (menus, titlebars,
etc)
Diffstat (limited to 'src/FbTk/Texture.cc')
-rw-r--r-- | src/FbTk/Texture.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Texture.cc b/src/FbTk/Texture.cc index 2fcd915..2c13595 100644 --- a/src/FbTk/Texture.cc +++ b/src/FbTk/Texture.cc | |||
@@ -112,7 +112,7 @@ void Texture::setFromString(const char * const texture_str) { | |||
112 | void Texture::calcHiLoColors(int screen_num) { | 112 | void Texture::calcHiLoColors(int screen_num) { |
113 | Display *disp = FbTk::App::instance()->display(); | 113 | Display *disp = FbTk::App::instance()->display(); |
114 | XColor xcol; | 114 | XColor xcol; |
115 | Colormap colm = DefaultColormap(disp, screen_num); | 115 | Colormap colm = FbTk::App::instance()->defaultColormap(screen_num); |
116 | 116 | ||
117 | xcol.red = (unsigned int) (m_color.red() + | 117 | xcol.red = (unsigned int) (m_color.red() + |
118 | (m_color.red() >> 1)); | 118 | (m_color.red() >> 1)); |