STR #1052

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

Return to Bugs & Features | Roadmap 1.1 ]

STR #1052

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:FL_FOREGROUND_COLOR rarely used
Created By:ucko.debian
Assigned To:mike
Fix Version:1.1-current (SVN: v4609)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Name/Time/Date Filename/Size top right image
#1 mike
09:41 Oct 30, 2005
bottom left image   bottom right image

Trouble Report Comments:

Name/Time/Date Text top right image
#1 ucko.debian
17:36 Oct 18, 2005
Despite the careful logic in Fl_get_system_colors.cxx, much of FLTK expects a light background, and proceeds to hardcode FL_BLACK where it should be honoring FL_FOREGROUND_COLOR; for instance,

fluid -bg darkgreen -bg2 black -fg white

is basically unreadable, since the text is still black.

See also
#2 mike
09:40 Oct 30, 2005
Fixed in Subversion repository.

The attached patch should correct all of the places we use FL_BLACK instead of FL_FOREGROUND_COLOR.

Let me know if there are still issues.
#3 matt
06:21 Nov 02, 2005
I fixed a few more and that may possibly it. I apologize if I ran over some of your code, Mike, since I just now saw, that the item was still active in the database. Ooops.  
#4 matt
06:51 Nov 02, 2005
Fixed in Subversion repository.  
bottom left image   bottom right image

Return to Bugs & Features ]


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