Albrecht Schlosser
00dd296ff2
Bump version numbers for next minor release: FLTK 1.4.0.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11088 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-30 00:56:42 +00:00
Albrecht Schlosser
39c943ac8f
Fix case of include file names.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11087 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-30 00:52:28 +00:00
Matthias Melcher
40e9ae6e61
Fixed a few warnings from a picky compiler setting.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-29 20:50:04 +00:00
Matthias Melcher
8717f1b252
A bit more OpenGL cleanup
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11085 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-29 15:59:11 +00:00
Matthias Melcher
f5a6b10f46
Updated OpenGL Display Device
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-29 15:56:29 +00:00
Matthias Melcher
222243bc86
Made OpenGL driver compile by itself instead of including files from another .cxx file.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11083 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-29 15:24:33 +00:00
Albrecht Schlosser
72dda7f35a
CMake] Work around CMake bug in CMake versions 3.4.x.
...
CMake versions 3.4.x crash when using fltk_wrap_ui, a built-in CMake
command. According to the CMake devs this will be fixed in CMake 3.5.
However, since fltk_wrap_ui is no longer necessary (it can replaced by
custom build commands) and some Linux distributions deploy CMake 3.4.x
we decided to use an own replacement function.
This makes sure that FLTK can be built with CMake 3.4.x, but FLTK users
may still have to rewrite their own CMake files to not use fltk_wrap_ui.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11082 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-29 13:40:08 +00:00
Albrecht Schlosser
6b8570c72c
Update Makefile to compile only needed Xlib driver files.
...
Commented out #include statements of Xlib driver files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11080 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-29 01:05:18 +00:00
Albrecht Schlosser
7728bf91e6
Prepare build configuration variables in Makefiles.
...
Introduce new Makefile variables BUILD_xxx in makeinclude file, generated
by configure. These variables may be used to select files to be compiled,
dependent on the build configuration.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11079 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-28 23:57:50 +00:00
Ian MacArthur
3b48b22a71
Fix (probably correct!) for compiling Fl_Window::capture_titlebar_and_borders() on WIN32 hosts.
...
This allows compilation to complete, and appears to work. Probably.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11078 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-28 17:38:11 +00:00
Manolo Gouy
d3675ae058
Removed compilation warning.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11077 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-28 17:37:59 +00:00
Ian MacArthur
5aefd057d1
Non-changing changes... Attempting to keep the porting branch somehwat in-sync with doc changes in main 1.3.x
...
None of these changes alter the actual code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11076 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-28 17:16:32 +00:00
Manolo Gouy
ed9ac2aba3
Removed extra }
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11075 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-28 11:54:08 +00:00
Manolo Gouy
1c3c544edf
Added Fl_Window::capture_titlebar_and_borders a new private member function
...
that triggers a warning when FL_PORTING is ON and with a default platform-neutral
implementation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11074 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-28 11:51:07 +00:00
Ian MacArthur
e2cc1a80f0
Some trivial adjustments to support building
...
under Win32/mingw with the configure/make
on Win7 with Msys.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11073 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-28 11:18:01 +00:00
Albrecht Schlosser
74aa645d8f
Fix silly copy-and-change error.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11072 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-28 00:48:42 +00:00
Albrecht Schlosser
6d72d430e4
(Try to) fix CMake for Apple, prepare for Windows drivers.
...
This update is tested on Linux only, but should hopefully work on
Mac OS X with CMake + make and/or CMake + Xcode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11071 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-28 00:31:59 +00:00
Albrecht Schlosser
bbbb477581
Prepare src/Makefile to compile Xlib driver files.
...
We need something simple to decide which files to include in the
compilation. Maybe configure should write some of the well-known
variables like USE_X11 and USE_XFT into the 'makeinclude' file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11070 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-28 00:21:34 +00:00
Albrecht Schlosser
9a376a61da
Fix duplicate of FLTK colormap: fl_cmap[] is now global.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11069 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-28 00:06:23 +00:00
Albrecht Schlosser
db9befe6cf
Fix Linux - remove duplicates introduced by merge conflicts.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11068 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-28 00:02:51 +00:00
Albrecht Schlosser
48db7a07ef
Modify Xlib driver code not to #include source files.
...
Adjusted CMake build, and with some additional temporary #ifdef's
the old Linux Makefile system works as well.
Defined FL_LIBRARY_CMAKE for now - will be removed later.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11067 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-27 23:57:53 +00:00
Matthias Melcher
411e73fe24
Messed up Makefiles in order to compile on OS X with carved out Graphics Driver
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11066 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-27 22:59:58 +00:00
Matthias Melcher
780f43a4f1
Removed all references to Quartz driver files from library headers in Xcode. Works in Xcode.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-27 22:35:58 +00:00
Manolo Gouy
6177c23d90
Further things related to the r11063 commit.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11064 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-27 18:24:25 +00:00
Manolo Gouy
8e3f66073f
1) Added a new way to detect whether the drawing operation is using the platform's native driver
...
and whether we are printing: virtual int Fl_Graphics_Driver::has_feature(driver_feature feature)
This is also because it is not convenient to derive a printer-specific driver with its own
implementation of virtual functions when this implementation differs only in one line of code.
2) Solved the problem of inclusion of non public header by the public header FL/Fl_Device.H:
bracket this with #if FL_LIBRARY / #endif so this non public header is included only when building
FLTK itself.
3) Removed several (but not all) of the FLTK_ABI_VERSION guards that are no longer
useful for code targeting FLTK 1.4.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-27 18:11:20 +00:00
Matthias Melcher
1c4661c481
Fixed a few comments
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-26 22:39:47 +00:00
Matthias Melcher
b1e15d245a
Further fudged up the Makefile dependencies.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11061 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-26 22:26:57 +00:00
Matthias Melcher
87e29cef82
Moving image drawing code into the driver system
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-26 22:20:15 +00:00
Matthias Melcher
034a4f3f2a
Made GDI compilation work again
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11059 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-26 21:31:59 +00:00
Matthias Melcher
6694780c2d
Moving GDI/WIN32 files to new directroy structure
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11058 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-26 21:10:49 +00:00
Matthias Melcher
ac275b89bc
Moved Quartz graphics driver to the new naming scheme
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11057 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-26 21:01:09 +00:00
Matthias Melcher
f1a2730855
Avoid warning
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11056 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-26 20:51:01 +00:00
Matthias Melcher
2b3567c83c
OpenGL new naming scheme.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11055 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-26 20:48:21 +00:00
Matthias Melcher
222538baad
Hacky version of font_x and font_xft, compiles on Fedora Linux
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11054 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-26 20:31:43 +00:00
Matthias Melcher
5892993cbc
Preliminary commit of porting Xlib drivers to the new naming scheme
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11053 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-26 20:17:47 +00:00
Matthias Melcher
12e85b882a
Fixed for Linux
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11049 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-24 21:06:21 +00:00
Matthias Melcher
6a12d16750
Extracting OpenGL text calls. This is a minimum implementation for testing. Don;t worry. I have a cunning plan for rendering perfect antialiased text into OpenGL contexts quickly on all platforms.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11048 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-24 20:58:12 +00:00
Matthias Melcher
60c114ba3b
And the usual extra work for MSWindows... .
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11047 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-24 16:40:33 +00:00
Matthias Melcher
21ae726ba4
Fixes for Unix/X11
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11046 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-24 16:34:59 +00:00
Matthias Melcher
60ec452d04
Reorganizing color drawing code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-24 16:22:50 +00:00
Matthias Melcher
49cf30286b
Updated screenshot of all available symbols
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11043 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-24 10:47:25 +00:00
Matthias Melcher
991abbb496
he dreaded '.H' file ending issue in case sensitive file systems...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-23 21:57:26 +00:00
Matthias Melcher
be66d89def
Added OpenGL support for dotted lines. Active widget now renders focus rectangle correctly.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-23 21:54:30 +00:00
Matthias Melcher
031bc363a0
More typos and oversights.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-23 21:09:00 +00:00
Matthias Melcher
a8cd1c9229
Fixing typos for Linux
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-23 21:06:45 +00:00
Matthias Melcher
474de78ac1
OpenGL arc and pie drawing (Mmmmh, pie!)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-23 21:02:49 +00:00
Matthias Melcher
de12eddb59
Added OpenGL implementation of fl_vertex calls. Compiling and linking, but functionality untested.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-23 20:22:50 +00:00
Matthias Melcher
1bb1e0f42e
Commiting GDI header file with vertex additions
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-23 00:49:22 +00:00
Matthias Melcher
237ae16136
Last set of Xlib fixes for vertex drawing.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-23 00:42:18 +00:00
Matthias Melcher
d1d136fa1b
Fixing vertex implementation
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-23 00:39:33 +00:00