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
Manolo Gouy
bbd5514691
Rewrite static function Fl_Image_Surface::rescale(Fl_Image_Surface*&) as member function Fl_Image_Surface::rescale().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-25 04:36:49 +00:00
Greg Ercolano
b721f519ac
Added separate diagram for fl_arc(x,y,r,a1,a2) (very different from fl_arc(x,y,w,h,a1,a2))
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12935 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-24 19:48:41 +00:00
Greg Ercolano
2694217d76
Extra refs for fl_pie/fl_arc diagrams..
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-24 18:02:55 +00:00
Greg Ercolano
a4ff075c29
Added a diagram to clarify how fl_pie() and fl_arc() works.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12933 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-24 17:30:49 +00:00
Manolo Gouy
b558eaac17
Document the constructor and destructor of class Fl_Copy_Surface.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12932 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-24 13:08:55 +00:00
Manolo Gouy
8a4f6905a5
Slightly improve the doc of Fl::reset_marked_text().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12931 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-24 11:21:27 +00:00
Manolo Gouy
c886fe9c33
Add documentation for Fl::reset_marked_text() and Fl::insertion_point_location().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12930 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-24 10:58:47 +00:00
Manolo Gouy
af3625eb20
MacOS: use direct access to member variable in member function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-23 16:43:43 +00:00
Manolo Gouy
f90450ad05
Make static member function Fl_Window_Driver* Fl_Window_Driver::driver(const Fl_Window *) inline.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12928 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-23 16:42:43 +00:00
Manolo Gouy
2576f57384
MacOS: account for GUI rescaling in support of text input methods.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12927 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-23 16:19:37 +00:00
Manolo Gouy
ce71c4b679
Add Fl::screen_scale(int) function to get the scaling factor value of a screen.
...
This allows to keep class Fl_Screen_Driver away from the public API.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12926 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-22 17:00:27 +00:00
Albrecht Schlosser
4c65d976e4
Fl_Tabs: fix allocation of tab_width[] (STR #3472 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12925 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-22 09:34:13 +00:00
Manolo Gouy
396e4f41cf
Check also proper RGB image deletion after use.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12924 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-22 08:39:39 +00:00
Manolo Gouy
7ab8906ef0
Improve Fl_Screen_Driver::traverse_to_gl_subwindows() so it can be called for a window that is not current.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12923 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-17 14:27:41 +00:00
Manolo Gouy
509c5be0d5
Remove useless #include directives.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12922 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-14 14:58:21 +00:00
Manolo Gouy
680cb7dba9
Comments only: update the header part of the file
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12921 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-14 14:52:23 +00:00
Manolo Gouy
a4927c1d13
Fl_Scalable_Graphics_Driver::rect(): don't draw a rectangle if w or h is negative
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12920 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-13 07:42:44 +00:00
Manolo Gouy
10640df785
MacOS: move some code from file Fl_cocoa.mm to file Fl_Darwin_System_Driver.cxx - continued
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12919 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-12 17:03:26 +00:00
Manolo Gouy
aba87e8bb0
MacOS: move some code from file Fl_cocoa.mm to file Fl_Darwin_System_Driver.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12918 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-12 17:01:33 +00:00
Manolo Gouy
4c45bec127
MacOS: move some code from file Fl_cocoa.mm to file Fl_Cocoa_Window_Driver.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12917 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-12 16:59:03 +00:00
Manolo Gouy
6fd216d759
MacOS: move timer-related code from file Fl_cocoa.mm to file Fl_Cocoa_Screen_Driver.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12916 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-12 16:44:31 +00:00
Manolo Gouy
8b7f7c78b2
Remove public member function Fl_Window_Driver *Fl_Window::driver() so class Fl_Window_Driver is not in FLTK public API.
...
This function is replaced by static Fl_Window_Driver* Fl_Window_Driver::(const Fl_Window *win).
The purpose is to have class Fl_Window_Driver outside from FLTK ABI.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-12 09:36:36 +00:00
Manolo Gouy
5e785121e0
Mention new member functions Fl_Paged_Device::begin_job() and begin_page().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12914 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-11 06:37:50 +00:00
Manolo Gouy
1d8edbead1
Fix typo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-11 06:25:35 +00:00
Manolo Gouy
bf04697a05
Comments only: describe the Inheritance diagram for classes Fl_Surface_Device and Fl_Graphics_Driver
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12912 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-10 09:55:29 +00:00
Manolo Gouy
a0d7addea8
Fix fl_overlay_rect() for MacOS platform when GUI is scaled.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-09 15:22:26 +00:00