Re: [AD] object_message() and scare_mouse()

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> I assume it would be a special case for the MSG_DRAW message only, and
> that it wouldn't affect existing code, right?

Only for the MSG_DRAW message, of course (see the code for dialog_message). As 
to whether it would affect existing code, it wouldn't for legitimate 
constructs like:

	scare_mouse();
	object_message(d, MSG_DRAW, 0);
	unscare_mouse();

(modulo an additional nesting level of mouse scaring).

-- 
Eric Botcazou



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/