aboutsummaryrefslogtreecommitdiff
path: root/src/Theme.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-11-25 14:07:21 (GMT)
committerfluxgen <fluxgen>2002-11-25 14:07:21 (GMT)
commit99c92a637392a988382559d0b162aed68ab83ba8 (patch)
treed353aa10684ed0814327a64e9aef041510e08a41 /src/Theme.cc
parent1fc16d3d3d8a62a9697f4a42044b695707fe5d50 (diff)
downloadfluxbox_pavel-99c92a637392a988382559d0b162aed68ab83ba8.zip
fluxbox_pavel-99c92a637392a988382559d0b162aed68ab83ba8.tar.bz2
fixed rotated text on vertical tab in XFontImp and a rotate function in FontImp interface
Diffstat (limited to 'src/Theme.cc')
-rw-r--r--src/Theme.cc13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/Theme.cc b/src/Theme.cc
index d0188cf..b924855 100644
--- a/src/Theme.cc
+++ b/src/Theme.cc
@@ -21,7 +21,7 @@
21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22// DEALINGS IN THE SOFTWARE. 22// DEALINGS IN THE SOFTWARE.
23 23
24// $Id: Theme.cc,v 1.34 2002/11/15 13:10:48 fluxgen Exp $ 24// $Id: Theme.cc,v 1.35 2002/11/25 14:07:21 fluxgen Exp $
25 25
26#ifndef _GNU_SOURCE 26#ifndef _GNU_SOURCE
27#define _GNU_SOURCE 27#define _GNU_SOURCE
@@ -471,17 +471,6 @@ void Theme::loadTabStyle() {
471 471
472 loadFontFromDatabase(m_windowstyle.tab.font, "window.tab.font", "Window.Tab.Font"); 472 loadFontFromDatabase(m_windowstyle.tab.font, "window.tab.font", "Window.Tab.Font");
473 473
474 //TODO: fix rotated font
475 //--------- rotated font for left and right tabs
476 // TODO: add extra checking
477 /*if (XrmGetResource(m_database, "window.tab.font", "Window.Tab.Font",
478 &value_type, &value)) {
479 if (! (m_windowstyle.tab.rot_font = DrawUtil::XRotLoadFont(m_display, value.addr, 90.0)) )
480 m_windowstyle.tab.rot_font = DrawUtil::XRotLoadFont(m_display, "fixed", 90);
481 } else
482 m_windowstyle.tab.rot_font = DrawUtil::XRotLoadFont(m_display, "fixed", 90);
483 */
484
485 if (XrmGetResource(m_database, "window.tab.justify", "Window.Tab.Justify", 474 if (XrmGetResource(m_database, "window.tab.justify", "Window.Tab.Justify",
486 &value_type, &value)) { 475 &value_type, &value)) {
487 if (strstr(value.addr, "right") || strstr(value.addr, "Right")) 476 if (strstr(value.addr, "right") || strstr(value.addr, "Right"))