Reading through e17's cvs, I found edje, and it looks cool. Here's some
thoughts and ideas I had. Sorry if any of it seems terribly n00bish, but I'm
new to E coding :)
-- Shish
~~
It seems that edje only works for single apps - are there any plans to make a
set of generic widgets, so that you can theme one widget rather than every type
of button in every app?
Similarly, having a program to set a button's new colour, and another program
to reset it, for every button in every app, will be tiring. Much better would
be to have a basic type that components can inherit from.
Thinking through a third time - there'd better be some generic widgets to
inherit from; forcing every theme to create it's own comboboxes and the like
will put a lot of people off. Creating something like a combobox using just
image, rect, text, and miniture programs will be neigh on impossible.
collection generic {
part button {}
part scrollbar {}
}
collection eplayer_specific_parts {
part musicDisplay {}
}
collection entrance_specific_parts {
part WM_choice_display {}
}
That way, most apps who only use generic parts can be themed with the same .eet
file.
~~
The formatting of entrance's readme.edje breaks for people who don't use
8-space tabs :/
Also, I don't think swallowed is the word you want...
~~
Procedural / generated textures would work nicely alongside the IMAGE class:
images {
image, background.png LOSSY 95;
texture, wood.gen wood #88 #DD;
}
will use the wood generator, with the specified colours, to create an image
on the fly (either compile or run time). Blender has a lovely selection of
procedural texture generators to learn from :)
Having a generated animated texture would be very tasty eyecandy (see the
backgrounds in the ZSNES main screen for a demo). The only use I can see is for
entrance backgrounds - it'd be annoying to have animated buttons while you're
trying to work. Flames, steam, snow, etc, would make lovely login screens.
~~
How are resizable things themed? Will the .edc need to manually place bitmaps
for N, NE, E, etc, or will a single bitmap be supplied, and edje will
automatically cut out each edge and the center? or something else entirely?
ED Is this what the border attribute of description is for?
~~
IMHO,
] part {
]name, foo;
]type, TEXT;
could be nicely shortened to
] part foo {
]type, TEXT;
~~
Making a glade-like thing that outputs .edc files would kick ass
~~
Allow variations for colour defentions as well for edc files, and allow an
ommited alpha to mean 255 -
color, 170 89 214 255;
color, 0xAA59D6FF;
color, #AA59D6;
color, #A6D;
~~
On alignment:
which effect will setting alignment to 0,0 have?
OOOXX -- pushed into the corner
OOOXX
OOOXX
X
OOO -- centered on the corner
OOOXXX
OOOXXX
X
X
I should think that pushing things to a point would be better than centering
them on it.
~~
Part grouping:
Yes, I am an object orientedness whore :P
The prefix command simply adds a prefix to all the names of components within
- it should be a quick job in the .edc parser / compiler, and not require any
changes to anything else.
prefix playbutton {
part rect {
}
part text {
}
}
prefix stopbutton {
part rect {
}
part text {
}
}
vs
part playbutton_rect {
}
part playbutton_text {
}
part stopbutton_rect {
}
part stopbutton_text {
}
~~
edje_api.xml: 122: seutp - setup:
/* If so, seutp the audio out path */
edc_tour.xml: 375: is no - are no:
there is no restrictions
edc_ref.xml: 132: line broken badly
SOFT_SHADOW, OUTLINE_SH
ADOW, OUTLINE_SOFT_SHADOW
-
SOFT_SHADOW, OUTLINE_SHADOW, OUTLINE_SOFT_SHADOW
216: visable - visible
382: 3.0 - 2.5, preformed - performed
the second argument specifies the maximum random delay which is added to the
first argument. This is useful when you want the program to wait for a random
amount of time that is at least a half a second but no more than 3 seconds,
which would be described as in, 0.5 3.0;. Delays always occur before the
action specified by the program is preformed.
the second argument specifies the maximum random delay which is added to the
first argument. This is useful when you want the program to wait for a random
amount of time that is at least a half a second but no more than 3 seconds,
which would be described as in, 0.5 2.5;. Delays always occur before the