Commit Graph

772 Commits

Author SHA1 Message Date
Manolo Gouy
22af09dae7 Mac OS: support for high resolution OpenGL windows.
Methods Fl::event_x_pixel() and Fl::event_y_pixel() committed at r.10941
are removed. Instead method Fl_Gl_Window::pixels_per_unit() is added.

The documentation explains in more detail how to write cross-platform
FLTK code supporting high resolution OpenGL windows on retina displays.

The examples/OpenGL3test.cxx app exercises Fl_Gl_Window::pixels_per_unit().

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10945 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-02 09:59:37 +00:00
Manolo Gouy
f915795453 Documentation: replace TRUE -> GL_TRUE to define glewExperimental
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10940 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-01 11:44:46 +00:00
Manolo Gouy
7e025aac22 Added support for OpenGL V3 and higher.
On the X11/MSWindows platforms, this requires external installation of the GLEW library.
This fixes STR#3198 and STR#3257.
Added two new examples programs.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10876 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-10-27 08:40:56 +00:00
Ian MacArthur
5fdf556251 Revised documentation for using FLTK with
multithreaded programs.

Per STR 3223



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10874 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-10-23 21:10:36 +00:00
Albrecht Schlosser
c788ca2285 Document FL_ABI_VERSION, reformat lists in enumerations.dox.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10814 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-24 18:43:20 +00:00
Albrecht Schlosser
59e9573b42 Fix documentation typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10810 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-22 22:37:07 +00:00
Albrecht Schlosser
33e589b22f Add documentation on how to generate the html and pdf docs with CMake.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10764 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-17 12:25:36 +00:00
Albrecht Schlosser
2098d8bfd8 Generate Doxyfile and Doxybook from common source file Doxyfile.in.
Now we have less files to edit, and Doxyfile.in is shared with the
CMake generation of Doxyfile and Doxybook.

Besides that two files with FLTK version numbers are now removed (less
work for future version updates).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10762 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-16 13:18:28 +00:00
Albrecht Schlosser
5573c35ff1 Fix spelling errors and improve documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15 20:24:41 +00:00
Albrecht Schlosser
1ae60108b7 Silence doxygen warnings - commented out obsolete statements.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10752 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15 11:31:08 +00:00
Albrecht Schlosser
5f3f1c8bc6 [CMake] Add doxygen documentation generation (STR #3195).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10720 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-25 21:42:51 +00:00
Albrecht Schlosser
b02747d157 Simplify documentation generation, remove obsolete file.
Doxybook and Doxyfile have been compared and differences have
been adjusted so there are only _relevant_ differences now.

The dependency on fltk-book.tex in html generation has been removed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10718 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-25 17:23:21 +00:00
Albrecht Schlosser
adb63efc6f Remove obsolete Doxygen settings SHOW_DIRECTORIES and HTML_ALIGN_MEMBERS.
Both variables are obsolete since Doxygen 1.8.1, and both variables
had been set to their default values. Hence older Doxygen versions
should produce correct results.

Tested and confirmed with Doxygen 1.7.3, released Feb 2011.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10717 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-25 16:57:06 +00:00
Albrecht Schlosser
0663c45e9c Documentation: move PDF creation from Makefile to new script 'make_pdf'.
The new script make_pdf can be used in the Makefile and in the CMake
PDF generation process. CMake update will follow in a later step.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10702 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-13 20:33:46 +00:00
Albrecht Schlosser
43b57ef526 Remove trailing spaces from Doxyfile and Doxybook.
Note: this is for better comparability - preparing new generator for CMake.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-13 20:16:24 +00:00
Manolo Gouy
6ea2b8baea More detailed documentation about drawing to other surfaces than the computer display.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-24 14:20:38 +00:00
Albrecht Schlosser
faad46f945 Add glutKeyboardUpFunc to list of not implemented glut functions (STR #2459).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10613 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-10 13:12:41 +00:00
Albrecht Schlosser
0f45a7adf5 [Version 1.3.4] Update version numbers - hopefully complete.
Note to devs: if I missed something, please mark follow-up commits with
[Version 1.3.4] so we can find the necessary commits for version updates.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-10 01:41:55 +00:00
Albrecht Schlosser
c96c4c35b0 Add 'fluid -u' command-line switch to upgrade fluid files in batch mode.
This option opens a fluid ('.fl') file and saves it overwriting the old
file with the current syntax and library version number.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-09 20:37:45 +00:00
Albrecht Schlosser
1cfefc2e1a Improve and fix image drawing docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10603 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-02 12:39:42 +00:00
Manolo Gouy
51edb7c9dd Back to previous statement that FLTK does not use RTTI.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10537 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-28 17:10:43 +00:00
Manolo Gouy
b8b89178da Clarified that RTTI is used on the Mac OS X platform to perform text dragging better.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10535 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-27 17:49:17 +00:00
Manolo Gouy
1a6790b219 Added documentation about the new support for high resolution OpenGL graphics
on Apple retina displays.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10503 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-20 16:52:48 +00:00
Manolo Gouy
84af5805df Removed statement that became incorrect with true Mac OS X subwindows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10479 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-09 11:15:12 +00:00
Ian MacArthur
596fd2784a Extend advanced.dox multithreading to add additional caveats
about the use of show() and hide() from child threads, based
on issues reported in fltk.general with tooltip windows
causing issues.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-01 10:42:41 +00:00
Greg Ercolano
a6369a4234 Small mod to fix problem with color chip image not showing up in doxygen docs.
Oddly, leading white space on the two \image commands caused them to appear
as literal text inside a code box, similar to as if they were embedded in a
\code - \endcode block -- not sure why.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10445 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-11-10 20:31:42 +00:00
Greg Ercolano
d892e05d8a Doc mods regarding the OS issue of Ctrl-Click simulation of Right-Click
on Mac OSX, as per recommendations from the forum posts on fltk.coredev
Subject: [RFC] Right click emulation for one button mouse on Mac
where both Manolo and Albrecht suggest documentation mods to reflect the issue.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10439 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-11-07 19:13:08 +00:00
Albrecht Schlosser
92ff2e30bc Update docs related to buttons and update Fl_Check_Button.png.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10386 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-19 20:17:17 +00:00
Albrecht Schlosser
25cf93b4cb Improve and reorganize Fl_Tile's documentation and test/tile demo.
Moved docs from header file and enhanced docs, particularly about the
resizable() widget and the resize behavior in general.

Changed the tile demo program to use a resizable() with 20 pixels
border distance, so that border dragging is limited as described in the
docs. Updated the image file to reflect the current test/tile.cxx demo.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10385 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-19 14:17:47 +00:00
Albrecht Schlosser
a1c0b1b08c Add html doc dependency on (unused) src/fltk-book.tex for doxygen.
This is not intended and could also be removed from Doxyfile, but
currently this is the best way - more changes to come...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10361 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 22:39:31 +00:00
Albrecht Schlosser
b60e474bc3 Another version number update.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 08:33:47 +00:00
Manolo Gouy
8994406424 Updated three more copyright years.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10355 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 06:32:43 +00:00
Albrecht Schlosser
aef482198e Bump version numbers to 1.3.3.
All fluid .fl files have been rewritten with fluid 1.3.3 and may differ
somehow, but there are no significant changes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10353 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 00:03:27 +00:00
Albrecht Schlosser
7aa27859a5 Improve documentation generation (pdf only).
Add file VERSION that includes the FLTK version number (only), generate
fltk.pdf with automatic copyright year and doxygen version.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10352 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-04 23:42:17 +00:00
Albrecht Schlosser
11306d9951 Remove obsolete htmldoc file fltk.book.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10337 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-25 22:46:39 +00:00
Albrecht Schlosser
66a162535f Fix documentation (more typos and formatting).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10332 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-22 18:26:29 +00:00
Albrecht Schlosser
5ceae63ed2 Rename doxygen image file hello.C.png to hello_cxx.png.
Doxygen 1.8.x wouldn't show the image hello.C.png in its pdf output.
Maybe a doxygen bug - or feature ?


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10316 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-16 11:21:37 +00:00
Albrecht Schlosser
2cba87376f Improve formatting, adjust indenting for proper doxygen output.
Doxygen has changed in version 1.8.x, such that some (or all?) formatting
commands in lines with more than 3 spaces at the beginning of the line
are ignored (displayed verbatim). 


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10315 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-16 11:18:16 +00:00
Albrecht Schlosser
8d2491544b More documentation fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10302 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-12 09:51:55 +00:00
Albrecht Schlosser
7e6af270d0 Fix documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-12 09:12:15 +00:00
Albrecht Schlosser
f459ecd82f Fix documentaion typos and small errors.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10296 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 23:51:20 +00:00
Albrecht Schlosser
267ba82aa5 Fix documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 23:42:18 +00:00
Albrecht Schlosser
23b6a36ff1 Remove doxygen note about changed interface in fltk 2.0
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10285 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 21:22:06 +00:00
Albrecht Schlosser
77d72b9ef8 Escape '%' in doxygen comment where needed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10284 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-06 20:57:30 +00:00
Albrecht Schlosser
4cc2959be5 Fix a typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10273 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 09:07:50 +00:00
Manolo Gouy
baebff2227 STR #3088: make Fl_Native_File_Chooser use the standard GTK file dialog when available.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10186 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-07 12:01:59 +00:00
Greg Ercolano
0c085703f6 Clarification for need to return 1 from FL_FOCUS et al
to receive keyboard events.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10182 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-04 23:21:10 +00:00
Manolo Gouy
1cd5e78946 Reflects changes in the list of test programs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-26 09:05:57 +00:00
Greg Ercolano
d828af06fe Adding editor screenshot with line# feature enabled.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10153 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 06:59:56 +00:00
Greg Ercolano
17b3cb59cd Removed stale easysw.com info (easysw.com is apparently now a spam site)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10147 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-12 17:42:41 +00:00