From 75f83132ea906d3681298d018f428c587c207288 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 19 May 2002 15:37:29 +0000 Subject: const on draw function --- src/Tab.cc | 4 ++-- 1 file 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Tab.cc,v 1.26 2002/05/02 07:09:22 fluxgen Exp $ +// $Id: Tab.cc,v 1.27 2002/05/19 15:37:29 fluxgen Exp $ #include "Tab.hh" @@ -352,7 +352,7 @@ void Tab::shade() { // mode else it draws it in normal mode // TODO: the "draw in pressed mode" //----------------------------------- -void Tab::draw(bool pressed) { +void Tab::draw(bool pressed) const { unsigned int tabtext_w; GC gc = ((m_win->isFocused()) ? m_win->getScreen()->getWindowStyle()->tab.l_text_focus_gc : -- cgit v0.11.2