DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2050
Version: 2.0-current


TabGroup ignores the RAW_LABEL flag when drawing tab labels.
This fixes it for me:

--- src/TabGroup.cxx.orig       2008-09-26 21:37:36 +0200
+++ src/TabGroup.cxx    2008-09-26 21:40:14 +0200
@@ -471,7 +471,7 @@ void TabGroup::draw_tab(int x1, int x2, 
                abs(H)-1);
     drawstyle(o->style(), sel && focused() ? FOCUSED|OUTPUT : OUTPUT);
     setcolor(sel  ? selection_textcolor() : o->textcolor());
-    o->draw_label(r, ALIGN_CENTER);
+    o->draw_label(r, (o->flags() & RAW_LABEL) | ALIGN_CENTER);
     FLAT_BOX->draw_symbol_overlay(r);
   }
 }


Link: http://www.fltk.org/str.php?L2050
Version: 2.0-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to