aboutsummaryrefslogtreecommitdiff
path: root/src/CommandDialog.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-07 10:26:32 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-07 10:26:32 (GMT)
commitdbfddf8e0bcf8e7abbba671eff64c9679332a774 (patch)
tree37cefce75eef2f7e0c749c3489008608e71dcd6c /src/CommandDialog.cc
parentac1bd7e0981222bf340ce7defb2bb8307d42a0a2 (diff)
downloadfluxbox_pavel-dbfddf8e0bcf8e7abbba671eff64c9679332a774.zip
fluxbox_pavel-dbfddf8e0bcf8e7abbba671eff64c9679332a774.tar.bz2
added new ThemeProxy for automatically handling focused vs. unfocused ThemeItems
Diffstat (limited to 'src/CommandDialog.cc')
-rw-r--r--src/CommandDialog.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CommandDialog.cc b/src/CommandDialog.cc
index d88d755..17bd771 100644
--- a/src/CommandDialog.cc
+++ b/src/CommandDialog.cc
@@ -190,12 +190,12 @@ void CommandDialog::tabComplete() {
190 190
191void CommandDialog::render() { 191void CommandDialog::render() {
192 Pixmap tmp = m_pixmap; 192 Pixmap tmp = m_pixmap;
193 if (!m_screen.winFrameTheme()->iconbarTheme().focusedTexture().usePixmap()) { 193 if (!m_screen.winFrameTheme()->focusedIconbarTheme().texture().usePixmap()) {
194 m_label.setBackgroundColor(m_screen.winFrameTheme()->iconbarTheme().focusedTexture().color()); 194 m_label.setBackgroundColor(m_screen.winFrameTheme()->focusedIconbarTheme().texture().color());
195 m_pixmap = 0; 195 m_pixmap = 0;
196 } else { 196 } else {
197 m_pixmap = m_screen.imageControl().renderImage(m_label.width(), m_label.height(), 197 m_pixmap = m_screen.imageControl().renderImage(m_label.width(), m_label.height(),
198 m_screen.winFrameTheme()->iconbarTheme().focusedTexture()); 198 m_screen.winFrameTheme()->focusedIconbarTheme().texture());
199 m_label.setBackgroundPixmap(m_pixmap); 199 m_label.setBackgroundPixmap(m_pixmap);
200 } 200 }
201 201
@@ -210,7 +210,7 @@ void CommandDialog::init() {
210 // setup label 210 // setup label
211 // we listen to motion notify too 211 // we listen to motion notify too
212 m_label.setEventMask(m_label.eventMask() | ButtonPressMask | ButtonMotionMask); 212 m_label.setEventMask(m_label.eventMask() | ButtonPressMask | ButtonMotionMask);
213 m_label.setGC(m_screen.winFrameTheme()->iconbarTheme().focusedText().textGC()); 213 m_label.setGC(m_screen.winFrameTheme()->focusedIconbarTheme().text().textGC());
214 m_label.show(); 214 m_label.show();
215 215
216 // setup text box 216 // setup text box