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
Manolo Gouy
78213fc57e
Remove platform-dependent code from Fl_File_Icon2.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11576 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-10 18:45:59 +00:00
Manolo Gouy
99b3c6813a
Rewrite Fl_File_Input.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11575 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-10 18:36:47 +00:00
Manolo Gouy
c3f1877fd1
Remove platform-dependent code from Fl_PNG_Image.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11574 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-10 18:22:57 +00:00
Manolo Gouy
f9369a74ef
Remove platform-dependent code from Fl_Clock.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11573 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-10 18:02:26 +00:00
Manolo Gouy
7e20aa06f9
Fix error in WIN32 code when rewriting Fl_File_Browser.cxx for the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-10 17:56:53 +00:00
Manolo Gouy
faaa2b6d1e
Rewrite Fl_Preferences.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11571 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-10 08:15:51 +00:00
Manolo Gouy
927774af85
Rewrite Fl_File_Browser.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11570 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-10 06:33:19 +00:00
Albrecht Schlosser
9ca66c6f3d
Fix Doxygen warning ("nested comment").
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11569 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 18:29:40 +00:00
Albrecht Schlosser
13d2f30a85
Add platform-independent internal UTF-8 header file.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11568 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 17:55:12 +00:00
Manolo Gouy
6dff22f7ff
Add comment to make clear that fl_overlay.cxx is cross-platform at this point.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 17:11:34 +00:00
Manolo Gouy
65e19a1d2d
Rewrite fl_shortcut.cxx for the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 16:37:24 +00:00
Manolo Gouy
3bc5be71a3
Rewrite Fl_Tooltip.cxx for the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 15:37:40 +00:00
Manolo Gouy
fe624b83fc
Add missing #include directive
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11564 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 15:21:34 +00:00
Manolo Gouy
8b672ee655
Rewrite fl_open_uri.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 15:15:33 +00:00
Albrecht Schlosser
d98a8e13e6
Fix compiler warning when compiled with USING_XCODE [-fpermissive].
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 12:37:44 +00:00