summaryrefslogtreecommitdiff
path: root/FL/Fl_Widget.H
AgeCommit message (Collapse)Author
2012-03-23Fix STR#2641: true fullscreen windows that cover all their screen including ↵Manolo Gouy
menu bar, task bar, dock. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-04Remove Doxygen warnings introduced at r.9116Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9126 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-02STR 2714: remove lint (variables that have the same name as a function in ↵Matthias Melcher
the same scope). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9116 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
2011-04-24Documentation updates, also fixing STR #2574, trying to make clearAlbrecht Schlosser
which events invisible and inactive widgets can get. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20Reverted changes done in svn r 7788 for STR #2420 ("Tab-Navigation focusesAlbrecht Schlosser
non-active_r() widgets"). This must be investigated further, and if necessary, solved differently. STR #2420 will be reopened... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-26Fixed two doc typos.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01Documentation updates (FL/Fl_Widget.H): removed some \todo's.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28fix MSVC includesyuri
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08Fixed Compiling with mingw-w64 (STR #2308).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-02STR#2466: Added copy_tooltip().Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7940 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-11-11Fixed menu and shortcut handling (STR #2243). This partly reverts theAlbrecht Schlosser
fix for STR #2199 - for details see STR #2243. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7816 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-31Fixed tab key navigation to inactive widgets (STR #2420), fixed a few ↵Matthias Melcher
pedantic warnings git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30STR 2406: Fl_Widget::measure_label made constMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7776 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-01Added missing * in Doxygen doc beginningManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7661 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-07Added new flags for label alignment: FL_LEFT_TOP, FL_RIGHT_TOP, ↵Matthias Melcher
FL_LEFT_BOTTOM, and FL_RIGHT_BOTTOM align outside labels first to the side, then to the top or botton, filling a gap in possible alignment. Also FL_ALIGN_TEXT_NEXT_TO_IMAGE and FL_ALIGN_IMAGE_NEXT_TO_TEXT which do just that, and finally FL_ALIGN_IMAGE_BACKDROP which renders the image in the background and draws the label on top. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7469 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16Using Fl_Plugin feature to automatically draw OpenGL (sub)windows. No extra ↵Matthias Melcher
coding needs to be done. Just call Fl_Printer::print_widget(...). The Fl_Gl_Printer device can (and should) be removed or at least made inaccessible. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7280 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-13Added new virtual methods, as discussed in fltk.development:Albrecht Schlosser
virtual Fl_Group* Fl_Widget::as_group() const virtual Fl_Window* Fl_Widget::as_window() const Todo: documentation is not yet complete. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7074 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-16Extended Fl_Widget::align_ flag from 8 bits to full (unsigned) size forAlbrecht Schlosser
later extensions (currently all 8 bits are used). Moved the align_ flag to the internal Fl_Label struct (where it should be). There are no API changes, though. I also reordered a few other variables for better alignment, so that there is no size change of Fl_Widget on 32-bit platforms (currently 84 bytes on Windows/32-bit and probably all 32-bit platforms). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-07Removed typedef that simply renamed char* to Fl_String, as discussed in the ↵Matthias Melcher
mailing list. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6955 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-10-02Very crude extension of Fluid 1 to read Fluid 2 files (and possibly write ↵Matthias Melcher
them back as Fluid 1 files, but not Fluid 2!). Also, I started a README that points out the differences between FLTK 1 and FLTK 2 and tries to give some help in designing a downward compatible FLTK 3. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6912 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-28Added missing NO_OVERLAY flag form Fl_Menu_WindowMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6908 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-28Changed the flags_ field into unsigned int, so we can safely use all 32 bitsMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6907 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-28Fixed missing values for Fl_Widget flags bitfield. Ooops!Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6906 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-27Consolidated all possible flag values into a single enum in Fl_Widget (STR ↵Matthias Melcher
#2161) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6905 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-27Starting to consolidate all bits used in Fl_Widget::flags_Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6904 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-27Fixed a few minor issues with Xcode builds. Fixed all color related call to ↵Matthias Melcher
Fl_Color type (STR #2208). Changed Fl_Color back to typedef unsigned. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6902 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-17International menu shortcuts working on Mac OS (and probably the other OS's)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6878 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-13Improved documentation of Fl_Widget::clear_damage(uchar).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6861 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-12Reworded description of calling the virtual draw() method for embeddedAlbrecht Schlosser
widgets in FL/Fl_Widget.H, as discussed in fltk.development, with an additional hint that draw() is virtual. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6753 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-09fix documentation of draw().Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6746 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-24Major documentation update including: now html doc API is sorted, navigation ↵Fabien Costantini
problems/side effects fixed, html tags replaced by proper doxygen commands, parameters command switched from a to p. Includes a pdf update. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6716 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-21converted html tags to doxygen commands in documentation/src/subclassing.doxengelsman
this also required tweaking parameter names and doxygen comments in Fl_Widget.H, Fl_Group.H, Fl_Widget.cxx and fl_boxtype.cxx git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6705 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-28Documentation updates for Fl_Widget.HAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6670 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-20Documentation updates for STR #2142 (protected draw methods).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-08Documentation updates, in parts concerning changes done for STR #1894.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-08Added the helper class Fl_Watch to simplify safe handling of widget deletionAlbrecht Schlosser
in callbacks. This is used e.g. in Fl_Widget::do_callback() to prevent accessing widgets after deletion in the callback. Documentation adjusted, Fl_Menu_Button.cxx changed to use Fl_Watch instead of Fl::watch_widget_pointer. Fl::watch_widget_pointer() and Fl::release_widget_pointer() have been modified to use an array without "holes" (NULL pointers) for storing the widget pointers for faster access: Fl::release_widget_pointer() now shifts pointers to close gaps of freed pointers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6651 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-13more doxygen updatesAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6583 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-11-06 Fixe #396 : non consistent hide and show behavior in Fl_Widget vs ↵Fabien Costantini
Fl_Window. As suggested by mike, now hide and show are virtual from Fl_Widget, as it breaks the abi, it has to be done before we release 1.3, last chance before 1.4 ... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6502 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-03Added systematically missing in out modifiers to all param doxygen ↵Fabien Costantini
statements. Added a TODO.osx file in the root describing what we have to do on the os x platform before we can pre-release 1.3 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-03Doxygen documentation : minor comment fixes.Fabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6365 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-18Doxygen documentation: Fixed most important warnings for the Fl_Widget, ↵Fabien Costantini
Fl_Window, Fl_Valuator classes that should be now a 100% documented. For the rest I drastically reduced the undocumented APIs, but many others (less important) remains. It looks and feels pretty good now :-) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-18Doxygen documentationFabien Costantini
+ Added new \relatesalso dox command to attach fl_file_chooser(), fl_color_chooser() to their respective related classes + corrected copyright date and added lgpl with exceptions in preface + restored undocumented warnings, changed QUIET mode to yes, this way we get all warnings/errors and not the long verbose list treated files. Seems to be a bit faster to run too. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-17Doxygen documentation: fixed all ambiguous methods signatures, fixed ↵Fabien Costantini
erroneous path test into ../test since the doxyfile move, fixed all intro dl,dt,dd related tags warnings in intro.dox . git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6289 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-17Doxygen documentation: Fl_Widget: correcting some typos, adding a short ↵Fabien Costantini
'good practice' paragraph in handle method to help the beginners learning curve, inspired by what i read in the general forum. Also starting an effort to normalize the comments a get/set method comment should always use get instead of return to avoid confusion with the return code. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6272 ea41ed52-d2ee-0310-a9c1-e6b18d33e121