Author: manolo
Date: 2012-12-18 06:54:08 -0800 (Tue, 18 Dec 2012)
New Revision: 9764
Log:
Mac OS text input support: Last change in Fl_Text_Display useless because 
HIGHLIGHT_MASK
is not used anymore for marked text..

Modified:
   branches/branch-1.3/src/Fl_Text_Display.cxx

Modified: branches/branch-1.3/src/Fl_Text_Display.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Text_Display.cxx 2012-12-18 14:24:07 UTC (rev 
9763)
+++ branches/branch-1.3/src/Fl_Text_Display.cxx 2012-12-18 14:54:08 UTC (rev 
9764)
@@ -1943,7 +1943,7 @@
       if (Fl::focus() == (Fl_Widget*)this) background = selection_color();
       else background = fl_color_average(color(), selection_color(), 0.4f);
     } else if (style & HIGHLIGHT_MASK) {
-      if (Fl::focus() == (Fl_Widget*)this) background = 
fl_color_average(color(), selection_color(), Fl::compose_state ? 0.3f : 0.5f);
+      if (Fl::focus() == (Fl_Widget*)this) background = 
fl_color_average(color(), selection_color(), 0.5f);
       else background = fl_color_average(color(), selection_color(), 0.6f);
     } else background = color();
     foreground = fl_contrast(styleRec->color, background);

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

Reply via email to