Manolo Gouy
9fea9f3417
Add to Doxygen comments how to proceed for a platform where no file chooser is useful.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 07:55:51 +00:00
Manolo Gouy
3caff18578
Remove the virtual destructor of class Fl_X that is no longer needed.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 07:25:58 +00:00
Albrecht Schlosser
95052a4662
Fix typos in comments.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 02:00:21 +00:00
Albrecht Schlosser
f3a0f4efc3
Fix C++ comments in C source files and headers.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 01:49:15 +00:00
Albrecht Schlosser
fea2d9496c
Revert accidentally reverted file by svn r 11607.
...
src/Fl_File_Chooser2.cxx contains now its contents of svn r 11606 plus
Manolo's change in svn r 11609.
Matt's intended modification (mkdir...) was dropped.
Matt, please take care of this if still needed (I guess it's obsolete).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 00:08:52 +00:00
Matthias Melcher
acba16a38f
Pico can draw lines rectf and arcs, so the top level driver does not have to
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 21:26:13 +00:00
Matthias Melcher
95bf8ef443
Fixed Pico again.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 19:10:02 +00:00
Manolo Gouy
2fcb4f4192
Move platform-dependent implementations of fl_open/close_display() to the Fl_Screen_Driver class
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 15:36:10 +00:00
Manolo Gouy
15715cd898
Move platform-dependent implementations of Fl::en/dis/able_im() to the Fl_Screen_Driver class
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 15:12:22 +00:00
Manolo Gouy
397a3b83bf
Move platform-dependent implementations of fl_clipboard_notify_changes() to the Fl_System_Driver class
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11617 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 15:01:27 +00:00
Manolo Gouy
b1f8f3e2aa
Move platform-dependent implementations of Fl::clipboard_contains() to the Fl_System_Driver class
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 14:49:46 +00:00
Manolo Gouy
d683841f9f
Move the platform-dependent implementations of Fl::paste() to the Fl_System_Driver class.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 14:32:13 +00:00
Manolo Gouy
7508a033c5
Continue moving to Fl_System_Driver the platform_dependent implementations of member functions of the Fl class.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 14:18:37 +00:00
Manolo Gouy
3f64e2b28d
Continue removing from class Fl_X what is not window-related.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11613 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 11:30:10 +00:00
Manolo Gouy
156d2e4053
Continue removing from class Fl_X what is not window-related.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 11:09:10 +00:00
Manolo Gouy
a1de05784b
Fix position in window of string "Line styles".
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 08:06:47 +00:00
Manolo Gouy
d289d6bec7
Remove erroneous statement from Doxygen doc.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11610 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 07:53:06 +00:00
Manolo Gouy
53d7191928
Remove S_IFMT from the public FLTK API
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 07:33:26 +00:00
Matthias Melcher
b9564c64cc
PicoSDL mostly running again
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-14 22:09:04 +00:00
Matthias Melcher
130a0ef8da
PicoSDL fixes - not working!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-14 21:29:02 +00:00
Manolo Gouy
03e87bb270
Complete rewriting of Fl_Tree_Prefs.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11606 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-14 20:58:20 +00:00
Manolo Gouy
0e0ad95b22
Begin to rewrite Fl_Tree_Prefs.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11605 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-14 20:44:23 +00:00
Manolo Gouy
a409f7c338
Fix Quartz-specific graphics problem apparent in tree demo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11604 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-14 20:41:16 +00:00
Manolo Gouy
8a0ee7c1db
Set correct preprocessor condition for when the content of file src/scandir_posix.c is necessary.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11603 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-14 06:06:59 +00:00
Manolo Gouy
7a580fd421
Remove FL_ABI_VERSION clauses from the Fl_Tree class source code
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11602 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-13 19:18:56 +00:00
Manolo Gouy
70f7738c92
Rewrite Fl_own_colormap.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11601 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-13 14:41:55 +00:00
Manolo Gouy
8653a5353e
Rewrite fl_encoding_mac_roman.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11600 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-13 14:19:13 +00:00
Manolo Gouy
b590bc49f9
Rewrite fl_encoding_latin1.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11599 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-13 14:05:34 +00:00
Albrecht Schlosser
a1ffa85a1e
Remove redundant if condition, fix indenting.
...
Note: if (i && i->x); should have been: if (i && i->xid); [1]
but this is redundant because we always have an xid when an Fl_X exists,
at least in X11 (see Fl_X::set_xid(..) in src/Fl_x.cxx).
This might change in the future.
[1] Clang warning: address of function 'i->x' will always evaluate to 'true'.
A similar warning was issued when using gcc 4.9.3 under Cygwin/X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11598 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-13 13:21:27 +00:00
Albrecht Schlosser
737ae06381
Fix platform specific compilation errors.
...
src/Fl_lock.cxx: remove static keyword (Cygwin).
FL/platform_types.h: __int64 is MS VC only, use int instead.
Todo: the latter fixes a compilation error on Windows 64-bit platforms
(MinGW and/or Cygwin). FL_SOCKET needs an update anyway (see comment).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11597 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-13 12:26:04 +00:00
Manolo Gouy
562d29bd7c
Remove platform-dependent code from Enumerations.H
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11596 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-13 10:48:14 +00:00
Manolo Gouy
d92a0c3961
Remove useless platform-dependent preprocessor directives.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11595 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-13 08:31:44 +00:00
Manolo Gouy
120e8dca56
Use FL_CFG_WIN_X11 when appropriate
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11594 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-13 06:29:37 +00:00
Manolo Gouy
e840f496a9
Fix typo in config_lib.h
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11593 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-13 06:23:02 +00:00
Manolo Gouy
0a51aa91bb
Remove useless platform-specific #include directives from Fl_Help_View.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11592 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-13 06:00:19 +00:00
Manolo Gouy
e74f213704
Finish rewrite of Fl_File_Chooser2.cxx for the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11591 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-12 21:32:55 +00:00
Albrecht Schlosser
7e04657ce7
Remove obsolete EMX (DOS, OS/2 extender) support.
...
This commit changes all files except src/Fl_File_Chooser2.cxx.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-12 17:53:18 +00:00
Manolo Gouy
f3e7251871
Remove compilation warnings
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11589 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-12 17:12:13 +00:00
Manolo Gouy
4ebdf97b70
Begin to rewrite Fl_File_Chooser2.cxx for the driver model.
...
The parts with case-insensitive filename comparisons for WIN32
and for WIN32 but not CYGWIN still have to be rewritten.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-12 17:06:20 +00:00
Manolo Gouy
fce1483eb8
Rewrite fl_draw_pixmap.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-12 13:47:38 +00:00
Manolo Gouy
3d4ce29bd9
Add and correct a few Doxygen comments.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11586 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-12 07:07:21 +00:00
Manolo Gouy
b9b313538c
Reorganize the implementations of the virtual member function Fl_System_Driver::getenv()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11585 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-12 06:45:35 +00:00
Manolo Gouy
5273076bb0
Add missing #include directive
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-11 19:19:02 +00:00
Manolo Gouy
64b3d26daa
Create Fl_X11_System_Driver.{cxx,.H} and share Fl_Posix_System_Driver.{cxx,.H} between Darwin and USE_X11 platforms.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11583 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-11 19:14:47 +00:00
Manolo Gouy
1411c11905
Improve use of struct stat for WIN32 platform.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-11 13:50:41 +00:00
Manolo Gouy
5b44fe3bff
Remove compilation errors in Fl_File_Icon.cxx with MSVC compiler with new method Fl_System_Driver::file_type().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-11 13:07:08 +00:00
Albrecht Schlosser
aafd8b6031
Fix VisualC++ build (Visual Studio 2015).
...
IDE generated with CMake, still many warnings, but compiles and runs.
Note: we *must* get rid of all VisualStudio-specific #define's like:
#define unlink _unlink
This one led to a compilation error (not a warning).
src/Fl_File_Icon.cxx: I had to add _MSC_VER (WIN32) distinction as in
previous code (FLTK 1.3). Obviously MinGW is more Unixy than MS VC++
since MinGW compiled and linked the code. Needs a better fix ...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-11 00:46:11 +00:00
Manolo Gouy
84122ac25a
Remove compilation warnings about functions defined but not used (WIN32 platform).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-10 20:48:48 +00:00
Manolo Gouy
6879d54fc4
Rewrite Fl_lock.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11578 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-10 20:38:04 +00:00
Manolo Gouy
95fa60b71d
Rewrite Fl_get_system_colors.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-10 19:37:18 +00:00