On Thu, Jul 26, 2012 at 12:57 PM, Rafael Antognolli
<[email protected]> wrote:
> I was also always scared when looking at elementary's EDCs, even after
> working with edje theme for years already.
>
> >From the projects that I have worked with elementary, needing to theme
> widgets, we always ended up clearing the entire EDC and writing it
> from scratch, usually with much less parts, programs, complexity and
> code, and sometimes with a more complex behavior (for instance,
> buttons that do more than just get pressed/unpressed).
>
> bdilly can speak for that too, he's a master of doing things simpler
> inside EDCs with lots of macros.

At least for elementary, having a default theme more simple would be
very helpful indeed.
People that theme widgets usually copy the default theme for the
specific widget and try to modify it to get to what they want. And
usually they need to understand a lot of parts (a complex theme) to
realize they could just remove most of them.

I just check the obligatory parts and signals and write the theme from scratch.

Having a skel theme could do the job, but it would means one more
theme to maintain (and, possibly, it would be kind of useless).

About macros, if used correctly I think they can make the theme easier
to read and maintain, but some guys reported to me that they are a bit
intimidating. We need to put that on a balance (and I'm not sure they
would be that useful for theming these widgets).

I'm in a conference now, and in kind of a hurry. I'll try to elaborate
more about that later.

I could help on that, if we decide it's worth it. After helping on
connman and physics module =)

>
> Just my 2 cents.
>
> On Thu, Jul 26, 2012 at 4:54 AM, Daniel Juyung Seo <[email protected]> 
> wrote:
>> I am slowly working on this inherit things. But we need overall
>> refactoring for whole widget styles.
>>
>> Daniel Juyung Seo (SeoZ)
>>
>> On Thu, Jul 26, 2012 at 3:42 PM, Michael Blumenkrantz
>> <[email protected]> wrote:
>>> it would be very nice if the theme could be consolidated to properly use
>>> inheritance and such instead of copy/pasting the same edc snippets
>>> everywhere...
>>>
>>> On Thu, Jul 26, 2012 at 3:53 AM, Gustavo Sverzut Barbieri <
>>> [email protected]> wrote:
>>>
>>>>  On Wednesday, July 25, 2012, Carsten Haitzler wrote:
>>>>
>>>> > On Thu, 26 Jul 2012 11:11:04 +0900 Daniel Juyung Seo <
>>>> [email protected]<javascript:;>
>>>> > >
>>>> > said:
>>>> >
>>>> > simplifying it is almost tantamount to doing a new theme too, and there
>>>> is
>>>> > a
>>>> > limti to how much simpler it can get.
>>>> >
>>>> > using inheritance (group, part etc.) that we didn't have until recently
>>>> we
>>>> > can
>>>> > simplify it more, but its a lot of work. also it could have used a lot
>>>> more
>>>> > macros.
>>>> >
>>>> > at least my assessment is "about the same work to do new as to simplify".
>>>> > :)
>>>>
>>>>
>>>> You know my idea was to have a new, simpler theme. But at least simplify,
>>>> removing high contrast (difficult to design and match) and number of
>>>> elements for scroller (just one image per bar) and buttons (1-2 images
>>>> only). Then things like segment control will be simpler.
>>>>
>>>>
>>>>
>>>> >
>>>> > > +1 many widgets are designed way too complex.
>>>> > > But we need to support backward compatibility in terms of part names,
>>>> > > programs, ...
>>>> > > That's the problem.
>>>> > >
>>>> > > Daniel Juyung Seo (SeoZ)
>>>> > >
>>>> > > On Thu, Jul 26, 2012 at 8:12 AM, Gustavo Sverzut Barbieri
>>>> > > <[email protected]> wrote:
>>>> > > > Hi all, particularly Raster
>>>> > > >
>>>> > > > I'm officially querying people whether or not we should simplify
>>>> > > > E17/Elementary's default theme (aka Black & White). Right now the
>>>> > > > theme is super-complex for no actual benefit other than inhibiting
>>>> > > > others to hack on it.
>>>> > > >
>>>> > > > While most people forget or just don't care about problems, today I
>>>> > > > looked into making the Segment Control theme more uniform. All in all
>>>> > > > it should be just like a button, segmented into multiple parts:
>>>> > > >
>>>> > http://docs.enlightenment.org/auto/elementary/group__SegmentControl.html
>>>> > > >
>>>> > > > It looks almost similar to a button, but slightly different. Then you
>>>> > > > look at the source code and you see why: To achieve elm_button look,
>>>> > > > we have 7 (SEVEN!) images, 7 (SEVEN!) parts and 15 programs.
>>>> > > >    On the other hand, who submitted segment control did a hack and
>>>> > > > collapsed the images into 3 (pressed, selected and normal). But due
>>>> > > > the borders of segment control items (left, center, right) the person
>>>> > > > did it using 4 sets of images (12 images total). The segment control
>>>> > > > could be simplified to have only 3 sets of images. But even though if
>>>> > > > we're coping with elm_button look and feel we still have to do 7 x 3
>>>> =
>>>> > > > 21, plus managing all the states.
>>>> > > >
>>>> > > > If you look around, scroller is also way more complex than one would
>>>> > expect.
>>>> > > >
>>>> > > > This is very complex. Gosh, it scared me and I consider my knowledge
>>>> > > > of Edje above-average... I wonder how it do to the average developer
>>>> > > > that still struggles to get the basics right (we have many with svn
>>>> > > > commit), or the newbie that is trying to change our themes to do
>>>> > > > something different on its own.
>>>> > > >
>>>> > > > That said, I'd say we should simplify the theme for our own sanity.
>>>> > > >
>>>> > > > What do you think?
>>>> > > >
>>>> > > > --
>>>> > > > Gustavo Sverzut Barbieri
>>>> > > > http://profusion.mobi embedded systems
>>>> > > > --------------------------------------
>>>> > > > MSN: [email protected]
>>>> > > > Skype: gsbarbieri
>>>> > > > Mobile: +55 (19) 9225-2202
>>>> > > >
>>>> > > >
>>>> >
>>>> ------------------------------------------------------------------------------
>>>> > > > Live Security Virtual Conference
>>>> > > > Exclusive live event will cover all the ways today's security and
>>>> > > > threat landscape has changed and how IT managers can respond.
>>>> > Discussions
>>>> > > > will include endpoint security, mobile security and the latest in
>>>> > malware
>>>> > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>> > > > _______________________________________________
>>>> > > > enlightenment-devel mailing list
>>>> > > > [email protected]
>>>> > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>>> > >
>>>> > >
>>>> >
>>>> ------------------------------------------------------------------------------
>>>> > > Live Security Virtual Conference
>>>> > > Exclusive live event will cover all the ways today's security and
>>>> > > threat landscape has changed and how IT managers can respond.
>>>> Discussions
>>>> > > will include endpoint security, mobile security and the latest in
>>>> malware
>>>> > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>> > > _______________________________________________
>>>> > > enlightenment-devel mailing list
>>>> > > [email protected]
>>>> > ------------- Codito, ergo sum - "I code, therefore I am" --------------
>>>> > The Rasterman (Carsten Haitzler)    [email protected] <javascript:;>
>>>> >
>>>> >
>>>> >
>>>> >
>>>> ------------------------------------------------------------------------------
>>>> > Live Security Virtual Conference
>>>> > Exclusive live event will cover all the ways today's security and
>>>> > threat landscape has changed and how IT managers can respond. Discussions
>>>> > will include endpoint security, mobile security and the latest in malware
>>>> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>> > _______________________________________________
>>>> > enlightenment-devel mailing list
>>>> > [email protected] <javascript:;>
>>>> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>>> >
>>>>
>>>>
>>>> --
>>>> Gustavo Sverzut Barbieri
>>>> http://profusion.mobi embedded systems
>>>> --------------------------------------
>>>> MSN: [email protected]
>>>> Skype: gsbarbieri
>>>> Mobile: +55 (19) 9225-2202
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Live Security Virtual Conference
>>>> Exclusive live event will cover all the ways today's security and
>>>> threat landscape has changed and how IT managers can respond. Discussions
>>>> will include endpoint security, mobile security and the latest in malware
>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>> _______________________________________________
>>>> enlightenment-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>>>
>>> ------------------------------------------------------------------------------
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond. Discussions
>>> will include endpoint security, mobile security and the latest in malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> _______________________________________________
>>> enlightenment-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> enlightenment-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>
>
> --
> Rafael Antognolli
> ProFUSION embedded systems
> http://profusion.mobi
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-- 
Bruno Dilly
Senior Developer
ProFUSION embedded systems
http://profusion.mobi

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to