summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Tab.cc6
1 files 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) {
327 m_win->screen->getTabPlacement() == PRight) && 327 m_win->screen->getTabPlacement() == PRight) &&
328 (!m_win->isShaded() && m_win->screen->isTabRotateVertical())) { 328 (!m_win->isShaded() && m_win->screen->isTabRotateVertical())) {
329 329
330 tabtext_w = XRotTextWidth(m_win->screen->getWindowStyle()->tab.rot_font, 330 tabtext_w = Misc::XRotTextWidth(m_win->screen->getWindowStyle()->tab.rot_font,
331 m_win->client.title, m_win->client.title_len); 331 m_win->client.title, m_win->client.title_len);
332 tabtext_w += (m_win->frame.bevel_w * 4); 332 tabtext_w += (m_win->frame.bevel_w * 4);
333 333
334 DrawRotString(m_display, m_tabwin, gc, 334 Misc::DrawRotString(m_display, m_tabwin, gc,
335 m_win->screen->getWindowStyle()->tab.rot_font, 335 m_win->screen->getWindowStyle()->tab.rot_font,
336 m_win->screen->getWindowStyle()->tab.font.justify, 336 m_win->screen->getWindowStyle()->tab.font.justify,
337 tabtext_w, m_size_w, m_size_h, 337 tabtext_w, m_size_w, m_size_h,
@@ -351,7 +351,7 @@ void Tab::draw(bool pressed) {
351 } 351 }
352 tabtext_w += (m_win->frame.bevel_w * 4); 352 tabtext_w += (m_win->frame.bevel_w * 4);
353 353
354 DrawString(m_display, m_tabwin, gc, 354 Misc::DrawString(m_display, m_tabwin, gc,
355 &m_win->screen->getWindowStyle()->tab.font, 355 &m_win->screen->getWindowStyle()->tab.font,
356 tabtext_w, m_size_w, 356 tabtext_w, m_size_w,
357 m_win->frame.bevel_w, m_win->client.title); 357 m_win->frame.bevel_w, m_win->client.title);