summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-04-22Added some needed comments to Fl_Help_View::format()Greg Ercolano
to help this developer get his bearings.. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6776 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-22Applied patch from STR# 2144 to solve hotspot problem Greg Ercolano
with links inside <pre> text. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6775 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-21Fixed gray scale w/alpha image drawing for Mac OS with Quartz (FLTK 1.1Albrecht Schlosser
with Quickdraw worked) in src/Fl_Images.cxx. Changed test/unittest_images.cxx to use Fl_RGB_Image::draw() to draw images with alpha channel, because the current version of fl_draw_image() supports alpha channels only on Mac. Tested on Windows[1], Linux, and Mac. [1] Windows with GDI drawing doesn't work yet for gray+alpha (STR 2105). To do: Check, if fl_draw_image() should support alpha channel images on all platforms or not at all. The current documentation mentions only RGB and gray scale images. IMHO the behavior is undefined for values of abs(d) == 2 and abs(d) > 3. See also fl_draw_image_mono(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-19Removed extra \\c from the Doxygen documentation.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6771 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-18Updated doxygen docs for Fl_Input_ to get a greater insight into the code. ↵Matthias Melcher
I'll try to get full Unicode support in soon. The current code uses some interesting solutions ;-). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6770 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-18grouped similar functions and added summary information in unicode.doxengelsman
corrected mismatched parameter names and typos on fl_utf8.h and fl_utf8.cxx git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6769 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-17added doxygen one-liners for more UTF-8 routines in fl_utf*.[hc]*engelsman
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6768 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-16STR 2185: Uncommented "// XCloseIM(xim_im); FIXME", as discussed inAlbrecht Schlosser
STR 2185 and in fltk.development to prevent memory leak. The removed comment about a crash in XFree86: _XlcCreateDefaultCharSet() appears to be outdated (probably from 2005/2006). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-15More Fl_Input keyboard fixes / OS X transparency for RGBA data / some utf8 ↵Matthias Melcher
reorganisation git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-14Implemented the full OS X navigation support for Fl_Input minus scrolling. ↵Matthias Melcher
Improved navigation on other systems (word fwd, backwd). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6764 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-13Modified fix for STR #2150, as discussed, and added Fl::pushed(0) inAlbrecht Schlosser
innards() to prevent multiple popup dialogs from callbacks when dragging valuators (STR #2159). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6763 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-13Added an arrow-key function lookup table for MSWindows vs. OS X to ↵Matthias Melcher
Fl_Text_Editor, waiting for implementation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6762 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-13Boldly going where noone has gone before: I added utf8 in comments in the ↵Matthias Melcher
source code. Let's see how long that will survive ;-) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6760 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-13Little rearrangement for readibilityMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6758 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-12Avoiding crashes for recrsive common dialogs (this does not fix the issue at ↵Matthias Melcher
hand yet) (STR #1986, 2150) / Added menu shortcut alignment for OS X / Fixed bad system menu hadling in OS X (STR #2153) / Fixed File Input mouse pointer dragging (STR #2181) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6757 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-12Reorganized Unittest / fixed and improved OS X keybord support and ↵Matthias Melcher
alternative input methods / fixed OS X utf8 DnD git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-09converted html tags to doxygen commands in opengl.doxengelsman
also corrected function signatures in opengl.dox added doxygen comments to FL/gl.h, src/gl_start.cxx, src/gl_draw.cxx git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6749 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-07another update for image handling in Fl_Help_ViewAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6744 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-07Fix image handling in Fl_Help_View (STR #2163 and STR #2004).Albrecht Schlosser
src/Fl_Help_View.cxx: This fix is the first step and compatible with FLTK 1.1 (keeping the ABI). The next step should be to manage the loaded images in an own structure, because we must know exactly, when to release() the images. The previous version would release images too many times and could release shared images that had been loaded by another part of the program (maybe even another Fl_Help_View widget). FL/Fl_Help_View.H: Doxygen comments improved. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6743 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-03STR #2184: bug in Fl_Help_Viewer font stackAlbrecht Schlosser
src/Fl_Help_View.cxx: removed double pushfont() for color changes FL/Fl_Help_View.H: fixed Fl_Help_Font_Stack::pop() to set the correct font git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6741 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-02Fl_Help_View mods for scrollbar sizingGreg Ercolano
1) Introduced new scrollbar_size() methods with global fallback behavior 2) Added int scrollbar_size_ 3) Mods to code to make use of the above 4) Doxygen docs for the above git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6740 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-02Fl_Browser mods for scrollbar sizingGreg Ercolano
1) Moved Fl::scrollbar_size() implementation from Fl_Browser_ to Fl:: 2) Modified Fl_Browser as per fltk.dev discussions: * Deprecate Fl_Browser scrollbar_width() method * Introduce Fl_Browser scrollbar_size() method with global fallback behavior * Docs for above Todo: Make similar changes to other scrollbar oriented widgets git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6737 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-02 Brace and indent mods for readability..Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-01converted more html tags to doxygen commands in drawing.doxengelsman
most of the function names used as indented paragraph titles are now recognised properly and are shown as links. However, I was forced to "downgrade" many function() references in the text so that the unwary user isn't unexpectedly teleported off the tutorial pages. It reduces the link spaghetti a lot, tweaked Enumerations.H and fl_draw.cxx to get doxygen to recognise more function names used in drawing.dox. only fl_scroll(...) and the offscreen drawing functions still needed for drawing.dox git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6735 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-27Doxgen mods for Fl_Browser*:Greg Ercolano
o Added \see for all methods that seemed to need it o Fix to has_scroll() enum docs as per Albrecht's comments o Other small doc tweaks git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-25 o Major mods to Fl_Browser_.{cxx.H}'s doxygen docsGreg Ercolano
o Small mods to Fl_Browser.{cxx,H}'s doxygen docs o FL_SORT_ASC/DESC -> FL_SORT_ASCENDING/DESCENDING (includes necessary mod to test/browser.cxx demo) TODO: Fl_Browser needs new '\see Related methods: ' that was initiated in Fl_Browser_ git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6720 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-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