On Thu, Oct 8, 2009 at 11:16 AM, Carsten Haitzler <[email protected]> wrote:
> On Thu, 8 Oct 2009 11:07:49 -0300 Iván Briano (Sachiel) <[email protected]>
> said:
>
> ??? what are you trying to say?
>
You are using an internal Evas function in elm, it's breaking building
with hidden
visibility and it's in general not good.
>> >
>> > static void
>> > +_elm_win_obj_callback_show(void *data, Evas *e, Evas_Object *obj, void
>> > *event_info) +{
>> > + // this is called to make sure all smart containers have calculated
>> > their
>> > + // sizes BEFORE we show the window to make sure it initially appears at
>> > + // our desired size (ie min size is known first)
>> > + evas_call_smarts_calculate(e);
>> > +}
>> > +
>>
>> /**
>> * Call calculate() on all smart objects that need_recalculate.
>> *
>> * @internal
>> */
>> void
>> evas_call_smarts_calculate(Evas *e)
>> {
>>
>> > +static void
>> > _elm_win_delete_request(Ecore_Evas *ee)
>> > {
>> > Evas_Object *obj = ecore_evas_object_associate_get(ee);
>> > @@ -356,6 +366,8 @@
>> > evas_object_layer_set(win->win_obj, 50);
>> > evas_object_pass_events_set(win->win_obj, 1);
>> >
>> > + evas_object_event_callback_add(win->win_obj, EVAS_CALLBACK_SHOW,
>> > + _elm_win_obj_callback_show, win);
>> > ecore_evas_object_associate(win->ee, win->win_obj,
>> > ECORE_EVAS_OBJECT_ASSOCIATE_BASE |
>> > ECORE_EVAS_OBJECT_ASSOCIATE_STACK |
>> > @@ -700,7 +712,6 @@
>> > _changed_size_hints(void *data, Evas *e, Evas_Object *obj, void
>> > *event_info) {
>> > Widget_Data *wd = elm_widget_data_get(data);
>> > - edje_object_part_swallow(wd->frm, "elm.swallow.content", obj);
>> > _sizing_eval(data);
>> > }
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> > is the only developer event you need to attend this year. Jumpstart your
>> > developing skills, take BlackBerry mobile applications to market and stay
>> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> > http://p.sf.net/sfu/devconference
>> > _______________________________________________
>> > enlightenment-svn mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>> >
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> enlightenment-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>
> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler) [email protected]
>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel