diff options
author | fluxgen <fluxgen> | 2003-12-07 16:39:43 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-12-07 16:39:43 (GMT) |
commit | c5b79ed14b350130226a5f978edc8c55caa190a3 (patch) | |
tree | 9d79b213de852728d54ea21671d22e681ee18670 /src/ClockTool.cc | |
parent | d2959aeb6b86b4a43168a9f9fbd123a68c1f821e (diff) | |
download | fluxbox-c5b79ed14b350130226a5f978edc8c55caa190a3.zip fluxbox-c5b79ed14b350130226a5f978edc8c55caa190a3.tar.bz2 |
usePixmap from Texture
Diffstat (limited to 'src/ClockTool.cc')
-rw-r--r-- | src/ClockTool.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClockTool.cc b/src/ClockTool.cc index c23028f..10b9ad5 100644 --- a/src/ClockTool.cc +++ b/src/ClockTool.cc | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: ClockTool.cc,v 1.7 2003/12/06 16:49:06 fluxgen Exp $ | 23 | // $Id: ClockTool.cc,v 1.8 2003/12/07 16:39:43 fluxgen Exp $ |
24 | 24 | ||
25 | #include "ClockTool.hh" | 25 | #include "ClockTool.hh" |
26 | 26 | ||
@@ -216,7 +216,7 @@ void ClockTool::updateTime() { | |||
216 | 216 | ||
217 | void ClockTool::renderTheme() { | 217 | void ClockTool::renderTheme() { |
218 | Pixmap old_pm = m_pixmap; | 218 | Pixmap old_pm = m_pixmap; |
219 | if (m_theme.texture().type() == (FbTk::Texture::FLAT | FbTk::Texture::SOLID)) { | 219 | if (!m_theme.texture().usePixmap()) { |
220 | m_pixmap = 0; | 220 | m_pixmap = 0; |
221 | m_button.setBackgroundColor(m_theme.texture().color()); | 221 | m_button.setBackgroundColor(m_theme.texture().color()); |
222 | } else { | 222 | } else { |