summaryrefslogtreecommitdiff
path: root/FL/Fl_Tabs.H
AgeCommit message (Collapse)Author
4 dayswipmaxim nikonov
2025-07-08Replace 'FL_OVERRIDE' with 'override' in public headersAlbrecht Schlosser
... except FL/fl_attr.h where FL_OVERRIDE is #define'd
2025-01-16Improve and reorder Fl_Tabs documentationAlbrecht Schlosser
Note: this also removes the (not working) suggestion to add an invisible box to an Fl_Scroll-type child of Fl_Tabs.
2025-01-15Document issues with Fl_Scroll as children of Fl_Tabs (#1175)Albrecht Schlosser
Unfortunately this *appears* to be a new constraint caused by the great new features of Fl_Tabs like overflow handling etc. and fixing drawing issues in the tab area (since FLTK 1.4). However, this conflict has already been there in 1.3 but didn't cause visual artifacts in normal use.
2025-01-15Fix typos in documentation of Fl_TabsAlbrecht Schlosser
2024-08-03Improve visibility of selected tab in Fl_Tabs (#1032).Matthias Melcher
2024-08-03Better Fl_Tabs callback handling.Matthias Melcher
2024-08-02Fix Fl_Tabs callback in Overflow mode (#1031).Matthias Melcher
2023-12-13Improve Fl_Tabs documentation (minor wording issue)Albrecht Schlosser
2023-09-06Fixes Fl_Tabs to be more robust.Matthias Melcher
No children in Fl_Tabs should no longer crash the draw method. Also, drawing an Fl_Tabs with no children inside is now defined and documented.
2023-08-31Remove Doxygen warnings in processing of class Fl_TabsManoloFLTK
2023-08-30#718: Fixes Fl_Tabs overlapping calculationsMatthias Melcher
This method should greatly improve the overlapping calculations. Tested with super wide and super many tabs. Also documented every method in the class.
2023-08-29Document some protected methods and variables of Fl_TabsAlbrecht Schlosser
Todo: There are more protected methods that should be documented, particularly the virtual ones that might be overridden by subclasses.
2023-08-13Fl_Tabs now supports horizontal mouse wheel events.Matthias Melcher
2023-04-13Fix trailing comma in enums of public headersAlbrecht Schlosser
Compiler warning: comma at end of enumerator list [-Wpedantic] Note 1: I decided to fix these warnings although trailing commas in enums are allowed at least since C++11. Note 2: I fixed only public headers because these headers may be compiled in user code. To do: check internal headers.
2023-01-05Add close buttons for individual tabs in Fl_Tabs (#628)Matthias Melcher
Add close buttons for Fl_Tabs Introducing callback reasons FLUID shows all FL_WHEN_... options Adding Fl_Tabs overflow types Improved test/tabs to show new features
2022-12-30Use `FL_OVERRIDE` for all overridden virtual methods (#611)Matthias Melcher
FL_OVERRIDE is defined as `override` for C++11 and higher FL_OVERRIDE is defined as `override` for VisualC 2015 and newer Don't interfere with Fl_Widget::override()
2022-02-13Fix documentation error in Fl_Tabs (#391)Kevin Routley
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2020-01-26Add Fl_Widget::shortcut_label(int) to control effect of '&' in some widget ↵ManoloFLTK
labels
2017-06-21Code formatting only. No significant changes.Albrecht Schlosser
In preparation of adding Fl_Scroll_Tabs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-05-22Make some methods of Fl_Tabs protected and/or virtual (STR #3211).Albrecht Schlosser
Patch proposed by Teklad (STR #3211, file #7): http://www.fltk.org/strfiles/3211/Fl_Tabs.H.patch with minor modifications and adjustments for FLTK 1.4.0. Method which() is now also virtual, as suggested by guyben in comment #24. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12243 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-03-06Fl_Tabs: improve tab label drawing (STR #3075, STR #3076).Albrecht Schlosser
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
2016-03-26Remove FLTK_ABI_VERSION from all but *tree*.* and documentation.Albrecht Schlosser
Everything related to Fl_Tree and its test and demo programs has been cleaned. Documentation needs updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11428 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-19Fixes STR #3169, comment #3.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10492 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-03-23Added docs to Fl_Tabs as per STR#1174, and some doc improvements.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10120 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-08-05Small edits to last commit for clarity.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9955 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-08-05Elaborate on Fl_Tab's transparent region (behind and to the right of tabs),Greg Ercolano
and some example code on how to keep tab heights constant. (Thanks to Ian MacArthur's post on fltk.general) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9954 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-08Solves STR #2939; adding when() support to Fl_Tabs.Greg Ercolano
Also added a general Fl_Tabs code example to the docs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9867 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-29Documenting the public methods Fl_Tabs::push()Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-26Added docs for undocumented public 'which()' method.Greg Ercolano
Added a \todo marker for undocumented public 'push()' method. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19Modifications to all LGPL headers for STR #2685.Greg Ercolano
(to clarify static exception LGPL by changing license references) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22Added Fl_Tabs::client_area() (STR #2480).Albrecht Schlosser
Fixed some typos in CHANGES. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08As per thread on fltk.development: "RFC: Docs - getting rid of .eps files"Greg Ercolano
Summary: Get rid of eps files, change all doxygen '\image latex' references to eps files to png/jpeg instead, convert doxygen images from gif -> png (to support html+latex). Actual operations: 1) svn remove *.eps 2) convert all gifs -> png 3) svn remove *.gif 4) svn add *.png 5) For jpeg/png images, change all \image latex foo.eps .. -> \image latex foo.[jpg,png] .. 6) For gif images, change all \image html foo.gif .. -> \image html foo.png and (harder to do): change \image latex foo.eps .. -> \image latex foo.png .. 7) Remove EPSFILES macro from documentation/Makefile and remove eps related dependencies that were added recently git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28Fixed Copyright to 2010.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01Changed the copyright to 2009 for header files. Still todo: src and test ↵Matthias Melcher
directory. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-13Fixed typos and doxygen documentation.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-15Doxygen pdf documentation: Changed pdf mime type to application/pdf. Removed ↵Fabien Costantini
all Widget class headers from file section as they already are in the class section, this saves many pages. Also disabled the referenced by/from systematic inserts for each functions as this is more a core developer documentation feature than a fltk user manual feature, also saves many pages. Didn't use the LATEX_COMPACT feature yet, not happy with its result, will comment it later. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6439 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-15Doxygen PDF Documentation: Added image latex tags, added missing eps ↵Fabien Costantini
corresponding images (most of them in B/W) for the widget classes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-17Doxygen documentation: replace all occurences in comments of " by a ↵Fabien Costantini
quote char. Temporarily set warn_if_undocumented to NO until we correct more severe messages. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-16Doxygen documentation : took the opportunity to update copyright info as we ↵Fabien Costantini
modified already in batch almost all sources, added also a fil doxygen command to class headers to harmonize with original matt Fl_Widget dox. format. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-15Doxygen documentation. Fixed some erroneous image html params.Fabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6259 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-14Doxygen Documentation WP4 Done. Has all documentation content but should be ↵Fabien Costantini
completed in increment 2. Registered for WP5. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17Undid the previous Fl_Tabs::value() const change because adding 'const' ↵Matthias Melcher
*does* changed the ABI. Sigh. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17Fl_Tabs::value() is now const as described in the documentation (STR #1379)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5319 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-30Fixed shortcut and default focus for message dialogs (STR #1298).Matthias Melcher
Default focus is now on the button that also reacts to the 'Enter' key. This should avoid confusion about Enter triggering the button1 or button 0. Also, I changed the shortcut call to the new convention which works on MSWindows. I don't have a Linux system right now for testing... . Fixed focus issues (STR #1286, STR #1289, STR #1296) fl_xfocus was not always updated, making widgets or even whole windows loose focus when any focus changes were not accompanied by a click into the same window. Also, Fl_Tabs would not redraw correctly if focus returned to the active tab. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5165 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16Update source file headers with STR web page.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-24Copyright updates.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11Copyright updates and prep for 1.1.5rc1.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-30Copyright update for 1.1.3 release (not quite yet, but soon...)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121