FLTK logo

STR #129

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   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 | SVN ⇄ GIT ]

STR #129

Application:FLTK Library
Status:1 - Closed w/Resolution
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:Fl_Choice with Fl::scheme("plastic") shows odd focus box
Version:1.1.4rc2
Created By:greg.ercolano
Assigned To:mike
Fix Version:1.1-current
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 greg.ercolano
23:22 Aug 12, 2003
fl_choice.patch
1k
 
 
#2 greg.ercolano
23:23 Aug 12, 2003
inactive.fl.patch
1k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 greg.ercolano
23:19 Aug 12, 2003
When Fl::scheme("plastic") is in effect, the scheme("normal")
focus box is shown instead when selected.

Should show normal focus box (consistent with eg. Fl_Button)
when Fl::scheme("plastic") is in effect.

(The focus behavior for the normal scheme is fine)

Recommended patch to follow.
 
 
#2 greg.ercolano
23:29 Aug 12, 2003
Patch description:

fl_choice.patch
    - a patch to src/Fl_Choice.cxx which changes the
      drawing behavior when Fl::scheme("plastic") is
      in effect. Basically followed the techniques in
      Fl_Menu.cxx for a plain draw() operation.
      Possibly better would be to break out the draw()
      in Fl_Menu.cxx into a separate text only draw op,
      and call /that/ from Fl_Choice.cxx.

inactive.fl.patch
    - Adds an Fl_Choice to the inactive.cxx test program,
      to verify the correct deactivate drawing behavior
      for the above fl_choice.patch
 
 
#3 greg.ercolano
11:55 Aug 14, 2003
Here's a screenshot showing what the patch changes:
http://www.3dsite.com/people/erco/fltk/chooser_patch/choice-mod.gif
 
 
#4 mike
05:42 Aug 24, 2003
Thanks, applied Fl_Choice patch to CVS for 1.1.4.  
     

Return to Bugs & Features ]

 
 

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