Commit Graph

8113 Commits

Author SHA1 Message Date
Albrecht Schlosser
76d5ed4f4b Update Makefile + ignored files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12986 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-27 20:44:21 +00:00
Manolo Gouy
8328349135 Set correct file properties.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12985 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-27 14:44:42 +00:00
Manolo Gouy
e0cfcc5dda Add proper FLTK header and footer to this new source file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-27 14:43:17 +00:00
Manolo Gouy
8473a71e48 Remove a few useless 'friend' statements.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12983 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-27 12:26:49 +00:00
Manolo Gouy
87d186d68c Remove useless 'friend' statements from declaration of class Fl_Image_Surface
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12982 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-27 12:00:40 +00:00
Manolo Gouy
73613f8c2f Use #include <FL/platform_types.h> to define type Fl_Offscreen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-27 11:09:13 +00:00
Manolo Gouy
51389ca460 Add examples/SVG_File_Surface.cxx and refer to it in the doc of class Fl_Surface_Device
This example code shows how to subclass Fl_Surface_Device and Fl_Graphics_Driver to
endow FLTK with a new kind of graphics output.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-27 09:27:04 +00:00
Manolo Gouy
f6a7602cfc Moving headers Fl_XXX_Driver.H from FL/ to src/ --- continued
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12979 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-26 14:38:25 +00:00
Manolo Gouy
0272bcf5a7 Move Fl_Gl_Window_Driver.H from FL/ to src/ --- continued
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-26 14:26:33 +00:00
Manolo Gouy
3199e3331b Move Fl_Gl_Window_Driver.H from FL/ to src/
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-26 14:23:51 +00:00
Manolo Gouy
7046e99f96 Move Fl_System_Driver.H from FL/ to src/
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12976 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-26 14:12:43 +00:00
Manolo Gouy
26cb08badb Move Fl_Screen_Driver.H from FL/ to src/
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-26 14:04:09 +00:00
Manolo Gouy
7ebe8e21b0 Move Fl_Window_Driver.H from FL/ to src/
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12974 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-26 13:43:18 +00:00
Albrecht Schlosser
17b6e87bb7 Fix dependencies.
This dependency issue affects only the autotools (configure/make) build
and shows that (IMHO) CMake is superior, at least for the way FLTK's
build is configured currently.

Todo: get rid of pre-configured makedepend files and hand-edited
dependencies in Makefile's. The latter is *really* important in our
new "driver model" build environment because there is not only one
possible dependency whatever build options we select...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12973 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-26 09:34:50 +00:00
Manolo Gouy
82c7a1baa7 Move Fl_Sys_Menu_Bar_Driver.H from FL/ to src/
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12972 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-26 07:38:54 +00:00
Manolo Gouy
ca4601031c Give private member variable _panel of class Fl_Quartz_Native_File_Chooser_Driver its true type, NSSavePanel*.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12971 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-25 10:22:17 +00:00
Matthias Melcher
b8e97d7c28 Doxygen only: fixed all block comments starting with an asterisk to space-only, fixed doxygen keywords prepended with @ to use a backward slash instead. No code was changed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12970 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-23 20:50:22 +00:00
Matthias Melcher
b1598dc703 Removed macro FL_PORTING, as it has been more confusing than helpful.
The original intention of FL_PORTING was to mark all places in the
source code where changes are required to port FLTK to a new platform.
Thanks to the driver system, this approach has become somewhat
misleading, so I removed all references.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12969 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-23 17:04:18 +00:00
Matthias Melcher
a9fd08ff5a Doxygen: created Group to document drivers, disabled by default
Uncomment `ENABLED_SECTIONS += DriverDev` in documentation/Doxyfile.in
to enable driver documentation.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12968 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-23 16:47:40 +00:00
Matthias Melcher
8c993648db Android: Android Developer Documentation would work but needs some changes in Doxyfile:
- if develoer doc is wantedn, add 'ENABLED_SECTIONS       = AndroidDev'
- currently, Doxyfile enables everything related to drivers, so remove
  'EXCLUDE  = /Users/matt/dev/fltk-1.4.svn/src/driversxx/'
  
With this, we get a sparsely filled module named 'Android Developer Documentation'
and a lot of other driver related classes, which could also be encapsulated
in doxygen '@if DriverDev'.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12967 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-23 10:46:28 +00:00
Matthias Melcher
8923162f13 Android: added a few more Doxygen comments
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12966 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-23 10:18:58 +00:00
Matthias Melcher
f827a9eaf3 Android: fixed fl_beep to plat different sound for differen beep types, testing Doxygen to generate driver developer documentation
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12965 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-23 10:06:04 +00:00
Albrecht Schlosser
1690585b49 Activate GitLab CI and GitLab Pages (HTML docs).
The GitLab CI control file enables continuous builds after every commit
and generates the (doxygen) HTML documentation.

The documentation is put online on GitLab pages at:

https://fltk.gitlab.io/fltk/


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12964 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-22 16:31:30 +00:00
Albrecht Schlosser
aafcaaef7d Remove unnecessary inclusion of config_lib.h
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12963 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-22 08:35:05 +00:00
Albrecht Schlosser
448e4a00c2 Update bundled libraries docs (typos, errors).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12962 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-22 08:20:54 +00:00
Matthias Melcher
7e8687f8c8 Android: listed all remianing issues with all test programs
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12961 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-21 22:24:40 +00:00
Matthias Melcher
7617a46b26 Android: roughly fixed Fl::grab() to make menus easier to navigate
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12960 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-21 18:14:13 +00:00
Matthias Melcher
448cf77855 Android: on-screen keyboard no longer pops up on text output widgets
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12959 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-21 17:24:21 +00:00
Matthias Melcher
333e718ae7 Android: Windows are now centered on screen if no position is defined, dialogs pop up in a more logical position.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12958 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-21 17:02:47 +00:00
Matthias Melcher
22c21fa840 Android: Lazy scroll is working. AT some point we should implement fast scrolling
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12957 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-21 13:31:38 +00:00
Matthias Melcher
230ac73ce1 Android: More tests, must implement scrolling next
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12956 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-21 12:45:24 +00:00
Matthias Melcher
4ba6b96471 Android: Teaching FLTK to beep. test/button works.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12955 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-21 12:36:02 +00:00
Matthias Melcher
a119928455 Android: Implemented window positioning and sizing
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12954 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-21 11:54:32 +00:00
Matthias Melcher
7911ae4279 Android: Updated to current Android Studio and NDK, fixed STL to use Google provided ANdroid STL.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12953 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-21 11:17:07 +00:00
Albrecht Schlosser
63a48a399a Remove obsolete #include statement (finally)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-20 16:50:46 +00:00
Albrecht Schlosser
ec0ac46aa8 Move platform specific shortcut code to platform drivers.
Tested on Windows and Linux (not tested on MacOS/Android).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12951 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-20 15:52:58 +00:00
Albrecht Schlosser
0a6ebfea9d Update README.md for Git mirrors.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12950 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-20 09:41:52 +00:00
Matthias Melcher
e1bf7b9202 Android: Clearing the desktop when a window is hidden.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12949 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-19 16:29:20 +00:00
Albrecht Schlosser
ba58edb33c Add missing winsock dll to variables.cmake (fixes fltk-config).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12948 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-19 10:33:41 +00:00
Albrecht Schlosser
e34c06ffc9 Windows: Disable dynamic linking/loading of winsock dll.
This *preliminary* commit disables dynamic linking/loading of winsock
(ws2_32.dll) and links it statically to fluid and all FLTK test
programs. This is done by conditional code (#if 0) that disables the
old code and #defines some macros. This *must* be removed and replaced
with the original socket interface once the code has proved to work as
expected.

Note: example programs in the examples/ folder are not yet modified.
Todo: check and fix examples/Makefile if necessary.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12947 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-19 09:30:37 +00:00
Ian MacArthur
9e212ec6f9 Recent (circa early 2018) versions of the Mingw32 headers have changed the file header layout, breaking the build of fltk-1.4 for some users.
These changes should give a working build once more - more complete rework is still needed to fully address the issues raised.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12946 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-18 22:49:04 +00:00
Manolo Gouy
5e45b7d4fe Better handling of very small input file when reading SVG image file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12945 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-18 12:48:34 +00:00
Albrecht Schlosser
35f5b97aa4 Add README.md for GitHub and GitLab git repositories.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12944 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-18 09:43:59 +00:00
Manolo Gouy
32b35e62d2 Turn static function Fl_Graphics_Driver * Fl_Graphics_Driver::newMainGraphicsDriver() private.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12943 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-15 07:42:17 +00:00
Manolo Gouy
34990a9d30 Avoid repetitive calls to Fl_Screen_Driver::screen_count()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12942 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-15 06:19:56 +00:00
Manolo Gouy
793a66ace5 Repair regression appeared after r.12939 for MSWindows before 8.1
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12941 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-14 09:26:42 +00:00
Manolo Gouy
39e2952e83 Complete construction of Fl_Image_Surface_Driver with Fl_Offscreen brought by the caller.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12940 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-08 12:17:00 +00:00
Manolo Gouy
bfac49015c Fix for STR#3475: X11 platform, re-use current screen scaling factor when processing a screen reconfiguration event.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12939 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-08 11:31:30 +00:00
Manolo Gouy
f3971319b9 MacOS: have Fl_OpenGL_Display_Device::capture_gl_rectangle() capture also the overlay of GL windows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12938 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-30 20:20:47 +00:00
Manolo Gouy
8ef4035b6d Replace Fl_Paged_Device::newPrinterDriver() by Fl_Printer::newPrinterDriver().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12937 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-25 06:54:03 +00:00