summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2001-12-13 23:01:38 (GMT)
committerfluxgen <fluxgen>2001-12-13 23:01:38 (GMT)
commitd85fb9bdadda1cc976d8c47d5393ee0725461612 (patch)
tree220695d723cefa0baa202c6073d9b77c60427ac3
parentbe57c0510d8b974f60644d425138d818097bd5b0 (diff)
downloadfluxbox_lack-d85fb9bdadda1cc976d8c47d5393ee0725461612.zip
fluxbox_lack-d85fb9bdadda1cc976d8c47d5393ee0725461612.tar.bz2
Updated DrawString
-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);