STR #3408

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.3 | Post Text | Post File | Prev | Next ]

STR #3408

Application:FLTK Library
Status:5 - New
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:setting Fl_Scroll inactive doesn't draw the background inactive
Version:1.3.4
Created By:andy1978
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size top right image
 
#1 andy1978
05:47 Oct 05, 2017
Fl_Scroll.patch
0k
 
bottom left image   bottom right image

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
 
#1 andy1978
00:05 Sep 27, 2017
I think FL_Scroll should have the same behaviour like Fl_Group if "deactivate()" is called. But Fl_Scroll doesn't draw its background inactive and I think a patch like the attached would be necessary.  
 
#2 AlbrechtS
07:13 Sep 28, 2017
Thanks for the report. You didn't post the patch as you wrote. Can you please post one?

Note: dropped priority from High to Low. This is only a minor issue. This will probably not be changed in 1.3.x. A possible fix may be applied in FLTK 1.4.0 though.

Fl_Scroll is somewhat special in handling its background, particularly if you set a FRAME of NO_BOX box type.

This will probably not be changed in 1.3.x. A possible fix may be applied in FLTK 1.4.0 though.
 
 
#3 andy1978
05:52 Oct 05, 2017
Albrecht, thank you for your reply and sorry for forgetting to actually attach the patch  
 
#4 greg.ercolano
11:47 Oct 07, 2017
Patch looks good to me; it only addresses the situation where
a background /is/ drawn with fl_rectf().
 
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]

 
 

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 'erco@seriss.com'.