Commit Graph

48 Commits

Author SHA1 Message Date
Bruno Dilly 6b40542d58 edje: support body's rotation
It's going as an action / script instead of an attribute
because it wouldn't fit well as a description.
Rotation can be modified by many circustancies, keeping
as state wouldn't make sense.



SVN revision: 80610
2012-12-10 15:37:08 +00:00
Bruno Dilly c4832ceda5 edje: add soft body stuff
SVN revision: 80609
2012-12-10 14:19:03 +00:00
Bruno Dilly 3de757a6d5 edje: add flag to set parts to be lighted
Won't be visible until world's light is implemented



SVN revision: 80605
2012-12-10 12:51:53 +00:00
Bruno Dilly 75ceec585a edje: make it possible to set body's material
And density as well.



SVN revision: 80600
2012-12-10 11:47:22 +00:00
Bruno Dilly c206188db4 edje: implement more description physics attributes
* Damping
 * Sleeping Threshold



SVN revision: 80501
2012-12-07 21:19:31 +00:00
Bruno Dilly 476391343a edje: make it possible to change body attributes via
script

Support physics attributes on set_state_val and get_state_val
So custom_states can be created



SVN revision: 80484
2012-12-07 18:44:17 +00:00
Bruno Dilly bc9821c1ff edje: modify some embryo forces func names for
consistency

Since embryo functions names are verb_subject, not subject_verb.
So forces_clear -> clear_forces ...



SVN revision: 80398
2012-12-06 22:11:10 +00:00
Bruno Dilly 200ce279ab edje: support velocity family actions and scripts
SVN revision: 80397
2012-12-06 22:10:59 +00:00
Bruno Dilly 14cf9fe3f7 edje: support forces using programs / script
Implement actions:
  * PHYSICS_FORCE
  * PHYSICS_TORQUE
  * PHYSICS_FORCES_CLEAR

and embryo script functions:
  * physics_force
  * physics_torque
  * physics_forces_clear
  * physics_forces_get
  * physics_torques_get



SVN revision: 80381
2012-12-06 19:20:07 +00:00
Bruno Dilly 9f3c938c9c edje: support torque impulse (action and embryo script)
SVN revision: 80372
2012-12-06 16:58:58 +00:00
Bruno Dilly 8783eb70bb edje: support applying impulse via script
SVN revision: 80279
2012-12-05 21:09:18 +00:00
Eduardo Lima (Etrunko) 5081d36996 New embryo function: get_program_id
It is now you can run programs with names generated dinamically. Say that you
have 10 programs indexed somehow. You can now call them using the following snippet:

script {
   new program_id[15], i;
   for (i = 0; i < 10; i++) {
      snprintf(program_id, 15, "my_program_%d", i+1);
      run_program(get_program_id(program_id));
   }
}

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 80199
2012-12-04 20:21:59 +00:00
Daniel Willmann c5996880a6 edje: Add embryo function get_image_id
This makes it possible to change the image from an embryo script

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 79327
2012-11-15 09:31:08 +00:00
Prince Kumar Dubey 3cc8139906 From: Prince Kumar Dubey <prince.dubey@samsung.com>
From: Govindaraju S M <govi.sm@samsung.com>
Subject: edje multisense patch for sound sample, tone and haptic play

... This is the beginning of sound (and haptic) support in Edje - it
works, but only at certain basic sample playback levels. more will come.



SVN revision: 64731
2011-11-04 12:18:13 +00:00
Leandro Pereira dd5b79eff6 edje: Add get_part_id() to exported Embryo functions.
This allows one to calculate a part number in runtime and and use it with
other functions, like get_state() and set_state().



SVN revision: 53277
2010-10-11 21:26:43 +00:00
Carsten Haitzler a3b68b3e0e dont pretend to have these script only embryo calls anymore
SVN revision: 53181
2010-10-08 08:51:05 +00:00
Gustavo Sverzut Barbieri 3d206d92f6 oops, embryo limits names to 31 chars!
SVN revision: 47572
2010-03-30 00:39:14 +00:00
Gustavo Sverzut Barbieri 0b231e99ce Add CHOICES to EXTERNAL support.
Choices are useful to represent enumerations and restricted set of
elements to user. Usually this is displayed in hoversel/comboboxes.



SVN revision: 47570
2010-03-29 21:51:40 +00:00
Gustavo Sverzut Barbieri 430d792e27 allow setting parameters from embryo!
SVN revision: 47459
2010-03-25 20:18:24 +00:00
Carsten Haitzler 3243fb1170 add embryo to manipulate map stuff.
SVN revision: 46343
2010-02-21 10:55:45 +00:00
Carsten Haitzler 850cae173c doing some work on a test script object and actually making it work.
SVN revision: 34703
2008-05-30 15:29:39 +00:00
Carsten Haitzler 15cd1238db start some serious work on script_only edje objects - for efficiency sake i'm
having an almost parallel codepath for script_only objects - they dont get to
use the older edje api calls for part defined objects. they will have a new
set of calls specifically for them. it's partly done - very little available
now, but will expand. lots of fixme's.


SVN revision: 34699
2008-05-30 11:20:49 +00:00
Carsten Haitzler 0d624dcb94 lars get button mask call for edje embryo added
SVN revision: 34611
2008-05-19 04:38:40 +00:00
Carsten Haitzler e92406d330 patch from rafael to hook in funcs to embryo
SVN revision: 34603
2008-05-19 02:50:38 +00:00
Carsten Haitzler 0afa61a56a santiago's embryo swallow patchs.
SVN revision: 34249
2008-04-11 23:36:35 +00:00
lok 075e58a88e Missing drag_step/page proto.
SVN revision: 31246
2007-08-11 13:20:33 +00:00
Carsten Haitzler c9f04f3f07 pass make distcheck.
SVN revision: 26452
2006-10-09 15:40:58 +00:00
Carsten Haitzler 5a3be0fd8c zigs patch for edje adding more embryo script power to set state vals
SVN revision: 23616
2006-06-28 18:31:56 +00:00
Carsten Haitzler 8c01f55114 add embryo api to get the state of a part (handy eh?) :)
SVN revision: 17345
2005-10-09 09:49:53 +00:00
Carsten Haitzler bec1a34a8e testing the edje message queue.. revealed.... problems... and.. now....
FIXES! :)


SVN revision: 12419
2004-12-09 05:49:34 +00:00
tsauerbeck f6d680ad4b added support for a few more properties for the custom state stuff
SVN revision: 12135
2004-11-02 17:31:56 +00:00
tsauerbeck 53596e93c3 added basic support for custom state magic. only description.align can be changed at runtime so far.
SVN revision: 12065
2004-10-29 17:56:12 +00:00
tsauerbeck 015a2cde3f implemented float list ops, replace_int and replace_str
SVN revision: 12041
2004-10-27 16:20:05 +00:00
tsauerbeck 7c1508ec8c implemented string list calls. untested, beware.
SVN revision: 11964
2004-10-22 20:25:31 +00:00
tsauerbeck 5765aa4ef7 int 'list' ops
SVN revision: 11881
2004-10-14 04:29:16 +00:00
Carsten Haitzler 7948fb2fc8 edje.inc was wrong (so was the comment)
SVN revision: 11381
2004-08-26 00:44:14 +00:00
atmosphere 09b36c3b5f as per raster's request, return values as ints
SVN revision: 11296
2004-08-22 02:18:39 +00:00
atmosphere 027a3e9254 get part geometry in embryo
SVN revision: 11295
2004-08-22 01:29:25 +00:00
Carsten Haitzler 5ff4a5b272 fully supported message queues now. that was a chunk of work!
SVN revision: 10663
2004-07-02 10:17:25 +00:00
Carsten Haitzler 4c90cb8d2a example of message handler in test.edc... a start.
SVN revision: 10657
2004-07-01 06:38:36 +00:00
Carsten Haitzler aa391f1a25 and put back some calls we lost in the patch/diff... :)
SVN revision: 10279
2004-05-19 02:54:52 +00:00
rephorm 107315ec99 ok. that definitely ain't the right way to do those. back it out...
SVN revision: 9803
2004-04-20 02:07:11 +00:00
rephorm f345cdd8e5 lets not confuse people :)
SVN revision: 9802
2004-04-20 01:11:33 +00:00
rephorm 88589aae0c fill in some embryo calls.
not fully tested yet. click on the spinning logo to animate the dragable in e_logo.eet (as an example of set_drag())


SVN revision: 9800
2004-04-20 00:24:30 +00:00
Carsten Haitzler d22c821b4a timers and animators are now supported from the embryo scripts - WOOO!
examples in e_logo.edc

errr - the animators may have problems if somehow aan animator is deleted or
object deleteded or file changed while running thru the list...


SVN revision: 9567
2004-04-02 09:16:53 +00:00
Carsten Haitzler 231a8f8cd0 ok - examples of how to hook some embryo calls in - help appreciated with the
nice big LIST! :)


SVN revision: 9565
2004-04-02 03:55:38 +00:00
Carsten Haitzler 7bd60e9cb0 busy adding some MEAT to edje's embryo script support. just added
"persistent" variables - ie tied to each instance of an edje object and you
can save/load via get_int() set_int() get_float() set_float(), get_str(),
get_strlen() and set_str(). the values are fetched/stored wherever you do
these calls. you need a public variable declaration to indicate you want to
use a global var, and use this variable handle as the variable index - edje
will init it for you.

e_logo.edc has some examples...
:)

this solves being able to keep state like if a check button is enabled or
disabled etc. etc. etc.
then i guess its onto the rest of the calls...


SVN revision: 9526
2004-03-30 10:30:35 +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