FLTK logo

Article #1578: FLTK 1.4.x Weekly Snapshot, r12785

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Articles | Show Comments | Submit Comment ]

Article #1578: FLTK 1.4.x Weekly Snapshot, r12785

Created at 00:00 Mar 23, 2018 by mike

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

    http://www.fltk.org/software.php?VERSION=fltk-1.4.x-r12785

Commit Log:

------------------------------------------------------------------------
r12785 | matt | 2018-03-22 17:36:09 -0400 (Thu, 22 Mar 2018) | 1 line

Android: Posting pretty buggy pie method; must visit later!
------------------------------------------------------------------------
r12784 | manolo | 2018-03-22 12:38:38 -0400 (Thu, 22 Mar 2018) | 3 lines

Rename Fl_Image::pixel_w() and pixel_h() to Fl_Image::data_w() and
data_h().

The docs of class Fl_Image and of Fl_Image::scale() are beefed up.
------------------------------------------------------------------------
r12783 | matt | 2018-03-22 11:27:02 -0400 (Thu, 22 Mar 2018) | 2 lines

Android: Implemented vector drawing and polygons.
         Started to implement arc and pie drawing
------------------------------------------------------------------------
r12782 | greg.ercolano | 2018-03-21 10:57:15 -0400 (Wed, 21 Mar 2018) | 3
lines

Fixed title bar


------------------------------------------------------------------------
r12781 | manolo | 2018-03-21 02:36:58 -0400 (Wed, 21 Mar 2018) | 3 lines

X11: Remove tentative, uncompiled code to cache RGB images with Xrender
Picture instead of Pixmap

The speed benefit is not obvious.
------------------------------------------------------------------------
r12780 | manolo | 2018-03-20 13:23:08 -0400 (Tue, 20 Mar 2018) | 1 line

Extend the doc of Fl_Image::scale() member function.
------------------------------------------------------------------------
r12779 | AlbrechtS | 2018-03-20 12:30:58 -0400 (Tue, 20 Mar 2018) | 17
lines

Fix, optimize, and comment "gleam" scheme box drawing.

Some border lines were too short or too long, the shading code would draw
too many shaded lines, and the code was hard to understand.

With this commit all background pixels of the box are drawn exactly once.
The border lines are consistent, but some pixels of the border are not
drawn at all so the background shines through. This is intended for
backwards compatibility.

A minor change is that the drawn background does no longer overlap the
border lines. Hence undrawn pixels that previously displayed the colored
box background are now transparent and show the parent's background color.

This commit adds comments and implementation notes to make the code
easier to understand and better maintainable (hopefully).

------------------------------------------------------------------------
r12777 | manolo | 2018-03-20 08:57:51 -0400 (Tue, 20 Mar 2018) | 1 line

Remove compilation warning with gcc-6.3 and -Wreorder
------------------------------------------------------------------------
r12776 | manolo | 2018-03-19 13:43:18 -0400 (Mon, 19 Mar 2018) | 16 lines

New member function Fl_Image::scale(int width, int height) to set the FLTK
size of an image.

Each image has now two sizes implemented as follows:
   - the pixel size is stored in private members pixel_w_ and pixel_h_
    with public accessors pixel_w() and pixel_h()
   - the FLTK size is stored in private members w_ and h_ and read by w()
and h()
   - when the image is constructed, the two sizes have the same value
   - the protected w(int) and h(int) member functions set both FLTK and
pixel sizes.
   - the public scale(int, int) member function is essentially nothing but
   set the FLTK size and don't change the pixel size.
   - when the image is drawn, its FLTK size determines how big it is drawn,
its pixel
   size determines how much data are available to draw it.

FLTK 1.3.4 with FL_ABI_VERSION=10304 contained an equivalent member
function
but only for the Fl_Shared_Image class.

------------------------------------------------------------------------
r12775 | manolo | 2018-03-19 02:45:18 -0400 (Mon, 19 Mar 2018) | 1 line

Remove useless member function declaration.
------------------------------------------------------------------------
r12774 | matt | 2018-03-18 16:04:43 -0400 (Sun, 18 Mar 2018) | 4 lines

Android: Implemented font changing ( Fl::set_font(ix, name); )
         and other font stuff. Fixed horizontal and vertical line
         drawing to include last pixel. Added stippling to focus rect.
         Added point drawing (slooow).
------------------------------------------------------------------------
r12773 | AlbrechtS | 2018-03-18 11:25:08 -0400 (Sun, 18 Mar 2018) | 2 lines

Fix a doxygen warning, update copyright.

------------------------------------------------------------------------
r12772 | matt | 2018-03-18 10:58:25 -0400 (Sun, 18 Mar 2018) | 2 lines

Android: Fixed another bug when deleting complex clipping areas
         Better complex region cleanup - should be compete now...
------------------------------------------------------------------------
r12771 | matt | 2018-03-18 09:44:37 -0400 (Sun, 18 Mar 2018) | 4 lines

Android: Fixed bug when deleting complex clipping areas
         Tested FLTK schemes - nice!
         Fixed crashbug in timer
         Fixed crashbug in mouse handler
------------------------------------------------------------------------
r12770 | matt | 2018-03-17 17:54:09 -0400 (Sat, 17 Mar 2018) | 4 lines

Android: intersetcing a complex clipping region with a rectangle

However I did disable the complex region optimizer - too tired to get
the pointers right... .
------------------------------------------------------------------------
r12769 | matt | 2018-03-17 17:30:46 -0400 (Sat, 17 Mar 2018) | 3 lines

Android: added text clipping in all its uglyness.

Next: intersetcing a complex clipping region with a rectangle
------------------------------------------------------------------------
r12768 | matt | 2018-03-17 16:33:51 -0400 (Sat, 17 Mar 2018) | 3 lines

Android: added fontattributes, so formatting works well now.

Next: add clipping
------------------------------------------------------------------------
r12767 | matt | 2018-03-17 15:32:05 -0400 (Sat, 17 Mar 2018) | 5 lines

Android: added font access into Android package via Assets, added font
         fallbacks, added emergency font as an asset, added graceful
         behavior when absolutely no font could be loaded.

Next: add other font related calls, add clipping
------------------------------------------------------------------------
r12766 | matt | 2018-03-17 13:41:16 -0400 (Sat, 17 Mar 2018) | 4 lines

Android: added chaching

Next: add other font related calls, add clipping, 
      add font paths for package resources
------------------------------------------------------------------------
r12765 | matt | 2018-03-17 12:23:40 -0400 (Sat, 17 Mar 2018) | 4 lines

Android: yes, we can unicode; cleanup; documentd

Next: add caching, add other font related calls, add clipping, 
      add font paths for package resources
------------------------------------------------------------------------
r12764 | matt | 2018-03-17 09:15:39 -0400 (Sat, 17 Mar 2018) | 4 lines

Android: basic font management structure is complete.

Next: cleanup, document, add caching, add other font related calls, 
      add clipping, add font paths for package resources
------------------------------------------------------------------------
r12763 | matt | 2018-03-16 17:49:58 -0400 (Fri, 16 Mar 2018) | 3 lines

Android: loading and rendering multiple fonts at multiple sizes.

This code is still a total mess and incredibly inefficient.
------------------------------------------------------------------------
r12762 | matt | 2018-03-16 16:27:12 -0400 (Fri, 16 Mar 2018) | 6 lines

Android: finally founded font functionality, freakishly fluttered first 
         files, further fostering follows.
          
Or, to put it bluntly, I forgot how the font system works, and now I am 
digging through the implementations of other drivers, carrying bits and
pieces together. But you know that I will clean my files eventually... .
------------------------------------------------------------------------
r12761 | matt | 2018-03-16 13:53:09 -0400 (Fri, 16 Mar 2018) | 2 lines

Android: starting to handle user clipping regions, but first I will 
render better text, so I have something to test this on.
------------------------------------------------------------------------
r12760 | matt | 2018-03-16 13:39:16 -0400 (Fri, 16 Mar 2018) | 1 line

Android: added function to optimize complex regions
------------------------------------------------------------------------
r12759 | AlbrechtS | 2018-03-16 10:12:05 -0400 (Fri, 16 Mar 2018) | 5 lines

CMake/fltk-config: update fltk-config (LDFLAGS) for MacOS.

This is a preliminary patch to enable linking with pango on MacOS
when fltk-config is used. A better solution is under development.

------------------------------------------------------------------------
r12758 | matt | 2018-03-16 08:48:29 -0400 (Fri, 16 Mar 2018) | 2 lines

Android: clipping regions code grew so big, they moved into their own
header and source file.
------------------------------------------------------------------------
r12757 | AlbrechtS | 2018-03-16 08:48:27 -0400 (Fri, 16 Mar 2018) | 2 lines

Fix whitespace and comments only.

------------------------------------------------------------------------

Download | Home Page | Listing ]


Comments

Submit Comment ]
 
 

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