summaryrefslogtreecommitdiff
path: root/FL/Fl_Sys_Menu_Bar.H
AgeCommit message (Collapse)Author
3 dayswipmaxim nikonov
2025-07-08Replace 'FL_OVERRIDE' with 'override' in public headersAlbrecht Schlosser
... except FL/fl_attr.h where FL_OVERRIDE is #define'd
2024-05-15Change member function args to Fl_Menu_Bar::play_menu(const Fl_Menu_Item *)ManoloFLTK
2024-05-14 New member function Fl_Menu_Bar::play_menu(const char *title)ManoloFLTK
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()
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-02-28Fl_Sys_Menu_Bar: make it strict equivalent of Fl_Menu_Bar outside macOSManoloFLTK
2019-06-06Last commit typo: latex docs fixGreg Ercolano
2019-06-06Added example for mac Application -> PreferencesGreg Ercolano
2019-01-02Document global variable fl_sys_menu_bar - continued.Manolo Gouy
2018-12-31Document global variable fl_sys_menu_bar - continued.Manolo Gouy
2018-12-31Document global variable fl_sys_menu_bar.Manolo Gouy
2018-02-22Document that fl_mac_set_about() is deprecated, MacOS-specific and replaced ↵Manolo Gouy
by cross-platform Fl_Sys_Menu_Bar::about(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-17Slight documentation fix for class Fl_Sys_Menu_Bar.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-12-18STR#3437 : Support display of windows in tabbed form as in MacOS 10.12 SierraManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12596 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-12-05Some code simplification for class Fl_Sys_Menu_BarManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-12-02Converted class Fl_Sys_Menu_Bar to the driver model.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12575 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-06Introduce virtual void Fl_Menu_Bar::update() with a platform-specific ↵Manolo Gouy
reimplementation to support Fl_Sys_Menu_Bar. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-19Bringing over fix [r11786] from 1.3 current to the porting branch.Greg Ercolano
Some small Fl_Sys_Menu_Bar related doc mods as per STR#3317. WIP -- more to come; just checking in what I have for now.. 1) rank -> index 2) Added docs for index \return values for some methods 3) Some clarification in the internal docs about rank vs. index 4) Enabled Fl_Menu_Item's enum flags to be able to be links (added @file to Fl_Menu_Item.H) so references to e.g. "::FL_MENU_TOGGLE" will show up as links in doxygen docs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-17Make Fl_Sys_Menu_Bar::update() public and cross-platform.Manolo Gouy
It was before protected and Mac OS-specific. This allows to call it after direct modification of menu items. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11785 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-20Progress toward support of CMake OPTION_APPLE_SDLManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11673 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-25Remove a bunch of useless #include <FL/x.H> directives.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11422 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-13Details on PORTME items. Move fl_parse_color() to screen drivers.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-11Mark places that need to be refactored with // PORTME:Matthias Melcher
Searching for __APPLE, WIN32 or X11 did give me many false results. I instead marked most ifdef's that I would like to get rid of with the text // PORTME:, so they can be easily found by a global search. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-03Updated platform specific #if's to report unimplemented code when compiling ↵Matthias Melcher
with FL_PORTING defined and WIN32 and __APPLE__ undefined> git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-25Added void Fl_Sys_Menu_Bar::setonly(Fl_Menu_Item*) member function.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-11Completed the implementation of Fl_Sys_Menu_Bar that now accepts all calls ↵Manolo Gouy
of its parent class Fl_Menu_. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-11Added some missing Doxygen comments in the Fl_Sys_Menu_Bar class.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-10Improvement of the Fl_Sys_Menu_Bar class in relation to STR #3047:Manolo Gouy
- menu shortcuts, including function keys, are correctly handled - the mac system menus and FLTK menus share Fl_Menu_Item's, thus many member functions of the parent Fl_Menu_ class apply equally to an Fl_Sys_Menu_Bar. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10099 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-14Fix the issue reported in "Fl_Sys_Menu's add method throws errors" of ↵Manolo Gouy
fltk.general (http://www.fltk.org/newsgroups.php?s29083+gfltk.general+v29086) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10056 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-10-05Added member function Fl_Sys_Menu_Bar::update().Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-24STR 2705: moved all inline constructors (that I could find) from header ↵Matthias Melcher
files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-23Added docs to Fl_Sys_Menu_Bar to refer to fl_mac_set_about().Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-02-13Pass through menu() accessor.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9234 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-01-12Fixed the use of FL_SUBMENU_POINTER in Fl_Sys_Menu_Bar objects (cont'd).Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9223 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-11-28Fixed Copyright to 2010.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16Added Fl_Sys_Menu_Bar::insert(), clear(), clear_submenu()Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7518 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-29OS X: removed all Carbon and Quickdraw references. Starting with 1.3, we ↵Matthias Melcher
only support Cocoa and Quartz. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7351 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16Have class Fl_Sys_Menu_Bar and function fl_mac_set_about appear in Doxygen doc.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7276 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-21Yet another Cocoa patch.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-18Patched for Cocoa.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6971 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-13New patches appliet for Cocoa port. Fixed(?) STR 2232 workaround for X11 ↵Matthias Melcher
keyrepeat bbbbuuuuuuggggg. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6966 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-12Applied the 'recap.zip' files to the Cocoa patch. About diaog now correct. ↵Matthias Melcher
Much other stuff should work better now. Exciting! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6965 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-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
2005-08-29Slight changes to Fl_Sys_Menu_Bar making it more transparent for multi ↵Matthias Melcher
platform developers. Again, thanks Natevw for the patch. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4546 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