> genlist and gengrid are just too big to "redo".

They're so big and complicated. One liner fix will affect other lines of code.
I'm going to refactor them little by little.

Daniel Juyung Seo (SeoZ)


On Fri, Oct 21, 2011 at 12:38 AM, Carsten Haitzler <[email protected]> wrote:
> On Thu, 20 Oct 2011 11:46:30 -0200 Gustavo Sverzut Barbieri
> <[email protected]> said:
>
>> Amazing!!!
>>
>> Anything planned for collections of items? Diskselector, carousel, etc would
>> benefit from it as well
>
> well - i actually did something. :) here is what i expect:
>
> 1. people who just complain and say no, and then don't pitch in to help fix
> what they claim is broken (after its agreed it is) are not useful. may as well
> ignore them.
>
> 2. i expect people put their coding fingers where their mouths are.
>
> diskselector API is ok - so i wont be killing its internals, but internals 
> need
> gutting and a redo. this of course means "theme api" too for the diskselector.
> carousel is no longer in elm - so moot. :) genlist and gengrid are just too 
> big
> to "redo".
>
>> On Thursday, October 20, 2011, Enlightenment SVN <[email protected]>
>> wrote:
>> > Log:
>> > make toggle just a feature of check - on/off state and a togle style.
>> >  keep toggle api (wrapped around check) and deprecate it. it will
>> >  eventually go.
>> >
>> >
>> >
>> > Author:       raster
>> > Date:         2011-10-20 05:30:04 -0700 (Thu, 20 Oct 2011)
>> > New Revision: 64199
>> > Trac:         http://trac.enlightenment.org/e/changeset/64199
>> >
>> > Modified:
>> >  trunk/elementary/data/themes/widgets/check.edc trunk/elementary/src/lib/
>> Elementary.h.in trunk/elementary/src/lib/elm_check.c
>> trunk/elementary/src/lib/elm_toggle.c
>> >
>> > Modified: trunk/elementary/data/themes/widgets/check.edc
>> > ===================================================================
>> > --- trunk/elementary/data/themes/widgets/check.edc      2011-10-20
>> 12:21:41 UTC (rev 64198)
>> > +++ trunk/elementary/data/themes/widgets/check.edc      2011-10-20
>> 12:30:04 UTC (rev 64199)
>> > @@ -247,3 +247,448 @@
>> >       }
>> >    }
>> >  }
>> > +
>> > +group { name: "elm/check/base/toggle";
>> > +   images {
>> > +      image: "shelf_inset.png" COMP;
>> > +      image: "bt_basew.png" COMP;
>> > +      image: "bt_bases.png" COMP;
>> > +      image: "bt_hilightw.png" COMP;
>> > +      image: "tog_base_on.png" COMP;
>> > +      image: "tog_base_off.png" COMP;
>> > +      image: "tog_dis_base_on.png" COMP;
>> > +      image: "tog_dis_base_off.png" COMP;
>> > +   }
>> > +   script {
>> > +      public is_rtl;
>> > +   }
>> > +   parts {
>> > +      part { name: "bg";
>> > +         type: RECT;
>> > +         mouse_events: 0;
>> > +         scale: 1;
>> > +         description { state: "default" 0.0;
>> > +            rel1.relative: 1.0 0.0;
>> > +            rel1.offset: -4 3;
>> > +            rel2.offset: -4 -4;
>> > +            align: 1.0 0.5;
>> > +            min: 96 16;
>> > +            max: 96 16;
>> > +            aspect: 4.0 4.0;
>> > +            aspect_preference: VERTICAL;
>> > +            color: 255 255 255 255;
>> > +         }
>> > +      }
>> > +      part { name: "clipper";
>> > +         type: RECT;
>> > +         mouse_events: 0;
>> > +         description { state: "default" 0.0;
>> > +            rel1.to: "bg";
>> > +            rel2.to: "bg";
>> > +            color: 255 255 255 255;
>> > +         }
>> > +      }
>> > +      part { name: "button";
>> > +         type: RECT;
>> > +         scale: 1;
>> > +         clip_to: "clipper";
>> > +         mouse_events: 1;
>> > +         dragable {
>> > +            x: 1 1 0;
>> > +            y: 0 0 0;
>> > +            confine: "bg";
>> > +         }
>> > +         description { state: "default" 0.0;
>> > +            fixed: 1 1;
>> > +            rel1.to: "bg";
>> > +            rel2.to: "bg";
>> > +            min: 16 16;
>> > +            max: 16 16;
>> > +            aspect: 1.0 1.0;
>> > +            aspect_preference: VERTICAL;
>> > +            color: 0 0 0 0;
>> > +         }
>> > +      }
>> > +      part { name: "button_events";
>> > +         type: RECT;
>> > +         dragable {
>> > +            events: "button";
>> > +         }
>> > +         description { state: "default" 0.0;
>> > +            rel1.to_x: "bg";
>> > +            rel1.offset: 0 0;
>> > +            rel1.relative: 0.0 0.0;
>> > +            rel2.to_x: "bg";
>> > +            rel2.offset: -1 -1;
>> > +            rel2.relative: 1.0 1.0;
>> > +            color: 0 0 0 0;
>> > +         }
>> > +      }
>> > +      part { name: "onrect";
>> > +         type: IMAGE;
>> > +         scale: 1;
>> > +         clip_to: "clipper";
>> > +         mouse_events: 0;
>> > +         description { state: "default" 0.0;
>> > +            rel1.to: "button";
>> > +            rel1.relative: -5.0 0.0;
>> > +            rel2.to: "button";
>> > +            rel2.relative: 0.5 1.0;
>> > +            image.normal: "tog_base_on.png";
>> > +         }
>> > +         description { state: "disabled" 0.0;
>> > +            inherit: "default" 0.0;
>> > +            image.normal: "tog_dis_base_on.png";
>> > +         }
>> > +      }
>> > +      part { name: "offrect";
>> > +         type: IMAGE;
>> > +         scale: 1;
>> > +         clip_to: "clipper";
>> > +         mouse_events: 0;
>> > +         description { state: "default" 0.0;
>> > +            rel1.to: "button";
>> > +            rel1.relative: 0.5 0.0;
>> > +            rel2.to: "button";
>> > +            rel2.relative: 6.0 1.0;
>> > +            image.normal: "tog_base_off.png";
>> > +         }
>> > +         description { state: "disabled" 0.0;
>> > +            inherit: "default" 0.0;
>> > +            image.normal: "tog_dis_base_off.png";
>> > +         }
>> > +      }
>> > +      part { name: "elm.offtext";
>> > +         type: TEXT;
>> > +         mouse_events:  0;
>> > +         scale: 1;
>> > +         clip_to: "clipper";
>> > +         description { state: "default" 0.0;
>> > +            fixed: 1 1;
>> > +            rel1.to_x: "button";
>> > +            rel1.relative: 1.0 0.0;
>> > +            rel2.to_x: "offrect";
>> > +            color: 0 0 0 255;
>> > +            text {
>> > +               font:     "Sans,Edje-Vera";
>> > +               size:     10;
>> > +               min:      0 1;
>> > +               align:    0.5 0.5;
>> > +               text:     "OFF";
>> > +            }
>> > +         }
>> > +         description { state: "disabled" 0.0;
>> > +            inherit: "default" 0.0;
>> > +            color: 128 128 128 128;
>> > +         }
>> > +      }
>> > +      part { name: "elm.ontext";
>> > +         type: TEXT;
>> > +         effect: SOFT_SHADOW;
>> > +         mouse_events:  0;
>> > +         scale: 1;
>> > +         clip_to: "clipper";
>> > +         description { state: "default" 0.0;
>> > +            fixed: 1 1;
>> > +            rel1.to_x: "onrect";
>> > +            rel1.offset: 1 1;
>> > +            rel2.to_x: "button";
>> > +            rel2.offset: 0 0;
>> > +            rel2.relative: 0.0 1.0;
>> > +            color: 224 224 224 255;
>> > +            color3: 0 0 0 64;
>> > +            text {
>> > +               font:     "Sans,Edje-Vera";
>> > +               size:     10;
>> > +               min:      0 1;
>> > +               align:    0.5 0.5;
>> > +               text:     "ON";
>> > +            }
>> > +         }
>> > +         description { state: "disabled" 0.0;
>> > +            inherit: "default" 0.0;
>> > +            color: 128 128 128 128;
>> > +            color3: 0 0 0 24;
>> > +         }
>> > +      }
>> > +      part { name: "conf_over";
>> > +         mouse_events:  0;
>> > +         description { state: "default" 0.0;
>> > +            rel1.offset: -1 -1;
>> > +            rel1.to: "bg";
>> > +            rel2.offset: 0 0;
>> > +            rel2.to: "bg";
>> > +            image {
>> > +               normal: "shelf_inset.png";
>> > +               border: 7 7 7 7;
>> > +               middle: 0;
>> > +            }
>> > +            fill.smooth : 0;
>> > +         }
>> > +      }
>> > +      part { name: "button0";
>> > +         mouse_events:  0;
>> > +         clip_to: "clipper";
>> > +         description { state: "default" 0.0;
>> > +            rel1.to: "button2";
>> > +            rel1.offset: -4 -4;
>> > +            rel2.to: "button2";
>> > +            rel2.offset: 3 3;
>> > +            image {
>> > +               normal: "bt_bases.png";
>> > +               border: 11 11 11 11;
>> > +            }
>> > +            image.middle: SOLID;
>> > +            color: 255 255 255 128;
>> > +         }
>> > +      }
>> > +      part { name: "button2";
>> > +         mouse_events:  0;
>> > +         clip_to: "clipper";
>> > +         description { state: "default" 0.0;
>> > +            rel1.to: "button";
>> > +            rel1.offset: -2 -2;
>> > +            rel2.to: "button";
>> > +            rel2.offset: 1 1;
>> > +            image {
>> > +               normal: "bt_basew.png";
>> > +               border: 7 7 7 7;
>> > +            }
>> > +            image.middle: SOLID;
>> > +         }
>> > +      }
>> > +      part { name: "button3";
>> > +         mouse_events:  0;
>> > +         clip_to: "clipper";
>> > +         description { state: "default" 0.0;
>> > +            rel1.to: "button2";
>> > +            rel2.to: "button2";
>> > +            rel2.relative: 1.0 0.5;
>> > +            image {
>> > +               normal: "bt_hilightw.png";
>> > +               border: 4 4 4 0;
>> > +            }
>> > +         }
>> > +      }
>> > +      part { name: "elm.swallow.content";
>> > +         type: SWALLOW;
>> > +         description { state: "default" 0.0;
>> > +            fixed: 1 0;
>> > +            visible: 0;
>> > +            align: 0.0 0.5;
>> > +            rel1.offset: 4 4;
>> > +            rel2.relative: 0.0 1.0;
>> > +            rel2.offset: 3 -5;
>> > +         }
>> > +         description { state: "visible" 0.0;
>> > +            inherit: "default" 0.0;
>> > +            visible: 1;
>> > +            aspect: 1.0 1.0;
>> > +            rel2.offset: 4 -5;
>> > +         }
>> > +         description { state: "disabled" 0.0;
>> > +            inherit: "default" 0.0;
>> > +            color: 128 128 128 128;
>> > +         }
>> > +         description { state: "disabled_visible" 0.0;
>> > +            inherit: "default" 0.0;
>> > +            color: 128 128 128 128;
>> > +            visible: 1;
>> > +            aspect: 1.0 1.0;
>> > +         }
>> > +      }
>> > +      part { name: "elm.text";
>> > +         type: TEXT;
>> > +         mouse_events: 0;
>> > +         scale: 1;
>> > +         description { state: "default" 0.0;
>> > +            visible: 0;
>> > +            rel1.to_x: "elm.swallow.content";
>> > +            rel1.relative: 1.0 0.0;
>> > +            rel1.offset: 0 4;
>> > +            rel2.to_x: "bg";
>> > +            rel2.relative: 0.0 1.0;
>> > +            rel2.offset: -5 -5;
>> > +            color: 0 0 0 255;
>> > +            text {
>> > +               font: "Sans,Edje-Vera";
>> > +               size: 10;
>> > +               min: 0 0;
>> > +               align: 0.0 0.5;
>> > +            }
>> > +         }
>> > +         description { state: "visible" 0.0;
>> > +            inherit: "default" 0.0;
>> > +            visible: 1;
>> > +            text.min: 1 1;
>> > +         }
>> > +         description { state: "disabled" 0.0;
>> > +            inherit: "default" 0.0;
>> > +            color: 128 128 128 128;
>> > +         }
>> > +         description { state: "disabled_visible" 0.0;
>> > +            inherit: "default" 0.0;
>> > +            color: 128 128 128 128;
>> > +            visible: 1;
>> > +            text.min: 1 1;
>> > +         }
>> > +      }
>> > +      part { name: "disabler";
>> > +         type: RECT;
>> > +         description { state: "default" 0.0;
>> > +
>>
>> --
>> Gustavo Sverzut Barbieri
>> http://profusion.mobi embedded systems
>> --------------------------------------
>> MSN: [email protected]
>> Skype: gsbarbieri
>> Mobile: +55 (19) 9225-2202
>> ------------------------------------------------------------------------------
>> The demand for IT networking professionals continues to grow, and the
>> demand for specialized networking skills is growing even more rapidly.
>> Take a complimentary Learning@Ciosco Self-Assessment and learn
>> about Cisco certifications, training, and career opportunities.
>> http://p.sf.net/sfu/cisco-dev2dev
>> _______________________________________________
>> 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]
>
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Ciosco Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to