andres wrote:
> El Tuesday 01 April 2008 14:57:04 The DarkMaster escribió:
>> Andre's idea looks very interesting to me (I never mentioned, by the way,
>> that EWl or anything else should be reduced to something like GTK.
> Oh. I didn't meant to say you wanted that. My point was that complete unity
> among different toolkits programatically would cause that, not that you
> wanted it. I think we can mantain a good level of unity by limiting ourselves
> only to repetition of the same design elements.
>
> Ok, my idea would be something like this. Split themes in two,
> a "elements.edj" file and a "theme_ewl.edj", "theme_etk.edj", etc. file.
> I think I covered all the necessary elements (I checked the "test" apps from
> each toolkit) but feel free to extend it as you wish.
>
> elements.edj would contain
> ======================
> * Groups:
> ** "texture/base": to be drawn at the bottom (window background)
> ** "texture/inward": to be drawn inside the bottom (a list background)
> ** "texture/outward": to be drawn over the bottom (a toolbar's background)
> ** "texture/primary": for elements that must catch your attention (buttons)
> ** "texture/secondary": catches attention... not so much (text entries)
> ** "texture/tertiary": almost the background (tabs, list headers)
>
> * Fonts:
> ** "common": for most text on the screen.
> ** "labels": for the text over buttons, progressbar, tooltips, etc.
> ** "menus": for the menus and submenus.
>
> * Color classes:
> ** "over_base": for text drawn over the base texture
> ** "over_inward": you can imagine.
> ** "over_outward": this one too.
> ** "over_primary": ...
> ** "over_secondary": ...
> ** "over_tertiary": ...
>
> a button in theme_w.edj would be like
> ===============================
> group {
> ...
> part {
> name: "bg";
> type: GROUP;
> source: "texture/primary";
> description {
> //buttons height, blah blah
> }
> }
> part {
> name: "shadow";
> type: IMAGE;
> description {
> //a black and white image using transparency to shadow
> the button"
> }
> }
> part {
> name: "label";
> type: TEXT;
> description {
> text.font: "over_primary";
> text.size: gigantic!;
> }
> ...
> }
>
> ...
>
> whatdoyouthink?
>
Ewl themes don't have a 'label' text portion of the button. The button
has a child label widget which is the text.
This also requires changes to edje as, I don't think, you can load
multiple theme files and merge them together in memory into a single edj
file.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel