From 18bb55545e6f99e9ab80900db65222e8b98aee13 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 6 Mar 2017 16:54:33 +0000 Subject: Fl_Tabs: improve tab label drawing (STR #3075, STR #3076). New method Fl_Tabs::tab_align() supports icons in tabs (STR #3076). This commit also enables drawing labels of Fl_Window children (STR #3075). Setting tab_align(FL_IMAGE_NEXT_TO_TEXT) draws images (icons) in the tab labels if the child has an image(). Currently this draws the image() even if the child is deactived (so it should presumably draw the deimage()). Todo: Label measurement and Fl_Windows as children still need fixups. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12185 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CHANGES | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES') diff --git a/CHANGES b/CHANGES index 9ac323966..84d3df40a 100644 --- a/CHANGES +++ b/CHANGES @@ -17,6 +17,8 @@ Changes in FLTK 1.4.0 Released: ??? ?? 2017 New Features and Extensions + - New method Fl_Tabs::tab_align() allows to set alignment of tab labels, + particularly to support icons on tab labels (STR #3076). - Added '--enable-print' option to configure effective under X11 platforms and with 'yes' default value. Using '--enable-print=no' removes print and PostScript support from the FLTK library, thus reducing its size. @@ -51,6 +53,7 @@ Changes in FLTK 1.4.0 Released: ??? ?? 2017 Bug Fixes - (add new items here) + - Fix Fl_Tabs label drawing for Fl_Window children (STR #3075). - Fix line number alignment in Fl_Text_Display/Editor (STR #3363). - Fix ignored buffer pre-allocation (requestedSize) in Fl_Text_Buffer. See fltk.general "Fl_Text_Buffer constructor bug" on Dec 5, 2016. -- cgit v1.2.3