diff options
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)); |