summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-22fixed a typoAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6712 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-03-18xutf8 files code conformance:Greg Ercolano
o C files containing C++ "//" comments -> C style "/* */" comments o Converted unintended doxygen style comments to regular C comments o FLTK brace/indent coding standard conformance o Tested linux + sgi o Avoided mods to xutf8/lcUniConv [libiconv/FSF code] to avoid unwanted diffs with future updates of that lib as per Fabien's fltk.dev request 03/14/09. (Those files already compliant anyway) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6698 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-17Spell check was an after thought..Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6696 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-17Fl_Browser documenation improvements/additions.Greg Ercolano
- Standardized all methods + parameter names - Strengthened descriptions - added \code examples git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-15added doxygen comments for remaining functions in fl_draw.Hengelsman
Fl/fl_draw.H: \todo for fl_set_status(), fl_set_spot(), fl_reset_spot() src/fl_symbols.cxx: fl_add_symbol(), fl_draw_symbol() git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-15Fixed some comments and removed obsoleteAlbrecht Schlosser
#define getcwd _getcwd[2] because FLTK 1.3 now uses fl_getcwd(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-15added doxygen comments for more functions in fl_draw.Hengelsman
FL/fl_draw.H: see below src/fl_cursor.cxx: fl_cursor() src/fl_scroll_area.cxx: fl_scroll() src/fl_overlay.cxx: fl_overlay_clear(), fl_overlay_rect() documentation/src/drawing.dox: updated paragraph tag links git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-15added doxygen coments for more routines in fl_draw.Hengelsman
FL/fl_draw.H: fl_rectf(), fl_read_image() src/fl_draw_pixmap.cxx: fl_draw_pixmap(), fl_measure_pixmap() documentation/src/drawing.dox: corrected paragraph link tags git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-15Surrounded all #warning's with #if defined(__GNUC__)Greg Ercolano
to prevent compiling problems on non-gnu compilers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-14updated Fl_Slider and Fl_Scrollbar documentation (STR #2156 - part 2)engelsman
converted html tags to doxygen rationalised doxygen comments renamed Fl_Slider::scrollvalue() and Fl_Scrollbar::value() parameters git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6683 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-14Fl_Preferences.H now doesn't include windows.h any moreAlbrecht Schlosser
(Windows only, STR #2173). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-14deleted obsolete src/xutf8/makedepend.bak from repository.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6681 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-14Fixes for SGI builds (STR#2174)Greg Ercolano
1) C++ style comments in C files converted to /* */ 2) #warning's had to be #ifdef'ed out (#if !defined(sgi)..) With these mods, 1.3.x compiles on IRIX 6.5 with no failures. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-13More LGPL compliance for utf8 files.. some were hiding outside of xutf8 ↵Greg Ercolano
(STR#2085 cont'd) This will close STR#2085. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6679 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-13Removed unused member variable ext_managed from Fl_File_ChooserAlbrecht Schlosser
and fixed a comment. src/Fl_File_Chooser.fl: Removed unused member variable ext_managed M src/Fl_File_Chooser2.cxx: Fixed comment. M FL/Fl_File_Chooser.H: Removed unused member variable ext_managed (generated by fluid) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-13More LGPL headers and svn footers compliance (STR#2085 contd).Greg Ercolano
Think I got all of 'em this time. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6677 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-13LGPL headers and svn footers compliance (STR#2085)Greg Ercolano
todo: FLTK style indent + code compliance. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6675 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-11updated Fl_Scrollbar::value() description (STR #2156 - part 1)engelsman
further rework needed on Fl_Slider::scrollvalue() description git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6674 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-07Fl_x.cxx: replaced tabs and corrected indentation (STR #2129)engelsman
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-25 Fl_Window::draw() now doesn't reset its x/y-coordinates to 0 anymoreAlbrecht Schlosser
before drawing itself and its children. The problem was that subwindows "lost" their x/y-coordinates during draw(), and child widgets couldn't get their parent window's coordinates. Currently this is needed (maybe only) in fl_set_spot() for Windows, but it had been solved there with a Windows-specific coordinate transformation (MapWindowPoints). Todo: rewrite Fl_win32.cxx/fl_set_spot(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6669 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-21more indentation fixes in src/Fl_win32.cxxAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-21Fixed indentation and comments (src/Fl_Win32.cxx).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6667 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-18Modified all public widget draw methods to be protected.Albrecht Schlosser
ToDo: Documentation updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6664 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-15Copy into fl_text_extents() Fabien's defensive code for obtaining an fl_gc ↵Ian MacArthur
(in case we do not have a valid one) copied from the win32 implementation of fl_width. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6661 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-15Fixed typos in documentation.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-15renamed class Fl_Watch to Fl_Widget_Tracker, as discussed in fltk.development.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-14STR 2147: new configure option --enable-x11 for building on cygwin with X11Albrecht Schlosser
support. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6657 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-09Improved image layout in Fl_Group::resizable() docs.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6656 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-08Added Fl_Scroll::bbox() documentation (STR #1893)Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-08Removed an XForms compatibility "feature" that prevented the downAlbrecht Schlosser
array of Fl_Menu_Button from drawing (STR #2141). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6653 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-29STR#2127:Fabien Costantini
- Applied third version of greg patch adding new external link functionality. - Corrected it so that it can compile under linux (minor include problem) - Corrected old documentation link to new one (toc.hmmtl is now index.html) Tested succesfully on linux and mac os x 10.5 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-27STR#2133 fix: erroneously releasing flavorType would cause a crash when ↵Fabien Costantini
pasting twice in an Fl_Input object. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-23fixed a typoAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-21Fixed fl_color() setters would crash under X11 when called with no valid fl_gc.Fabien Costantini
The fix prefer not to set a default gc to avoid side unpredictable side effects (i.e: the color would not be set on the expected window) Maybe this could be later further improved by using fl_GetGC() with the current or the first fltk window so that a color would always be set. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-20Doxygen documentationFabien Costantini
+ Added a new Module section named : File names and URI utility funtions + updated the pdf file adequately git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-17Fixed Mac OS X text descent would not return correct height, now multi input ↵Fabien Costantini
lines space between lines matches exactly the spacing in fltk 1.1. No more pixels eaten during drawing. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-17STR#2121: fixed a potential memory leak on flavorType, made local stack ↵Fabien Costantini
variables declaration zero initialized when necessary, those not zero initialized are now declared when used. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-16STR#2121: added a break in the flavortypes main loop just in case one day we ↵Fabien Costantini
have more than one to choose from so that the order of the one choosed is guaranteed, also fixed potential memory leaks by releasing flavorTypeArray when exiting the main loop prematurely. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-14STR#890 non-lazy fix: as suggested, replaced the one level color attribute ↵Fabien Costantini
saving by a better font style stack including the color in its font style elements. Took this opportunity to remove the separated font stack (font and size) tables by an opaque and dedicated font stack object implementation. This permits i.e to change easily the stack size or even impl. (like a linked list impl.) without impacting the widget code. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-14STR#2121 improvements:Fabien Costantini
- Added the manolo improved paste version which I in turn improved with the following: + transformafed the number of flavor iteration to a generic number (we can add new flavors without changing the autocalculated dim) + replaced local stored stack encoding data tables by constant declarations + added error checking to the Fl::paste() code. - Added error checking to Fl::copy(), corrected the memory leak. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6632 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12STR#890 fix attempt: correct imbricated font color handling.Fabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12STR#2121: Added old fltk 1.1.x scrap buffer paste detection to Fl::paste().Fabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6627 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12STR#2121 fix: Fixed paste from utf16 content would not work in fltk input ↵Fabien Costantini
widgets, thanks manolo for the code fragment. Code inserted into Fl_mac.cxx, tested, regression tested with utf greg japanese example from fltk to fltk, now all test cases work fine in mac os x (10.5.5). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12STR #2104 fix: applied patch from sadysta, modified it to harmonize with ↵Fabien Costantini
existing win32 code like global alloc code, wchar_t type use. Added a wchar.h include for gcc win32 targets, compiled and tested under vc2005, gcc mingw, gcc cygwin. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-08Widgets now remove themselves from their parent group (if any), when destroyedAlbrecht Schlosser
(STR #1894). Fl_Group::clear() removes widget by widget (one at a time) to allow widgets to remove other related widgets from the same group, when they are deleted. Also fixed a bug in Fl_Value_Input (added a destructor), because it used a non-Fl_Group widget as parent of another widget. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-04+ Fixed font set to const string was potentially free in Fabien Costantini
Fl_x.cxx:fl_set_spot() + Fixed fl_ask.h erroneous include replaced by fl_ask.H include in colbrowser.cxx git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121