Commit Graph

3263 Commits

Author SHA1 Message Date
Albrecht Schlosser
5f75c5b754 STR 2027: Fixed documentation errors.
Also fixed typos in Fl.H.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6576 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-10 20:58:10 +00:00
Albrecht Schlosser
8a45f9063c Documented module "Safe widget deletion support functions"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6575 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-09 23:14:25 +00:00
Albrecht Schlosser
1849b8df5c Removed extraneous html tag.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6574 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-09 08:54:00 +00:00
Albrecht Schlosser
c23538ef54 Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6573 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-09 08:49:25 +00:00
Fabien Costantini
4d837faff1 Doxygen pdf manual:
+ 'Oxygenized' the frontpage by adding some more spaces between paragraphs
+ Added punctation and more cosmetics to make it look good.
+ Updated the fltk.pdf manual so that it reflects all recent fltk-book.tex changes.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 23:03:29 +00:00
Fabien Costantini
b141ac03a7 fltk-book.tex : Reduced ToC to depth 1 thus limiting the number of pages to 9.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6571 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 22:31:40 +00:00
Fabien Costantini
be06414346 Enhanced fltk-book.tex to feature automatic date update at each generation by adding a today keyword after doxygen version.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6570 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 22:24:32 +00:00
Fabien Costantini
df0d8a8102 Enhanced fltk-book.tex to feature automatic date update at each generation by adding a today keyword after doxygen version.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6569 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 22:21:37 +00:00
Fabien Costantini
ec5c06aeea Updated fltk-book.tex to match recent revision change and contributors update in html files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6568 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 22:03:01 +00:00
Fabien Costantini
805d9e82be new updated fltk.pdf version, which contains all recent typos and others Al modifications.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 19:47:14 +00:00
Fabien Costantini
47a9e9e22d Generated a new version of the fltk reference manual (fltk.pdf)
I had to revert the last r6557 change for now to make it work again, 
(on mac os x 10.5.5, doxygen 1.5.7, latest fltk 1.3)
which is strange as I would also have expected
it to work independtly from html ...



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 19:35:26 +00:00
Albrecht Schlosser
7f9ceedfeb Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 18:32:55 +00:00
Albrecht Schlosser
bdb7002d58 Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6564 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 18:02:50 +00:00
Albrecht Schlosser
eaf604b4ed Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 17:15:26 +00:00
Albrecht Schlosser
2bd4572918 Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 17:01:55 +00:00
Albrecht Schlosser
357ad96233 Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 16:16:11 +00:00
Albrecht Schlosser
b856328f1f Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 15:46:43 +00:00
Albrecht Schlosser
e9aa104676 Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6559 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 15:00:44 +00:00
Albrecht Schlosser
8a6a945505 Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6558 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 14:48:11 +00:00
Albrecht Schlosser
609f519533 Fixed documentation dependencies and changed Doxybook (for latex/pdf gen.)
to _not_ generate the html files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 13:35:10 +00:00
Albrecht Schlosser
a96dec61e1 Correct previous mod. of index.dox (function ref. was okay).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6556 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 13:01:51 +00:00
Albrecht Schlosser
c1a9019f1c Fixed some typos in src/fl_rect.cxx (doxygen comments).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 12:22:39 +00:00
Albrecht Schlosser
9d67f8a624 Fixed broken (html) links on documentation index page.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6554 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 11:45:25 +00:00
Albrecht Schlosser
fbe92ea113 Fixed a problem with TrackMouseEvent() (Windows only) that would
generate wrong FL_LEAVE events with subwindows. TrackMouseEvent
is now enabled by default (it was disabled for GNU compilers).
It can be disabled by defining NO_TRACK_MOUSE.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 10:53:07 +00:00
Albrecht Schlosser
fbea5019fb Replaced all occurrences of the deprecated fl_clip() function by
fl_push_clip().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 14:59:52 +00:00
Albrecht Schlosser
e907ce4a11 STR 2079, part 1: Improved test/subwindow.cxx
- removed confusing character output (define DEBUG_POS for testing)
- included FL/names.h instead of hand-made eventnames array
- added more input widgets for better dnd and focus testing


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 13:02:49 +00:00
Fabien Costantini
0906d230ed STR#2030 increment 3: moved not up-to-date ms vc 2003 project filesto ide/unsupported subdir, added a README.MS file explaining what to do if we find a developer to update them.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 11:32:32 +00:00
Fabien Costantini
2472d11234 STR#2030 increment 2: moved not up-to-date borland ide files to ide/unsupported, added a README.BC file explaining what to do if we find a brave developer to update them.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 11:19:08 +00:00
Fabien Costantini
242d8740db Reverted other STR fix as it is not fully working yet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 11:04:37 +00:00
Fabien Costantini
59b32aa684 STR#2030 first increment: Added an unsupported directory to ide dir.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 11:02:03 +00:00
Fabien Costantini
655f7c41a2 Added functionalities to the radio (Button) test program so that we can use it as a more complete test case:
+ Added shortcuts
  + Added Tooltips to help user understand what differs in each example
  + Added a button callback and a text output to visualize it in the demo
  + Added a Normal button with a changed state as we did not test that before
This is going to be immediately useful for STR#2026 review and fix.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-05 14:59:10 +00:00
Albrecht Schlosser
abfba16040 STR 2101: Temporary fix to prevent crash. Also corrected code indentation.
ToDo: The correct fix would need more code changes and is under investigation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6543 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-05 13:48:26 +00:00
Fabien Costantini
60335167b2 + Fixed non standard fltk utf8 files headers.
Kept original author and copyright.
  Added standard fltk LGPL header notice

+ Added missing comment to fl_width() related to latest utf8 STR#2086 related fix in r6539 and r6540.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-04 20:20:30 +00:00
Fabien Costantini
5182f58f01 STR#2086: one line was missing from latest fix, so hWnd was always null, sorry.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6541 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-04 17:45:50 +00:00
Fabien Costantini
899184656a STR#2086 related Fixes :
This one was really tough to track, understand:
In fact, 
the problem was comming from the misplacement of the menu window,
which itself came from invalid measurement,
which itself came from invalid fl_witdh() measurement,
but only when fl_gc is not valid because fl_width() relies on Win32 on the call
of GetTextExtentPoint32W which can't succeed if the HDC(here fl_gc) is not valid !

Now the fix:
A best-effort algorithm has been furthered to supply a valid fltk hdc if we can have one or a screen hdc if no fltk window is found by fl::first_window().

Note that when fl_gc is NULL inside fl_width() call, it can happen that Fl_Window::current() is not null but invalid (already deleted).
Finally, in the case of the buggy menu window observed here, this  fl_gc was set to NULL just after an Fl_Menu_Window deletion and re-creation in Fl_Menu_Item::pulldown().

Also added a comment to describe the new fl_width() behavior.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-04 17:33:30 +00:00
Fabien Costantini
73a2fa5b99 Doxygen documentation:
- Fixed recent documentation update problems in fl_draw.cxx : \ and @ char must be doubled otherwise interpreted as doxygen keywords
- Fixed some doxygenized parameters problems in Fl_Preferences.cxx
- Added the treeview mode, now featuring a vertical left tree browser in html doc
- Splitted html configuration file from pdf configuration file, now a new Doxybook config file permits to customize independtly both html and pdf modes without risking side effects and also without assuming an fltk user will have the Tex tools installed to generate the html doc. Now only pdf generation will need LaTex tools.
- Updated the doxygen based documentation to revison 9 and added new significant contributors to index.dox in alphabetical order.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-03 01:02:10 +00:00
Fabien Costantini
ceda51cc79 - Added a README.IDE file under the ide subdirectory describing what project dir to start from depending on the ide product.
Supported up-to-date ide environments should be placed under the ide directory,
other broken ide should be moved to an ide/unsupported subdir at least for now.

- Updated the README file consequently, also replaced the contributors list by a reference to the CREDITS file.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6538 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-02 23:52:57 +00:00
Fabien Costantini
9225a43f9f Corrected new documentation local (build) path so that index.html can be found in test programs when no env variable is set. Added svn:ignore filters to test and lib subdirs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-02 13:19:13 +00:00
Albrecht Schlosser
0f13d6eff2 Applying a correction requested by Ian:
"The problem is line 237, the "unsigned len" declaration is potentially
crossed by the preceeding goto (line 234) so some compilers don't like
that..."

Tested okay on cygwin with gcc 3.4.4.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6535 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-02 11:10:03 +00:00
Ian MacArthur
8d4bff7545 STR #2076 redux: Make the Win32 variant only load GetGlyphIndicesW at runtime, so that the fl_text_extents code will still work on WinNT and other early systems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6534 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-01 21:01:58 +00:00
Ian MacArthur
cfc5853ae7 STR #2076 - fix typos in fl_font_x.cxx. Basically I am an idiot and had checked in the wrong version. Sorry.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-30 18:46:50 +00:00
Ian MacArthur
17e38137d8 STR #2093 - fix typo (name case) FCNTL.H should be fcntl.h, affecting some mingw builds
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6532 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-29 17:06:31 +00:00
Albrecht Schlosser
1d571c3054 STR 2096: Fixed a regression introduced by making Fl_Widget::hide()
virtual (svn -r 6502, STR #396): Windows closed, if minimized.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-28 09:06:08 +00:00
Ian MacArthur
994c1d82a2 STR #2097 - attempt to workaround fl_round_box not honouring colors passwed to it from fl_rgb_color(...) calls.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-27 20:43:27 +00:00
Ian MacArthur
865f3d8e61 STR 2076: experimental fl_text_extents patch applied. Please feedback comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-19 20:34:27 +00:00
Albrecht Schlosser
9c7af9b2cf Added missing dependency (COMCTRL32.LIB) to documentation/src/basics.dox
(reported in fltk.general).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-16 19:44:58 +00:00
Ian MacArthur
b04d48d2fa STR 2089: Adjust configure.in so that thread support defaults to ON in win32 configure, as it does for other platforms.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-14 17:22:08 +00:00
Ian MacArthur
cbfba6feca STR 1948: fix glutIdleFunc so that it does not use the deprecated Fl::set_idle method, and does not interact harmfully with other Fl::add/remove_idle() functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-13 19:42:45 +00:00
Fabien Costantini
ba2ed82028 Removed configure.in comma at the end of -lz statement.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6524 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-12 23:48:01 +00:00
Fabien Costantini
61f3f77673 Removed configure.in comma at the end of -ljpeg statement causing pb under linux.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-12 23:43:48 +00:00