Re: [fltk.development] Fltk3 state

2011-06-18 Thread Albrecht Schlosser
On 29.05.2011 22:05, Albrecht Schlosser wrote:
 svn r8758 compiled with a few warnings on Windows with MinGW, except 
 test/threads.cxx.

 Wow, well done !

I just tested FLTK 3.0 again, but unfortunately current svn (r 8821)
doesn't compile on Windows and Linux :-(
There are lots of errors, too many to post them here.

Note that svn r8801 (and maybe others as well) compiled well (with
some warnings) on Windows (MinGW) and Linux.

Albrecht
___
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev


Re: [fltk.development] Fltk3 state

2011-06-18 Thread Matthias Melcher

On 18.06.2011, at 15:15, Albrecht Schlosser wrote:

 On 29.05.2011 22:05, Albrecht Schlosser wrote:
 svn r8758 compiled with a few warnings on Windows with MinGW, except 
 test/threads.cxx.
 
 Wow, well done !
 
 I just tested FLTK 3.0 again, but unfortunately current svn (r 8821)
 doesn't compile on Windows and Linux :-(
 There are lots of errors, too many to post them here.
 
 Note that svn r8801 (and maybe others as well) compiled well (with
 some warnings) on Windows (MinGW) and Linux.

Yes, I started yesterday to move some stuff around in order to make fltk1 tests 
compile. I am pretty sure that I will have things back in order tonight or 
hopefully Sunday. At least the second-to-last version was able to compile a 
handful of tests without or with very minor changes to the source code.

 - Matthias
___
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev


Re: [fltk.development] Announcing 1.3 ?

2011-06-18 Thread Evan Laforge
On Fri, Jun 17, 2011 at 5:29 AM, Matthias Melcher m...@matthiasm.com wrote:
 I remember that we used to announce new versions in several places. I just 
 don't remember which ones.

Ha, it's clearly been too long since a release :)

But that said, congratulations are in order.  As a user, I'm glad you
guys have been pushing out the fixes and improvements, especially
Manolo with all the OS X work.

___
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev


[fltk.development] [RFE] STR #2672: Updated Gleam patch against FLTK1.3.x-r8816

2011-06-18 Thread Edmanuel Torres
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2672
Version: 1.3-feature


Updated gleam patch to work with the main branch FLTK 1.3.x. I think this
patch should be included in FLTK 1.3. This is only the patch to include
Gleam in FLTK. Gleam itself can be found at
http://ergoeclectic.com/projects/fltk-gleam.html.


Link: http://www.fltk.org/str.php?L2672
Version: 1.3-featureIndex: src/makedepend
===
--- src/makedepend  (revision 8818)
+++ src/makedepend  (working copy)
@@ -814,6 +814,9 @@
 fl_font.o: ../FL/Fl_Preferences.H ../FL/Fl_Image.H ../FL/Fl_Bitmap.H
 fl_font.o: ../FL/Fl_Image.H ../FL/Fl_Pixmap.H ../FL/Fl_RGB_Image.H Fl_Font.H
 fl_font.o: fl_font_xft.cxx
+fl_gleam.o: fl_gleam.cxx ../FL/Fl.H ../FL/Enumerations.H \
+  ../FL/Fl_Export.H ../FL/fl_draw.H flstring.h ../FL/Fl_Export.H \
+  ../config.h
 fl_gtk.o: ../FL/Fl.H ../FL/fl_utf8.h ../FL/Fl_Export.H ../FL/fl_types.h
 fl_gtk.o: ../FL/Xutf8.h ../FL/Enumerations.H ../FL/fl_draw.H ../FL/x.H
 fl_gtk.o: ../FL/Fl_Window.H ../FL/Enumerations.H ../FL/Fl_Window.H
Index: src/fl_boxtype.cxx
===
--- src/fl_boxtype.cxx  (revision 8818)
+++ src/fl_boxtype.cxx  (working copy)
@@ -302,6 +302,14 @@
   {fl_down_box,1,1,2,2,0}, // _FL_GTK_THIN_ROUND_DOWN_BOX,
   {fl_up_box,  2,2,4,4,0}, // _FL_GTK_ROUND_UP_BOX,
   {fl_down_box,2,2,4,4,0}, // _FL_GTK_ROUND_DOWN_BOX,
+  {fl_up_box,  2,2,3,3,0}, // _FL_GLEAM_UP_BOX,
+  {fl_down_box,2,2,3,3,0}, // _FL_GLEAM_DOWN_BOX,
+  {fl_up_frame,2,2,3,3,0}, // _FL_GLEAM_UP_FRAME,
+  {fl_down_frame,  2,2,3,3,0}, // _FL_GLEAM_DOWN_FRAME,
+  {fl_up_box,  1,1,1,1,0}, // _FL_GLEAM_THIN_UP_BOX,
+  {fl_down_box,1,1,1,1,0}, // _FL_GLEAM_THIN_DOWN_BOX,
+  {fl_up_box,  2,2,3,3,0}, // _FL_GLEAM_ROUND_UP_BOX,
+  {fl_down_box,2,2,3,3,0}, // _FL_GLEAM_ROUND_DOWN_BOX,
   {fl_up_box,  3,3,6,6,0}, // FL_FREE_BOX+0
   {fl_down_box,3,3,6,6,0}, // FL_FREE_BOX+1
   {fl_up_box,  3,3,6,6,0}, // FL_FREE_BOX+2
Index: src/Fl_get_system_colors.cxx
===
--- src/Fl_get_system_colors.cxx(revision 8818)
+++ src/Fl_get_system_colors.cxx(working copy)
@@ -235,9 +235,8 @@
   if (Fl::first_window()) key1 = Fl::first_window()-xclass();
   if (!key1) key1 = fltk;
   if (!fl_bg2_set) getsyscolor(Text,background,fl_bg2, #ff, 
Fl::background2);
-  if (!fl_fg_set) getsyscolor(key1,  foreground, fl_fg,  #00, 
Fl::foreground);
-  if (!fl_bg_set) getsyscolor(key1,  background, fl_bg,  #c0c0c0, 
Fl::background);
-  getsyscolor(Text, selectBackground, 0, #80, set_selection_color);
+  if (!fl_bg_set) getsyscolor(key1,  background,fl_bg,  #e4e4e4, 
Fl::background);
+  getsyscolor(Text, selectBackground, 0, #3465a4, set_selection_color);
 }
 
 #endif
@@ -386,6 +385,28 @@
 
 // Use slightly thinner scrollbars...
 Fl::scrollbar_size(15);
+  } else if (scheme_  !strcasecmp(scheme_, gleam)) {
+// Use a Gleam look-and-feel, similar to Clearlooks Glossy, made by Colin 
Jones
+if (scheme_bg_) {
+  delete scheme_bg_;
+  scheme_bg_ = (Fl_Image *)0;
+}
+
+set_boxtype(FL_UP_FRAME,FL_GLEAM_UP_FRAME);
+set_boxtype(FL_DOWN_FRAME,  FL_GLEAM_DOWN_FRAME);
+set_boxtype(FL_THIN_UP_FRAME,   FL_GLEAM_UP_FRAME);
+set_boxtype(FL_THIN_DOWN_FRAME, FL_GLEAM_DOWN_FRAME);
+
+set_boxtype(FL_UP_BOX,  FL_GLEAM_UP_BOX);
+set_boxtype(FL_DOWN_BOX,FL_GLEAM_DOWN_BOX);
+set_boxtype(FL_THIN_UP_BOX, FL_GLEAM_THIN_UP_BOX);
+set_boxtype(FL_THIN_DOWN_BOX,   FL_GLEAM_THIN_DOWN_BOX);
+set_boxtype(_FL_ROUND_UP_BOX,   FL_GLEAM_ROUND_UP_BOX);
+set_boxtype(_FL_ROUND_DOWN_BOX, FL_GLEAM_ROUND_DOWN_BOX);
+
+// Use slightly thinner scrollbars...
+Fl::scrollbar_size(10);
+
   } else {
 // Use the standard FLTK look-n-feel...
 if (scheme_bg_) {
Index: src/Makefile
===
--- src/Makefile(revision 8818)
+++ src/Makefile(working copy)
@@ -143,6 +143,7 @@
fl_engraved_label.cxx \
fl_file_dir.cxx \
fl_font.cxx \
+   fl_gleam.cxx \
fl_gtk.cxx \
fl_labeltype.cxx \
fl_line_style.cxx \
Index: FL/Enumerations.H
===
--- FL/Enumerations.H   (revision 8818)
+++ FL/Enumerations.H   (working copy)
@@ -511,6 +511,14 @@
   _FL_GTK_THIN_DOWN_FRAME, /// gtk+ version of FL_THIN_DOWN_FRAME
   _FL_GTK_ROUND_UP_BOX,/// gtk+ version of FL_ROUND_UP_BOX
   _FL_GTK_ROUND_DOWN_BOX,  /// gtk+ version of FL_ROUND_DOWN_BOX
+  _FL_GLEAM_UP_BOX,
+