Commit Graph

6622 Commits

Author SHA1 Message Date
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
Matthias Melcher
28b94ce5e7 Hiding fl_vertex form public view
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11031 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-23 00:24:29 +00:00
Matthias Melcher
b44086efb7 Fixed unfinished edit of xlib.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-22 23:33:08 +00:00
Matthias Melcher
cdf6493d95 Removed superfuous IDE again.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-22 23:28:39 +00:00
Matthias Melcher
e5e956b86c Removing Xlib rect calls from public view.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11028 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-22 12:03:01 +00:00
Matthias Melcher
112609d361 Commiting a working VC2013 solution. Note to self: do not use a network drive to compile FLTK. VisualC can;t handle network drives unless they are mapped to a drive letter (did I tell you about the time when I used MS-DOS 2.1?)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-22 11:52:25 +00:00
Matthias Melcher
dae6f682e8 Created (but not yet adapted) VisualC 2013 Solution IDE file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-22 11:15:09 +00:00
Matthias Melcher
12d1a2632d Case sensiteve file names in Unix!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11025 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-22 10:52:58 +00:00
Matthias Melcher
5231785cdd Fixed two typos to make things run under MSWindows again.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11024 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-21 17:03:16 +00:00
Matthias Melcher
4d37623dbb Removed MSWindows GDI graphics driver from public view.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-21 16:47:42 +00:00
Matthias Melcher
42845966d1 Removed OpenGL graphics driver from public view. For the parts that are implemented, it will 'just work' by allowing fl_* rendering into OpenGL contexts (such as widgets, etc.)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11022 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-21 16:38:14 +00:00
Matthias Melcher
5ff6efd529 Removed OpenGL graphics driver from public view. For the parts that are implemented, it will 'just work' by allowing fl_* rendering into OpenGL contexts (such as widgets, etc.)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11021 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-21 16:37:42 +00:00
Matthias Melcher
84e9be966d Remove Quartz graphics driver from public view.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11020 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-21 16:14:01 +00:00
Matthias Melcher
3b3ed8d79c Moving already cleaned up methods within class to make it easier to see methods that were not cleaned yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11019 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-21 15:49:03 +00:00
Matthias Melcher
9550d745cd Avoid clipping stack overruns in OpenGL graphics driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-20 22:24:08 +00:00
Matthias Melcher
7d0cf9299a Wrapping up fl_rect.cxx implementation. Introducing 3 moer virtual functions to Fl_Graphics_Device - will that break binary compatibility?
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-20 21:40:12 +00:00
Matthias Melcher
d34974ace7 Reorganized all integer line and polygon drawing functions
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11016 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-20 15:21:11 +00:00
Matthias Melcher
d3bd470734 Re-ordering a few more functions. It's nice to see how clear functions like rectf() become without the #ifdef mess.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-20 00:39:46 +00:00
Matthias Melcher
bd78fa1c48 Starting to cut out individual graphics function, so that multiple drivers can coexist (cfg_gfx). Found the missing pixels in the OpenGL gfx driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11012 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-20 00:11:43 +00:00
Matthias Melcher
9872f74053 Fixed typos for Linux compilation. OpenGL driver compiles and somewhat works, except for text rendering (as expected).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-19 00:46:54 +00:00
Matthias Melcher
b86f2f735a Replaced static initializer with Fl_OpenGL_Display_Device.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11008 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-18 22:55:46 +00:00
Matthias Melcher
884928f68c Fixed stupid typo in variable name
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-18 21:23:54 +00:00
Matthias Melcher
eb8207ff1b Trying to create a more detaild way to configure the library, added runtime information, added an OpenGL graphics driver that renders a button on top of an OpenGL window (see test/cube).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11006 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-17 00:44:07 +00:00
Manolo Gouy
3235168654 Better use of FL_PORTING preprocessor variable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-11 09:42:50 +00:00
Manolo Gouy
c8ca93de71 Transferred required Doxygen description of a method.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11003 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-10 19:29:54 +00:00
Manolo Gouy
eeb65bef23 1) Replicate in branch-1.3-porting all recent changes of branch-1.3
2) Advance branch-1.3-porting with new function Fl_X::capture_titlebar_and_borders()
that contains all the platform-specific code of all operations related to drawing
window borders and title bars. What is platform-specific and what is not
is therefore much clearer, to ease porting.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11002 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-10 19:08:16 +00:00
Manolo Gouy
acc5080653 Replicate in branch-1.3-porting a recent change of branch-1.3
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11001 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-10 19:00:39 +00:00
Matthias Melcher
19c8c9b918 Compiling in OS X from the command line goes pretty far for __APPLE__ undefined and FL_PORTING defined.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-04 23:31:55 +00:00
Matthias Melcher
64aa17ca09 Two more fixes for the command line version
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-04 23:12:36 +00:00
Matthias Melcher
b1520373ae Created pseudo code for all FL_PORTED section so that FLTK compiles and links (Xcode, hello, other C flags: -D FL_PORTING -U __APPLE__ -U __APPLE_QUARTZ__)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-04 23:09:32 +00:00
Matthias Melcher
eb1abad3ca Adding some basic Android native setup
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-04 19:06:39 +00:00