[ Return to Articles | Show Comments | Submit Comment ]
Article #1192: FLTK 3.0.x Weekly Snapshot, r9525
Created at 01:03 May 18, 2012 by mike
A new weekly snapshot of FLTK 3.0.x (r9525) is now available on the download page:
http://www.fltk.org/software.php?VERSION=fltk-3.0.x-r9525
Commit Log:
------------------------------------------------------------------------
r9525 | ianmacarthur | 2012-05-17 16:39:28 -0700 (Thu, 17 May 2012) | 4
lines
Set props on new Symbol.cxx file
------------------------------------------------------------------------
r9523 | ianmacarthur | 2012-05-17 16:34:17 -0700 (Thu, 17 May 2012) | 6
lines
So it turns out that VC2010 and mingw fail over different things...
Another minor tweak to try and get the Symbol stuff building on Windows.
Mingw seems to be OK now, here's hoping for VC too!
------------------------------------------------------------------------
r9522 | ianmacarthur | 2012-05-17 15:47:27 -0700 (Thu, 17 May 2012) | 7
lines
Minor fixes to get the new fltk3 symbol stuff to build on WinXX.
Clashes with wingdi over the use of the name Rectangle...
------------------------------------------------------------------------
r9520 | matt | 2012-05-17 13:50:17 -0700 (Thu, 17 May 2012) | 1 line
Fixed wrong include.
------------------------------------------------------------------------
r9519 | matt | 2012-05-17 13:45:40 -0700 (Thu, 17 May 2012) | 1 line
Reverted to old use of Box for FLTK1 compat header for now.
------------------------------------------------------------------------
r9518 | matt | 2012-05-17 13:00:46 -0700 (Thu, 17 May 2012) | 1 line
Updated Fltk3 Symbol handling from 1 to 2. Symbols are now no longer
allocated in a static array. They are found faster, and they are the base
for the new symbol based boxtypes and image management.
------------------------------------------------------------------------
r9517 | matt | 2012-05-17 10:27:02 -0700 (Thu, 17 May 2012) | 1 line
Added Symbol class in preparation of porting FLTK 2 symbols and boxtypes
to FLTK3.
------------------------------------------------------------------------
r9516 | matt | 2012-05-17 10:20:40 -0700 (Thu, 17 May 2012) | 1 line
Moved e_widget to fltk3:: like all other event related variables
------------------------------------------------------------------------
r9515 | manolo | 2012-05-17 07:42:41 -0700 (Thu, 17 May 2012) | 1 line
Some optimization for function int fltk3::event_inside(const fltk3::Widget
*o)
------------------------------------------------------------------------
r9514 | manolo | 2012-05-17 06:50:11 -0700 (Thu, 17 May 2012) | 6 lines
Created function fltk3::Widget* fltk3::event_widget() with this Doxygen
description:
Widget to which mouse event coordinates relate.
Functions fltk3::event_x() and fltk3::event_y() return values that are
offsets from the top-left of the widget returned by this function.
Outside of event-handling contexts, this function returns NULL.
------------------------------------------------------------------------
r9513 | manolo | 2012-05-17 06:10:08 -0700 (Thu, 17 May 2012) | 1 line
Corrected comments within fltk3::event_inside(const fltk3::Widget *o)
------------------------------------------------------------------------
r9512 | manolo | 2012-05-17 05:57:14 -0700 (Thu, 17 May 2012) | 3 lines
Changed the type of the argument of fltk3::event_inside(const
fltk3::Rectangle*) to
fltk3::event_inside(const fltk3::Widget*) because a rectangle is not
enough to specify
what the rectangle coordinates are relative to.
------------------------------------------------------------------------
r9511 | manolo | 2012-05-17 01:40:21 -0700 (Thu, 17 May 2012) | 1 line
Fixed fltk3::event_inside(Rectangle*) (cont'd).
------------------------------------------------------------------------
r9509 | manolo | 2012-05-16 15:16:56 -0700 (Wed, 16 May 2012) | 3 lines
Fixed fltk3::event_inside(Rectangle*) and Fl::event_inside(xywh) so they
use
widget and event coordinates consistently.
This repairs compatibility with FLTK1 sudoku demo.
------------------------------------------------------------------------
r9508 | matt | 2012-05-16 14:35:08 -0700 (Wed, 16 May 2012) | 1 line
Fixed 'PackedGroup::resize' to public
------------------------------------------------------------------------
r9507 | manolo | 2012-05-16 14:02:12 -0700 (Wed, 16 May 2012) | 1 line
Fixed Fl::event_x() and event_y() when fltk3::e_widget is null.
------------------------------------------------------------------------
r9506 | manolo | 2012-05-16 13:50:01 -0700 (Wed, 16 May 2012) | 1 line
Accelerate the mandelbrot demo on the Mac platform by drawing by blocks of
100 lines.
------------------------------------------------------------------------
r9505 | matt | 2012-05-16 13:23:20 -0700 (Wed, 16 May 2012) | 1 line
Fixed some more Fluid3 interactive resizing
------------------------------------------------------------------------
r9504 | matt | 2012-05-16 12:44:05 -0700 (Wed, 16 May 2012) | 1 line
Fixed PackedGroup issues with resize. Fixed Fluid3 Workspace panel.
------------------------------------------------------------------------
r9503 | manolo | 2012-05-16 10:05:46 -0700 (Wed, 16 May 2012) | 10 lines
Fixed FLTK1 compatibility of Fl::event_x() and event_y().
The need for a fix was apparent with the mandelbrot demo program: click
and drag
created a shifted rectangle.
The fix introduces a new global variable fltk3::Widget* fltk3::e_widget
set to the widget
relative to which the functions fltk3::event_x() and event_y() return
their values.
This pointer allows to reliably transform FLTK3 event coordinates into
FLTK1 event coordinates.
It may make sense to also define a public FLTK3 utility function
fltk3::Widget* fltk3::event_widget() { return fltk3::e_widget; }
that could be helpful to process fltk3::event_x() and fltk3::event_y()
data.
------------------------------------------------------------------------
r9502 | manolo | 2012-05-16 06:44:50 -0700 (Wed, 16 May 2012) | 1 line
Fixed fltk3::Group::resize() for group-relative coordinates
------------------------------------------------------------------------
r9501 | manolo | 2012-05-16 04:36:43 -0700 (Wed, 16 May 2012) | 1 line
Completed FLTK1 compatibility for user-defined Fl_Graphics_Driver
subclasses.
------------------------------------------------------------------------
r9499 | matt | 2012-05-15 14:43:52 -0700 (Tue, 15 May 2012) | 1 line
Some more Fluid3 fixes
------------------------------------------------------------------------
r9498 | manolo | 2012-05-15 08:37:23 -0700 (Tue, 15 May 2012) | 4 lines
Fixed fltk3::Group::insert(fltk3::Widget &o, int index).
In FLTK3, if the widget o changes group with this call, it must also
change coordinates because they are now group-relative.
Fixed also fltk3::Group::sizes() so it uses group-relative coordinates
consistently.
------------------------------------------------------------------------
r9497 | manolo | 2012-05-15 04:54:01 -0700 (Tue, 15 May 2012) | 1 line
More for FLTK1 compatibility.
------------------------------------------------------------------------
r9496 | manolo | 2012-05-15 02:31:29 -0700 (Tue, 15 May 2012) | 1 line
Completed compatibility with FLTK1 in relation to group-relative FLTK3
coordinates.
------------------------------------------------------------------------
r9495 | matt | 2012-05-14 14:39:08 -0700 (Mon, 14 May 2012) | 1 line
Re-did the variable renaming to better understand event handling.
------------------------------------------------------------------------
r9494 | matt | 2012-05-14 13:47:36 -0700 (Mon, 14 May 2012) | 1 line
Re-added menu fix (sigh)
------------------------------------------------------------------------
r9493 | matt | 2012-05-14 13:45:05 -0700 (Mon, 14 May 2012) | 1 line
Undid previous commit because it contained bugs....
------------------------------------------------------------------------
r9492 | matt | 2012-05-14 12:19:07 -0700 (Mon, 14 May 2012) | 1 line
Refactored a bunch of Fluid variables because I could not debug the event
handling
------------------------------------------------------------------------
r9491 | manolo | 2012-05-14 10:13:20 -0700 (Mon, 14 May 2012) | 1 line
Fixed menu creation for group-relative coordinates under X11
------------------------------------------------------------------------
r9490 | manolo | 2012-05-14 10:01:11 -0700 (Mon, 14 May 2012) | 1 line
Fixed subwindow creation for group-relative coordinates under X11
------------------------------------------------------------------------
r9489 | manolo | 2012-05-14 07:42:16 -0700 (Mon, 14 May 2012) | 1 line
Fixed printing of sub-windows for group-relative coordinates.
------------------------------------------------------------------------
r9488 | manolo | 2012-05-14 05:02:13 -0700 (Mon, 14 May 2012) | 1 line
Fixed fltk3::ColorChooser::ColorChooser()
------------------------------------------------------------------------
r9487 | matt | 2012-05-13 13:45:33 -0700 (Sun, 13 May 2012) | 1 line
Fixing coordinates for FLTK1 emulation layer draw() call
------------------------------------------------------------------------
r9486 | matt | 2012-05-12 15:34:42 -0700 (Sat, 12 May 2012) | 1 line
Updated fltk1 emulation wrapper to create widgets in the new relative
coordinate system. This solves a bunch of problems, but by far not all of
them. Fluid1 somewhat works, but the overlay is wrong in groups. And much
more... .
------------------------------------------------------------------------
r9485 | manolo | 2012-05-12 06:44:11 -0700 (Sat, 12 May 2012) | 1 line
FLTK1 compatibility: fixed Fl_Widget::copy_label(const char*)
------------------------------------------------------------------------
r9484 | manolo | 2012-05-11 11:44:30 -0700 (Fri, 11 May 2012) | 1 line
Change in fltk3::Group::draw_outside_label() for group-relative
coordinates.
------------------------------------------------------------------------
r9483 | matt | 2012-05-11 10:11:41 -0700 (Fri, 11 May 2012) | 1 line
Many more fixes, GLWindow works agian, etc.
------------------------------------------------------------------------
r9482 | manolo | 2012-05-11 08:53:59 -0700 (Fri, 11 May 2012) | 1 line
FLTK1 compatibility: make the Fl_Pixmap constructors use the intermediate
fltk3::Pixmap_I class.
------------------------------------------------------------------------
[ Download | Home Page | Listing ]
[ Submit Comment ] |