| [ 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: | |
Trouble Report Files:
Trouble Report Comments:
|
#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 ]
|
| |