rephorm
8cda88c2e6
Add initial support for edje gradients. See data/src/gradient.edc for an example.
...
SVN revision: 24361
2006-08-02 10:52:44 +00:00
rephorm
0b56671b3e
color class blocks in edje.
...
this allows you to specify the default color for any parts using color_classes in a given file.
this color will be overridden by edje_color_class_set()
which will in turn be overridden by edje_object_color_class_set()
note. if you specify a color (color: ...) in a part description that also has a color_class, the cc will be multiplied against the color -- generally not what you want.
also, as a tip, the gimp's 'multiply' blend mode is almost exactly the same as evas/edje's coloring.
example:
...
part {
name: "colored";
type: RECT;
description {
state: "default" 0.0;
color_class: "bg_color";
/* note: no color: set here */
}
}
...
color_classes {
color_class {
name: "bg_color";
color: 229 239 255 255;
}
}
SVN revision: 19707
2006-01-11 03:19:45 +00:00
Carsten Haitzler
6fbd81ed4c
handle no name part.
...
SVN revision: 18995
2005-12-13 15:11:21 +00:00
Carsten Haitzler
36db7b296f
add elipsis direct control
...
SVN revision: 18326
2005-11-06 03:32:01 +00:00
Carsten Haitzler
3d95663afe
allow correct values for fill offset - too rtestrictive
...
SVN revision: 16781
2005-09-20 08:33:35 +00:00
Carsten Haitzler
2c69e593a8
hmm - make min size calculation mroe accurate and handle corner cases...
...
SVN revision: 16760
2005-09-19 06:51:49 +00:00
Carsten Haitzler
0c99214fb0
allow more tags for textblock obj's
...
SVN revision: 16744
2005-09-18 05:37:06 +00:00
Carsten Haitzler
3ac48d63ae
and edje started supporting.... TEXTBLOCK2!!!!!
...
see e_logo.edc for an example. :)
SVN revision: 16698
2005-09-12 09:43:49 +00:00
Carsten Haitzler
757bfe0070
oops -- &&
...
SVN revision: 16080
2005-08-09 07:18:10 +00:00
Carsten Haitzler
8885e181b0
dont segv on prog with no name (illegal anyway)
...
SVN revision: 16079
2005-08-09 07:16:48 +00:00
Carsten Haitzler
24e1406536
pavel's patch. :)
...
SVN revision: 15905
2005-07-26 13:59:03 +00:00
tsauerbeck
f06dec0f74
sanitize border scaling middle something logic. if the property needs to set to 'true' to be disabled, we better name it that way. this breaks eet compatibility, but since the previous commit is still young, i don't increment the version ids
...
SVN revision: 14048
2005-03-31 17:26:31 +00:00
Carsten Haitzler
62b9246441
support unfilled centers...
...
SVN revision: 14038
2005-03-31 11:40:05 +00:00
tsauerbeck
6edb7557c3
removed support for the (so far deprecated) description.border keyword
...
SVN revision: 12593
2004-12-26 22:36:45 +00:00
tsauerbeck
ee1c58f983
'custom' is an invalid description name
...
SVN revision: 12056
2004-10-29 14:11:54 +00:00
tsauerbeck
74f19082f8
programs may not specify 'target' before 'action'
...
SVN revision: 12040
2004-10-27 16:17:12 +00:00
tsauerbeck
a83169e012
fixed some more edje_cc error messages
...
SVN revision: 12009
2004-10-24 09:48:29 +00:00
tsauerbeck
834b91be7c
fixed arg count checking for program.action
...
SVN revision: 11986
2004-10-23 20:36:02 +00:00
tsauerbeck
d1b4acb489
edje_cc now checks the number of arguments for each statement
...
SVN revision: 11983
2004-10-23 20:12:21 +00:00
Carsten Haitzler
565add21a7
gawd that was bad!!!!
...
SVN revision: 11958
2004-10-22 07:42:37 +00:00
Carsten Haitzler
b0cc194408
only do that once...
...
SVN revision: 11940
2004-10-21 06:43:18 +00:00
Carsten Haitzler
5d60e667df
dup tween list properly :) and dup lookups on text stuff
...
SVN revision: 11922
2004-10-20 14:26:06 +00:00
tsauerbeck
070dd505e6
image{} and fill{} attributes are only allowed for IMAGE parts. text{} attributes are only allowed for TEXT parts
...
SVN revision: 11912
2004-10-19 17:21:13 +00:00
tsauerbeck
8e0f33b80c
deprecated description.border, use description.image.border instead, since border only applies to image parts.
...
SVN revision: 11911
2004-10-19 17:01:05 +00:00
tsauerbeck
63f3874903
better vim modelines for raster code
...
SVN revision: 11910
2004-10-19 16:50:27 +00:00
tsauerbeck
f375a9fe2c
New feature: part descriptions can inherit attributes from other descriptions of the same part. All attributes are inherited, except description name and value, of course.
...
Syntax: inherit, "desc_name" desc_value;
SVN revision: 11908
2004-10-19 16:37:20 +00:00
tsauerbeck
5a4030f762
boolean values can now be specified in the following ways: 0, false, off resp 1, true, on (case insensitive)
...
SVN revision: 11864
2004-10-13 18:07:56 +00:00
Carsten Haitzler
44984e65a3
allow text source and text style sources to be specified.. this lets multiple
...
text parts "shadow" a controlling/parent text part. this allows multiple
window titles for example even tho the app only sets 1 title part. this
allows for interesting text effects with mutliepl text parts animating
differently... or you cna use invivlbe text parts ad "proxies" for
calculating sizes of stuff... :)
SVN revision: 11851
2004-10-13 03:43:42 +00:00
tsauerbeck
541c116fc6
part names need to be unique in a collection, too
...
SVN revision: 11826
2004-10-10 15:18:07 +00:00
Carsten Haitzler
cd39a020b2
1. note all the /* dup */ entries in edje_cc_handlers.c - we now are lenient
...
and allow image, font, images{} fonts {} programs{} program{} and scropt{}
sections in many mroe places...
SVN revision: 11764
2004-10-06 05:25:03 +00:00
Carsten Haitzler
bf564f9174
no no. do it this way! :)
...
SVN revision: 11622
2004-09-13 03:23:29 +00:00
rephorm
e135951db6
Ok. Completing the commit from last night. Sorry about that (and thanks for cleaning up after me raster). Nothing functional changed between raster's last commit and this, just making things more consistent.
...
Also, moved a few calloc's to mem_alloc and strdups to mem_strdup.
SVN revision: 11455
2004-08-31 04:00:14 +00:00
Carsten Haitzler
2f972d6555
rephorm missed another place fonts were being set, and forgot to include the
...
compiler side to list the fonts... :)
SVN revision: 11441
2004-08-30 08:07:00 +00:00
Carsten Haitzler
9355b9cf8c
1. add SWALLOW object to be more explicit...
...
SVN revision: 10820
2004-07-14 07:57:35 +00:00
Carsten Haitzler
d5c73557c9
more container notes/skellies and allow aspect prefernce of BOTH (both axes
...
control so the aspect wiill exceed wanted size and go over the boundaries...)
SVN revision: 10789
2004-07-12 06:14:59 +00:00
Carsten Haitzler
68e31d4bc7
just when you thoguht all was stable in edje land... i added a tag and field!
...
never fear. its backwards compatible. this lets you choose how aspect is
calculated and confined :)
SVN revision: 10340
2004-05-24 07:58:37 +00:00
Carsten Haitzler
ec680ae695
embryo_cc line numebrs match up with edje .edc ones now - much better foir
...
debugging
SVN revision: 9891
2004-04-25 04:20:58 +00:00
Carsten Haitzler
3821f74e99
and.... edje_cc can take small code snippets in script{} areas and compile
...
them, include them int eh edje.eet and edje can run them. all i have to do
now is actually give the small scripts an api worht talking about
SVN revision: 9514
2004-03-28 05:26:17 +00:00
Carsten Haitzler
92b6f79c2e
fixed a leak... patches from trill... need to go thru my mail....
...
SVN revision: 9281
2004-03-08 02:43:48 +00:00
Carsten Haitzler
a9cfdc0688
support for inlining ttf's in edje's so you can ship your fonts along too! :)
...
SVN revision: 8624
2004-01-23 02:13:42 +00:00
Carsten Haitzler
2bcf6301f8
atmos' patch! :)
...
SVN revision: 7798
2003-11-05 00:08:57 +00:00
rbdpngn
c5366158c7
Moved the text_class into the description's text section.
...
SVN revision: 7773
2003-10-31 05:07:39 +00:00
rbdpngn
f5c22b148b
Slight re-organization of color classes, now can be set per-description rather
...
than per-part. This will probably break old edje's.
SVN revision: 7759
2003-10-29 06:42:03 +00:00
Carsten Haitzler
1bb9260fea
remove lots of warnings
...
SVN revision: 7662
2003-10-19 02:11:06 +00:00
Carsten Haitzler
df683295dd
dragables are about complete now.. with new actions, page and step values....
...
all happy & smelly.
SVN revision: 7395
2003-09-01 02:53:08 +00:00
Carsten Haitzler
97e9f75ee1
fix parser... :)
...
SVN revision: 7317
2003-08-14 04:45:31 +00:00
Carsten Haitzler
211959c6c0
separate x & y relative "to" params. the old .edc format is still supported
...
where "to" implies both x & y. to_x == only in x dir, to_y == only in y dir :)
SVN revision: 7315
2003-08-14 03:22:38 +00:00
Carsten Haitzler
516e43fc09
you can add arbitary key/value pair strings to either 1 the edje file .eet as
...
a whole and/or to each collection in the edje .eet file (different
namespoaces with each collection having its own namespace) :) this shoudl
make Rbdpngn happy :)
SVN revision: 7288
2003-08-05 14:33:35 +00:00
Carsten Haitzler
a8ed74dc0b
more features... working on fixme list.
...
SVN revision: 7249
2003-07-27 13:16:51 +00:00
Carsten Haitzler
3d128a9cdc
min.max size properties now per edje collection can be specified in the edje
...
.edc file and can be accessed. the min_size_get has become a min_size_calc
since it does actually calculate it.
also swallowed edjes will be queried for their own min/max size and that will
be used to further limit the part that swallows. also you can attach
properties to any old evas object so it will have min/max size properties
(maybe one day this can go into evas itself?). also swallowed objects if
deleted before the parent edje will "unswallow" themselves properly :)
SVN revision: 7195
2003-07-20 12:37:49 +00:00
Carsten Haitzler
1b587fd598
work has been done while i've been away. i just need to put this in cvs. many
...
fixem's have been fixed. text parts work fully now, ALONG with all their
respective effect modes, fits, alignments and "chopping". a few more api
calls have been added and cleaned up. you'll need to update eet too for this
to work.
SVN revision: 7113
2003-07-07 07:55:18 +00:00
Carsten Haitzler
1bf1f933a9
"random" ranged delays are now allowed before a program starts... in fact any
...
program. just provide an "in, 10.0 5.0;" line in the progrma to say "start
thew program in (10.0 + (random value from 0.0 - 5.0)_ seconds from the time
it is triggered. you can simply delay the program with a constant by making
the range 0.0.
SVN revision: 7104
2003-06-28 04:20:41 +00:00
Carsten Haitzler
62d66a7d63
nuke some FIXME's. smooth parameter now added for fills. program infinite
...
loops are now detected and limited to a recursion limit of 64 levels.
SVN revision: 7103
2003-06-28 03:08:25 +00:00
Carsten Haitzler
fbcf7fc180
more fixme's fixed. more fixme's added. edje is moving.
...
SVN revision: 7078
2003-06-25 02:29:25 +00:00
Carsten Haitzler
4521ca1f87
signal emit action added
...
SVN revision: 7050
2003-06-20 13:41:00 +00:00
Carsten Haitzler
943d63f6f2
stop action supported. parser/compiler is accurate there in not needing more
...
params. stop is immediate - always. edje test program now uses arguments to
determine what to look at
SVN revision: 7049
2003-06-20 10:44:36 +00:00
Carsten Haitzler
8cb638f08f
the edje test program displays an edje .eet file now! build it all then:
...
cd data
./e_logo.sh
cd ..
./src/bin/edje
you can resize the window to watch the edje "bit" resize. this is just held
togetehr with sitckytape right now... its not done right.. it's only a
bootstrap - but it works. it needs to be cleaned up. definitely. will be
working on that.
SVN revision: 7041
2003-06-17 08:15:06 +00:00
Carsten Haitzler
40763eba6e
some of my other changes from this morning go into edje. more defaults. more
...
example files... and a build script to make an "e_logo.eet" edje file
SVN revision: 7039
2003-06-17 01:28:01 +00:00
Carsten Haitzler
0a04871590
some default "sane" values to save a lot of typing in edje .edc files + a
...
test .edc with comments and some images to use for compiling.... :)
SVN revision: 7037
2003-06-16 23:44:13 +00:00
Carsten Haitzler
0d2194a7b5
edje_cc can now fully parse my test edje input "test.edc" file and build a
...
properly formed test.eet output file including inlined images, data structs
and all. it can display verbose output infomration if you use the -v flag.
the only problem now is that no sample .edc files are shipped. I'll make one
or 2 better ones and include them.
SVN revision: 7033
2003-06-16 13:55:13 +00:00
Carsten Haitzler
5d7c4d02e0
we parse.... MORE! :) order is now irrelevant of how you delcare images or
...
parts and what they are relative to/use. the lookups are put off until just
before write-out. order of parts still is the stacking order though.
SVN revision: 7020
2003-06-14 03:06:36 +00:00
Carsten Haitzler
ffc3810ee8
a few more handlers. i think next i need to add a verbose mode for the parser
...
SVN revision: 7019
2003-06-12 23:02:45 +00:00
Carsten Haitzler
598dd0b60f
mem allocs guaranteed now... they are wrapped and errors handled centrally
...
SVN revision: 7018
2003-06-12 22:34:51 +00:00
Carsten Haitzler
228f197d2b
cleaner. centralise type parsing... and error checking
...
SVN revision: 7017
2003-06-12 13:02:28 +00:00
Carsten Haitzler
dd7fe79b30
EVEN better parsing! :) lots of NULL handlers need filling in. i need to unify
...
common type parameter parsing to use smaller common functions to save space.
SVN revision: 7012
2003-06-11 14:14:23 +00:00
Carsten Haitzler
61586a277f
spread edje_cc code out a little... it's goign to get big now. put parse
...
result handlers in one place.
SVN revision: 7011
2003-06-11 13:20:48 +00:00