Article #1400: FLTK 1.3.x Weekly Snapshot, r10505

  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Articles | Show Comments | Submit Comment ]

Article #1400: FLTK 1.3.x Weekly Snapshot, r10505

Created at 03:01 Dec 26, 2014 by mike

A new weekly snapshot of FLTK 1.3.x (r10505) is now available on the download page:

    http://www.fltk.org/software.php?VERSION=fltk-1.3.x-r10505

Commit Log:

------------------------------------------------------------------------
r10505 | ianmacarthur | 2014-12-21 13:03:03 -0500 (Sun, 21 Dec 2014) | 4
lines

Fix typo in Fl_cocoa.mm if the ABI was set to 10304 or greater.
Seems ot be compiling OK again now.


------------------------------------------------------------------------
r10504 | manolo | 2014-12-21 05:11:18 -0500 (Sun, 21 Dec 2014) | 2 lines

Remove the link error sometimes caused by class Fl_XFont_On_Demand not
exported from libfltk.so but called 
by function gl_font() of file src/gl_draw.cxx (X11-specific).
------------------------------------------------------------------------
r10503 | manolo | 2014-12-20 11:52:48 -0500 (Sat, 20 Dec 2014) | 3 lines

Added documentation about the new support for high resolution OpenGL
graphics
on Apple retina displays.

------------------------------------------------------------------------
r10502 | manolo | 2014-12-20 10:04:40 -0500 (Sat, 20 Dec 2014) | 3 lines

Removed the Xcode3 directory altogether because Xcode3 is very old
and because Xcode3 opens very well the Xcode4 ide anyway.

------------------------------------------------------------------------
r10501 | manolo | 2014-12-20 10:00:27 -0500 (Sat, 20 Dec 2014) | 3 lines

Removed compilation warning when compiling fluid/file.cxx on apple.
Also, added explanatory comment of the purpose of a GNUC-specific
attribute in FL/fl_ask.H
------------------------------------------------------------------------
r10500 | manolo | 2014-12-20 09:41:02 -0500 (Sat, 20 Dec 2014) | 1 line

Function imgProviderReleaseData() is made apple-specific.
------------------------------------------------------------------------
r10499 | manolo | 2014-12-20 03:09:03 -0500 (Sat, 20 Dec 2014) | 1 line

Removed use of AGL framework
------------------------------------------------------------------------
r10498 | manolo | 2014-12-20 02:19:23 -0500 (Sat, 20 Dec 2014) | 17 lines

Changed OpenGL support for the Mac OS X platform: use cocoa instead of
deprecated AGL.
All changes are mac-specific, except a very minor change in file
src/gl_draw.cxx
where string drawing wrongly claimed to support @symbol, not possible
because symbols are drawn using non-GL primitives.

Unchanged application code can use the new FLTK code.
In addition, the new code allows mac applications to draw OpenGL scenes
at high resolution on so-called 'retina' displays, but this requires some
support from app code. They must call, before opening GL windows,
Fl::use_high_resolution(1);
and change their glViewport() calls as follows
glViewport(0, 0, pxel_w(), pixel_h());
This uses 2 new member functions of the Fl_Gl_Window class,
pixel_w() and pixel_h() returning the window dimensions in pixel
units, that is, twice the w() and h() when the window is mapped
on a retina display.

------------------------------------------------------------------------
Download | Home Page | Listing ]

Comments

Submit Comment ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2015 by Bill Spitzak and others. This project is hosted by Seriss Corporation. Please report site problems to 'erco@seriss.com'.