diff options
author | fluxgen <fluxgen> | 2001-12-13 23:01:38 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2001-12-13 23:01:38 (GMT) |
commit | d85fb9bdadda1cc976d8c47d5393ee0725461612 (patch) | |
tree | 220695d723cefa0baa202c6073d9b77c60427ac3 | |
parent | be57c0510d8b974f60644d425138d818097bd5b0 (diff) | |
download | fluxbox_lack-d85fb9bdadda1cc976d8c47d5393ee0725461612.zip fluxbox_lack-d85fb9bdadda1cc976d8c47d5393ee0725461612.tar.bz2 |
Updated DrawString
-rw-r--r-- | src/Tab.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |