Commit Graph

811 Commits

Author SHA1 Message Date
Manolo Gouy
a0863e393a Document that fl_mac_set_about() is deprecated, MacOS-specific and replaced by cross-platform Fl_Sys_Menu_Bar::about().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-22 17:04:37 +00:00
Manolo Gouy
06b925964d Remove Fl::run_also_windowless() and FL::wait_also_windowless() from planned public FLTK 1.4 API.
These were introduced at r12647, that is, during development of the 1.4 API.
These functions provided windowless support only on the MacOS platform,
where this can be obtained without those functions.
Windowless support on other platforms would require changing the event 
loop. There's no evidence from STR's there's a demand for windowless mode
on other platforms.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-20 09:08:38 +00:00
Manolo Gouy
3ca12a3a02 Document platform-dependent types fl_intptr_t and fl_uintptr_t
Most other platform-dependent types of FL/platform_types.h are also documented.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-11 18:25:11 +00:00
Albrecht Schlosser
52ae3582a2 Replace "WIN32" with "_WIN32" or "Windows".
Replace compiler/preprocessor/platform macro "WIN32" with "_WIN32".
Replace "WIN32" in text and documentation with "Windows".
Replace "MSWindows" with "Windows".

To do: README.Windows.txt (and maybe other documentation as well)
needs updates.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-09 14:39:42 +00:00
Manolo Gouy
90630409cb Beef up documentation of how FLTK handles cmd-Q/Quit xxx events under MacOS.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-06 17:56:47 +00:00
Albrecht Schlosser
cc595ce4ed Replace FL/x.H with FL/platform.H - step 1.
This first step replaces FL/x.H with FL/platform.H but keeps a small
FL/x.H that #include's FL/platform.H for backwards compatibility.
Documentation sources in documentation/src/*.dox have been fixed,
but references in other source files need to be fixed in another step.
Dependencies have been adjusted.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-01-31 17:46:48 +00:00
Albrecht Schlosser
18d9891970 Add missing CMake variable FL_VERSION for doxygen docs generation.
Thanks to Jakub Tata-Tyczyński for finding this and reporting it in
fltk.coredev.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-01-16 23:45:45 +00:00
Albrecht Schlosser
6408823b3c Remove obsolete replacement of CMAKE_SOURCE_DIR.
The correct fix in the previous commit (svn r12636) would have been to
replace CMAKE_SOURCE_DIR with FLTK_SOURCE_DIR since CMAKE_SOURCE_DIR is
no longer used in doxygen docs generation. Sorry for the noise.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-01-16 23:37:14 +00:00
Ian MacArthur
98413277a8 Implement Jakub's patch for the missing FLTK_SOURCE_DIR in
the doxyfile generation of the html docs.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-01-16 22:17:58 +00:00
Albrecht Schlosser
7aef0cad39 CMake: enable building FLTK in a subdirectory of another project.
Basically replace CMAKE_XXX_DIR with CMAKE_CURRENT_XXX_DIR where
XXX = SOURCE or BINARY.

Patch proposal by cleanrock, FLTK PR #4:
https://github.com/fltk/test-only/pull/4

Patch modified to fix target dirs for test programs and doxygen docs.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-01-10 20:49:03 +00:00
Manolo Gouy
f609261697 Remove Fl_Sys_Menu_Bar.mm from list of input files
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-12-03 14:34:47 +00:00
Albrecht Schlosser
c348189008 Fix doxygen docs: missing excludes and CMake paths.
This commit fixes two issues:

Doxygen build with CMake needs paths relative to CMake source dir.

Missing excluded files taken from STR #3320, file #42 (by Manolo):
  http://www.fltk.org/strfiles/3320/scaling_rect_r12544.patch


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-11-05 19:56:41 +00:00
Manolo Gouy
84aba46e8a Refer to the preferred Fl_Surface_Device::push_current()/pop_current() functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12524 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-23 16:09:26 +00:00
Greg Ercolano
68f07db58a Added Fl_Simple_Terminal widget, and mods to test+example programs (STR #3411).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12506 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-17 00:28:56 +00:00
Greg Ercolano
a1ab2eb7b2 Demo image for Fl_Multi_Label docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12453 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-12 20:12:47 +00:00
Albrecht Schlosser
900314d4f4 Documentation and copyright updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12450 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-12 15:26:36 +00:00
Albrecht Schlosser
638fba6020 Documentation: remove unnecessary item from TODO list.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12389 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-08-18 15:00:06 +00:00
Albrecht Schlosser
8047691006 Update list of files excluded from documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12346 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-22 08:43:14 +00:00
Albrecht Schlosser
04339b8d05 Fix doxygen/latex warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-04-02 09:31:05 +00:00
Albrecht Schlosser
300e0b32a9 OpenGL documentation fixes (included header files).
Also reformatted very long lines, removed trailing spaces.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-03-17 16:05:26 +00:00
Manolo Gouy
9c6add4943 Fix typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-02-19 15:37:46 +00:00
Albrecht Schlosser
16774ddc4e Rename test/help demo program to test/help_dialog.
This change avoids a name conflict with CMake's auto-generated target 'help'
for "Unix Makefiles", "Ninja", and supposedly other generators as well.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-02-08 02:06:52 +00:00
Manolo Gouy
461750c38e X11 platform: Add optional use of the pango library to draw text, gaining the possibility to draw text in any script supported by Unicode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12153 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-12-21 15:05:02 +00:00
Albrecht Schlosser
ae419c9dd9 Documentation updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-16 21:04:24 +00:00
Manolo Gouy
8b04325226 Make clear that clipboard and drag-n-drop textual data are UTF-8 encoded.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-12 10:52:27 +00:00
Albrecht Schlosser
a633de6461 Doc changes: set fl_font before fl_measure() (STR #3243)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-24 08:55:02 +00:00
Greg Ercolano
7b30c4720e Bringing over fix [r11842] from 1.3 current to the porting branch.
Fixes to fl_choice() docs, added screenshots.




git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11843 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-22 10:30:34 +00:00
Greg Ercolano
d1dd240bd4 Bringing over fix [r11835] from 1.3 current to the porting branch.
Improved fluid-org.png diagram.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 18:06:27 +00:00
Greg Ercolano
ef110d5949 Bringing over fix [r11833] from 1.3 current to the porting branch.
Added updated settings dialog screenshots to the fluid docs.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 17:08:29 +00:00
Greg Ercolano
ebba50752d Bringing over fix [r11758] from 1.3 current to the porting branch.
(Enumerations.H had already been updated, but the enumerations.dox had not)

Added references to the virtual colorcube.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11828 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 01:03:33 +00:00
Greg Ercolano
4f9345b40a Bringing over this fix [r11798] from 1.3 current to the porting branch.
Small doc improvements/elaborations.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-19 23:27:34 +00:00
Manolo Gouy
0ff9df96d9 Change copyright year
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11792 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 07:22:08 +00:00
Albrecht Schlosser
d812a06b9a Generate Doxygen docs with the highest possible ABI version.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-25 16:08:04 +00:00
Manolo Gouy
9a5a5b8739 Doxygen: put all driver classes in EXCLUDE_SYMBOLS
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11724 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-08 17:17:31 +00:00
Manolo Gouy
ba60624ae9 Remove the src/drivers/ subtree from Doxygen indexing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-23 07:03:52 +00:00
Albrecht Schlosser
406fcaf305 Improve Unicode documentation, fix typos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-07 00:03:19 +00:00
Albrecht Schlosser
979740ce91 Enable definition of Unicode conv. options on compiler command line.
Three documented pre-processor variables can now be defined on the
compiler command line to avoid editing the FLTK src code. The default
values still apply unchanged.

Port of branch-1.3, svn r11404.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11406 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-23 14:02:25 +00:00
Albrecht Schlosser
00dd296ff2 Bump version numbers for next minor release: FLTK 1.4.0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11088 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-30 00:56:42 +00:00
Matthias Melcher
49cf30286b Updated screenshot of all available symbols
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11043 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-24 10:47:25 +00:00
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