Commit Graph

8129 Commits

Author SHA1 Message Date
Manolo Gouy
a4194a40ab Have the Doxygen doc of fl_draw_pixmap() show the default value of the last argument.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13005 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-04 16:42:32 +00:00
Manolo Gouy
61e53a8cd4 Fix regression seen with test/input under X11: the cursor becomes a grey square instead of FL_CURSOR_NONE
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-03 18:54:08 +00:00
Manolo Gouy
643bb3bbbb Remove private member variable Fl_X11_Window_Driver::current_cursor_ that's no longer used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13003 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-03 18:20:37 +00:00
Albrecht Schlosser
c37ea8b6ca Fix line endings and other (svn) properties of fltk-config.in.
Remove executable property.
Set line ending to LF.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13001 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-03 09:18:07 +00:00
Manolo Gouy
7ea50c2018 Move Fl_Window::shape() from file Fl_Window_Driver.cxx to Fl_Window.cxx
Consequently, the Doxygen documentation of Fl_Window::shape() will reappear.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13000 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-02 20:42:28 +00:00
Albrecht Schlosser
82e26c661c Update GitLab CI configuration (comments only).
Document where the HTML documentation will be installed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12999 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-07-31 10:05:54 +00:00
Albrecht Schlosser
d26b29a8f1 Update gitlab CI configuration (comments only).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12998 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-07-31 08:52:23 +00:00
Albrecht Schlosser
cdb7a68b8f Add git attributes file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-07-28 09:16:12 +00:00
Albrecht Schlosser
29981da5ca Remove no longer needed file from .gitignore
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-07-28 09:11:28 +00:00
Albrecht Schlosser
bf19362179 Add missing Fl_Cairo_Window constructors (STR #3160).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-07-27 09:05:12 +00:00
Greg Ercolano
1f5588c3dd Added fallthru indication in Fl_Button::handle()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-07-20 05:21:14 +00:00
Manolo Gouy
99cf1dd858 Make Fl_Graphics_Driver::newMainGraphicsDriver() public rather than private.
An FLTK app may be interested in calling it.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-07-10 10:51:02 +00:00
Manolo Gouy
305e5dd21e Try dummy commit
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12990 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-07-02 15:21:57 +00:00
Albrecht Schlosser
0ecb83b298 Update bundled nanosvg lib to latest upstream version.
$ git log -2 master
commit 06c1f0f3bb041d69a73bb74067d063a700215b0e
Merge: 1f17a7e d6eabf2
Author: Mikko Mononen <memononen@gmail.com>
Date:   Sat Apr 14 06:50:42 2018 +0300

    Merge pull request #116 from porglezomp-misc/master
    
    Parse <svg> percentage width for automatic sizing

commit d6eabf29c9c10038924e823e693dddef281abee5
Author: Caleb Jones <code@calebjones.net>
Date:   Fri Apr 13 19:57:06 2018 -0400

    Parse <svg> percentage width for automatic sizing
    
    Instead of calculating percentage coordinates relative to 1px, we calculate them
    relative to 0px width, that way an explicit <svg width="100%"> will be converted
    to <svg width="0px"> and trigger the bounding-box sizing calculation.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-07-01 10:45:47 +00:00
Manolo Gouy
7483651aaa Avoid giving same name (s) to 2 variables.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12988 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-30 05:57:21 +00:00
Albrecht Schlosser
d490abdce3 Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-27 20:44:46 +00:00
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