On Thu, May 10, 2007 at 01:14:42PM +0000, Sandro Santilli wrote:
> Log message:
> * server/event_id.h, server/vm/action.cpp: add
> event_id::is_button_event() method
> * server/sprite_instance.{cpp,h}: add isEnabled() method,
> (on_event): don't react to button events if not enabled.
> * testsuite/misc-ming.all: ButtonEventsTest-Runner.cpp,
> ButtonEventsTest.c: add test for Button.enable flag.
NOTE1: the changes in core lib only affected MovieClip, while the one in
testsuite
only check for Buttons.
NOTE2: UdoG implemented the 'enabled' flag for Buttons, I did for MovieClip with
this commit. I belive UdoG implementation doesn't conform in that it
doesn't
allow setting 'enabled' to arbitrary values, while the MovieClip one
does.
Finally... we need an automated testcase for a MovieClip version of
the ButtonEventTest.swf movie.
Volunteers ? :)
--strk;
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit