diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2015-07-09 00:10:44 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2015-07-09 00:10:44 +0000 |
| commit | 4cea3aee0c4153c7b7c2fc485b2e4ef37cbd3f19 (patch) | |
| tree | adfb3257a8138daed5ebd1319b50340017b04afd /CHANGES | |
| parent | 349f32693398b57d4273f4a6abed9bd9db5d4e56 (diff) | |
Fix box background drawing for deactivated widgets (STR #2907).
Two new static methods have been introduced:
- Fl::box_color(Fl_Color c) returns the bg color dependent on the
widget's state (inactive_r()).
- Fl::set_box_color(Fl_Color c) sets the correct bg color dependent
on the widget's state by calling fl_color(Fl::box_color(c)).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'CHANGES')
| -rw-r--r-- | CHANGES | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -39,6 +39,9 @@ CHANGES IN FLTK 1.3.4 RELEASED: ??? ?? ???? Bug fixes + - Several box types were not drawn correctly when deactivated. + The background color for deactivated widgets is now correct: + fl_inactive(color()) (STR #2907). - Reading of .pbm image files is fixed: 1 is now interpreted as black, and images of width a multiple of 8 are correctly read. Note: if you relied on the faulty behavior you may need to fix @@ -47,15 +50,14 @@ CHANGES IN FLTK 1.3.4 RELEASED: ??? ?? ???? scheme's background (STR #3059). This was a regression since FLTK 1.3.0. - Fl_Text_Display: style buffer colors are no longer manipulated by - fl_contrast() for normal text drawing (fltk.coredev thread - started 04/08/15, Subject: "RFC: Fl_Text_Display style buffer color weirdness") + fl_contrast() for normal text drawing (fltk.coredev thread started + 04/08/15, Subject: "RFC: Fl_Text_Display style buffer color weirdness") - Fl_Tree::deactivate() now affects draw color of items (must have ABI 1.3.3 or higher enabled). For icons to draw deactivated, enable ABI 1.3.4. (test/tree has a 'deactivate tree' button) - - - Fixed possible bad border effect when a set of radio menu items - is located first in its menu (STR #3176): Fl_Menu_Item::set_only() - is deprecated and replaced by Fl_Menu_::set_only(Fl_Menu_item*). + - Fixed possible bad border effect when a set of radio menu items + is located first in its menu (STR #3176): Fl_Menu_Item::set_only() + is deprecated and replaced by Fl_Menu_::set_only(Fl_Menu_item*). CHANGES IN FLTK 1.3.3 RELEASED: Nov 03 2014 |
