From d85fb9bdadda1cc976d8c47d5393ee0725461612 Mon Sep 17 00:00:00 2001 From: fluxgen <fluxgen> Date: Thu, 13 Dec 2001 23:01:38 +0000 Subject: Updated DrawString --- src/Tab.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Tab.cc b/src/Tab.cc index 5128119..24865c4 100644 --- a/src/Tab.cc +++ b/src/Tab.cc @@ -327,11 +327,11 @@ void Tab::draw(bool pressed) { m_win->screen->getTabPlacement() == PRight) && (!m_win->isShaded() && m_win->screen->isTabRotateVertical())) { - tabtext_w = XRotTextWidth(m_win->screen->getWindowStyle()->tab.rot_font, + tabtext_w = Misc::XRotTextWidth(m_win->screen->getWindowStyle()->tab.rot_font, m_win->client.title, m_win->client.title_len); tabtext_w += (m_win->frame.bevel_w * 4); - DrawRotString(m_display, m_tabwin, gc, + Misc::DrawRotString(m_display, m_tabwin, gc, m_win->screen->getWindowStyle()->tab.rot_font, m_win->screen->getWindowStyle()->tab.font.justify, tabtext_w, m_size_w, m_size_h, @@ -351,7 +351,7 @@ void Tab::draw(bool pressed) { } tabtext_w += (m_win->frame.bevel_w * 4); - DrawString(m_display, m_tabwin, gc, + Misc::DrawString(m_display, m_tabwin, gc, &m_win->screen->getWindowStyle()->tab.font, tabtext_w, m_size_w, m_win->frame.bevel_w, m_win->client.title); -- cgit v0.11.2