summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-05-19 15:37:29 (GMT)
committerfluxgen <fluxgen>2002-05-19 15:37:29 (GMT)
commit75f83132ea906d3681298d018f428c587c207288 (patch)
tree87e87b960a997f1466d8cce4565a956e5bfabd56
parent67f09e6f004976cfa639909ea519036bdb719749 (diff)
downloadfluxbox_lack-75f83132ea906d3681298d018f428c587c207288.zip
fluxbox_lack-75f83132ea906d3681298d018f428c587c207288.tar.bz2
const on draw function
-rw-r--r--src/Tab.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Tab.cc b/src/Tab.cc
index e89a3bd..a38542b 100644
--- a/src/Tab.cc
+++ b/src/Tab.cc
@@ -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//-----------------------------------
355void Tab::draw(bool pressed) { 355void 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 :