diff options
author | fluxgen <fluxgen> | 2002-05-19 15:37:29 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-05-19 15:37:29 (GMT) |
commit | 75f83132ea906d3681298d018f428c587c207288 (patch) | |
tree | 87e87b960a997f1466d8cce4565a956e5bfabd56 /src | |
parent | 67f09e6f004976cfa639909ea519036bdb719749 (diff) | |
download | fluxbox-75f83132ea906d3681298d018f428c587c207288.zip fluxbox-75f83132ea906d3681298d018f428c587c207288.tar.bz2 |
const on draw function
Diffstat (limited to 'src')
-rw-r--r-- | src/Tab.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Tab.cc,v 1.26 2002/05/02 07:09:22 fluxgen Exp $ | 22 | // $Id: Tab.cc,v 1.27 2002/05/19 15:37:29 fluxgen Exp $ |
23 | 23 | ||
24 | #include "Tab.hh" | 24 | #include "Tab.hh" |
25 | 25 | ||
@@ -352,7 +352,7 @@ void Tab::shade() { | |||
352 | // mode else it draws it in normal mode | 352 | // mode else it draws it in normal mode |
353 | // TODO: the "draw in pressed mode" | 353 | // TODO: the "draw in pressed mode" |
354 | //----------------------------------- | 354 | //----------------------------------- |
355 | void Tab::draw(bool pressed) { | 355 | void Tab::draw(bool pressed) const { |
356 | unsigned int tabtext_w; | 356 | unsigned int tabtext_w; |
357 | 357 | ||
358 | GC gc = ((m_win->isFocused()) ? m_win->getScreen()->getWindowStyle()->tab.l_text_focus_gc : | 358 | GC gc = ((m_win->isFocused()) ? m_win->getScreen()->getWindowStyle()->tab.l_text_focus_gc : |