Commit Graph

2143 Commits

Author SHA1 Message Date
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 626d2b9981 lets keep geometry of objects in the canvas in canvas units (double's) :)
(and handle incorrect inputs too) :)


SVN revision: 7101
2003-06-26 23:58:58 +00:00
rephorm d614ac56e1 stop after the first part with that name. (no need to go through the rest of list).
SVN revision: 7100
2003-06-26 21:17:57 +00:00
rephorm c22eea281c Edje part geometry querying added.
Only does something if part geom has been calculated.

Maybe this should return an int as to whether or not its actually giving the geometry values?


SVN revision: 7099
2003-06-26 21:14:48 +00:00
Carsten Haitzler 9ab9ba283d went through some more of the fixme list and fixed 'em
SVN revision: 7098
2003-06-26 14:04:31 +00:00
Carsten Haitzler 1da3fe4a5b consistant signal names! :)
SVN revision: 7094
2003-06-25 23:36:44 +00:00
rephorm 5b509159fd "clicked" signals now emitted in both of the following cases:
(1)
  mouse down
  move outside part
  move back in
  mouse up

[and more importantly]
(2)
  mouse down
  mouse up

  AFTER:
  mouse down
  move outside part
  mouse up

(this previously resulted in click signals no longer being emitted).


SVN revision: 7091
2003-06-25 21:40:32 +00:00
Carsten Haitzler 1e190a8ac4 Edje now has some semblance of basic documentation.
SVN revision: 7090
2003-06-25 08:28:21 +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 969629dfb2 1 mega-file (edje_main.c) split up into saner-to-manage files.
SVN revision: 7070
2003-06-24 02:33:04 +00:00
Carsten Haitzler 6fec7571de I lied. 1 more commit for the weekend. don't segv if the edje part isn't
fully loaded. Also shadow is a little more subtle


SVN revision: 7065
2003-06-22 13:52:08 +00:00
Carsten Haitzler 965f0a2466 last commit for the weekend. some more fixmes.
SVN revision: 7064
2003-06-22 12:39:18 +00:00
Carsten Haitzler 5ca68b4894 freeze/thaw stuff in for more optimum recalculation
SVN revision: 7063
2003-06-22 08:37:28 +00:00
Carsten Haitzler 13bac758b5 fixed bug where instant changes didnt happen if no animation was happening.
forgot a call to recalc. also added "Ckiecked" signals... working thru the
todo list.


SVN revision: 7062
2003-06-22 07:58:54 +00:00
Carsten Haitzler 8e4b7d5732 edje test program now has no defaults. it requires you to provide all edje
.eet files AND the collection inside of each to load on the command-line. it
can display more than 1 at any time. just click on the "title" and drag the
edje part around. resize the border as you would any window. you will have
all the edje .eet's there in the window.


SVN revision: 7061
2003-06-22 05:16:12 +00:00
Carsten Haitzler 913f50562a demo app now does its own internal edje resizing/moving.. redying for
multiepl edjes in one test app


SVN revision: 7052
2003-06-21 04:54:15 +00:00
Carsten Haitzler e863599780 more fixme's added, more fixed up. external callbakcs are now in. calling
application can emit signals now too.


SVN revision: 7051
2003-06-21 02:51:01 +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 53f0296ad6 a fixme list added, and 1 segv removed! :)
SVN revision: 7048
2003-06-20 09:38:27 +00:00
Carsten Haitzler 6d14ff4b85 to doubles...
SVN revision: 7047
2003-06-20 00:25:09 +00:00
Carsten Haitzler 27d69a4698 emissions now for the part collection soruce is now "". fixed a tinsy parser
bug for parsing "". emissions now wont recurse - but they may loop. hmm need
to limit that - easy to do this way though.


SVN revision: 7046
2003-06-19 23:56:27 +00:00
Carsten Haitzler 66bcb0fb57 1 copy & paste bug in edje_cc. fixed non animated programs
SVN revision: 7045
2003-06-19 15:02:21 +00:00
Carsten Haitzler 5427be918c Adding code to handle programs, signals, emissions, loops, animation, timers
and the whole lot. it WORKS! :) just re-run the e_logo.sh to rebuild an edje
.eet file that has animation built in... you'll see.


SVN revision: 7044
2003-06-19 14:43:49 +00:00
Carsten Haitzler 627991bf24 workin g on the code... looking cleaner. properly have shared data hashes.
started putting in infrastructure to do edje part programs.


SVN revision: 7043
2003-06-18 14:20:26 +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
Carsten Haitzler 438b3ec082 parsing much nicer.. in fact starting to actually compile! :)
SVN revision: 7010
2003-06-11 09:30:28 +00:00
Carsten Haitzler 2f63ba5e91 edje_cc is beginning to do something. it parses the image section properly
and builds the memory data struct right, and writes the data struct out via
eet. need to parse the rest, build data structs and write them out ttoo. need
to write out images too.


SVN revision: 7002
2003-06-09 13:51:40 +00:00
Carsten Haitzler c2137f09bb more code & work on ejde. started on edje_cc.
SVN revision: 7001
2003-06-09 11:31:33 +00:00
Carsten Haitzler 3df3c11966 Added more geometry calculation code. This function is beginning to get
rather large, but then again so are the number of geometry parameters, so
it's only fair. This should cover calculating all parameters given a signle
descriptor and given rel_to_1, rel_to_2, confine_to objects. Only calculation
of text params is left. I think that will be as simpl as a "copy them across
from the description", but I may yet decided to complicate that a bit.


SVN revision: 6973
2003-06-03 14:00:52 +00:00
Carsten Haitzler f38b2f2c98 had wrong title & name/class!
SVN revision: 6971
2003-06-03 02:30:25 +00:00
Carsten Haitzler 664d811ff9 in we go edje... no it doesnt do anything useful at the moment...
SVN revision: 6968
2003-06-02 23:49:56 +00:00