diff options
Diffstat (limited to 'src/Theme.cc')
-rw-r--r-- | src/Theme.cc | 13 |
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")) |