Article #1423: FLTK 1.3.x Weekly Snapshot, r10740

  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

Return to Articles | Show Comments | Submit Comment ]

Article #1423: FLTK 1.3.x Weekly Snapshot, r10740

Created at 00:05 Jun 05, 2015 by mike

A new weekly snapshot of FLTK 1.3.x (r10740) is now available on the download page:

Commit Log:

r10740 | manolo | 2015-06-02 04:48:39 -0400 (Tue, 02 Jun 2015) | 1 line

Added the libfltk target producing a static FLTK library libfltk.a
r10739 | manolo | 2015-05-30 09:46:59 -0400 (Sat, 30 May 2015) | 1 line

Mac OS: allow using fl_color(r,g,b) without drawing context.
Download | Home Page | Listing ]


Submit Comment ]

From rainbowsally, 04:05 Jun 09, 2015 (score=3)

fl_plastic scheme for latest snapshot, or probably any version of FLTK.

If anyone wants it, here's a fl_plastic.cxx with a bit more contrast and the code used to modify the shading codes (which are mysterious looking alpha strings used in box drawing).

Here's the BEFORE and AFTER so you can judge for yourself whether you want to play with this.  Keep your old files backed up, of course, and you'll need to recompile whichever download you get and install once modified.  Not for beginners... but then again, it might be!  :-)

BTW, the checkbox in the unittests (discovered when making the screen shots at the page above) doesn't remove the highlight glyph when it loses focus.  This is proabably a bug?

Thanks for the s/ware, guys.

PS. I'm trying to port the fltk 2.0 colorchooser to fltk for you.  If it works, you're going to like it!  And thanks again for all your work.
Reply ]

From rainbowsally, 05:40 Jun 07, 2015 (score=3)

I was mostly interested in the cairo stuff, but there were a few problems with r10740, and probably others.

I used ./configure with the two cairo options enabled but needed to import config.sub and config.guess from other versions.

Missing files: config.sub config.guess

I created my own makefile system (dyn lib) so these two fixes alone might not get it to compile in Linux.  Mainly, I'm not sure the cairo file in the separate directory will get compiled and linked.  It might, but it has a separate makefile so I don't know.  I put mine in with the rest of the sources for the main libfltk lib.

There was a FIXME in Fl_Cairo.cxx (Again this is only for Linux)

    //FIXME X11 get W,H
    // gc will be the window handle here

So I did this to fix it:
    W = ((Fl_Window*)gc)->current()->w();
    H = ((Fl_Window*

Also the #include "config.h" may have been missing at the top of Fl_Shape_window.cxx.  I can't see any reason it should be included for Windows and not for linux, so I just wrote it in at the top of the file so we no longer get the error: "cairo_set_current is not a member of fl" anymore.

Here's the result, in any case.

Reply ]


Comments are owned by the poster. All other content is copyright 1998-2018 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.