I agree with Helen.

Even the event block is set by default
and I understand why Hermet prefers elm_transit_event_block_disabled_set(),
elm_transit_event_block_set(transit, EINA_TRUE)
is less confusing than
elm_transit_event_block_disabled_set(transit, EINA_TRUE).

But I think BOTH are confusing.

I suggest another solution for this.
Why don't you use
elm_transit_event_enabled_set(transit, EINA_TRUE) instead?
Because event is blocked by default,
someone who wants to use events needs to call
elm_transit_event_enabled_set() API.

Thanks.
Daniel Juyung Seo.


On Thu, Dec 2, 2010 at 1:20 AM, Helen Fornazier
<[email protected]> wrote:
> On Wed, Dec 1, 2010 at 12:45 AM, ChunEon Park <[email protected]>wrote:
>
>> Hi, This is Hermet
>>
>>
>>
>> Because original elm_transit had event blocking for the objects in default,
>>
>> it had two APIs - elm_transit_event_block_disabled_set,
>> elm_transit_event_block_disabled_get.
>>
>>
>>
>> But the concept is modified to no-event-blocking in default when it is
>> contributed.
>>
>> So the APIs was changed to elm_transit_event_block_set,
>> elm_transit_event_block_get also.
>>
>>
>>
>> Designing the transit for the temporary effect, I think that blocking-event
>> mode is more used then non-blocking generally.
>>
>> Additionally, a few applications are using original elm_transit already in
>> our platform,
>>
>> I hope to re-back if it does not really necessary.
>>
>>
>>
>> Could you please consider my proposal to re-back the concept?
>>
>>
>>
>> I attached the small patch file.
>>
>>
>>
>> Thanks.
>>
>
> Hi,
>
>     I think we can consider blocking the events by default, but I didn't
> like this changes in the API, because:
>
> elm_transit_event_block_set(transit, EINA_TRUE) means that while in the
> animation, the objects of the animation are blocked to receives events.
> elm_transit_event_block_disabled_set(transit, EINA_TRUE) means that the
> event blocker is disabled, so the objects are able to receives events.
>
> In my opinion, the first one is less confusing.
>
> I would like to see some others opinions.
>
>
>
> Cheers!
>
>
> --
> Helen Fornazier
>
>
>
>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
>> Tap into the largest installed PC base & get more eyes on your game by
>> optimizing for Intel(R) Graphics Technology. Get started today with the
>> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
>> http://p.sf.net/sfu/intelisp-dev2dev
>> _______________________________________________
>> enlightenment-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to