Commit Graph

300 Commits

Author SHA1 Message Date
Bruno Dilly 68a34bdd34 edje: support basic body attributes - friction and
restitution




SVN revision: 80099
2012-12-03 19:47:52 +00:00
Bruno Dilly 9af2e7f69b edje: initial support to physics block inside
description

Only mass is set by now.



SVN revision: 80082
2012-12-03 16:36:32 +00:00
Bruno Dilly 5cca2ff0b1 edje: support adding physics worlds and bodies
Just an initial support, it's not possible to configure worlds
or bodies. Just adding it. Only possible customization is the
type of body.

It defines what's the collision shape and type (rigid / soft).
It can't be changed over time, so it's not on part's description.

It's expected that many cases won't be covered yet.

If you have ephysics installed and don't want it, just use
--disable-ephysics. It shouldn't affect anything for cases
where ephysics is not installed.



SVN revision: 79793
2012-11-28 22:38:47 +00:00
Carsten Haitzler 121c87e091 improve readability of image find in edje. :)
SVN revision: 79107
2012-11-11 08:26:25 +00:00
Carsten Haitzler 23f5f378fe remove a memcpy and strlen and just delcare (sure compiler places
bytes on stack for us as opposed to memcpy... let's assume it'll be as
good as memcpy or better :)).



SVN revision: 79106
2012-11-11 08:02:43 +00:00
ChunEon Park 2fbf887eda edje - don't update map uv for proxy
SVN revision: 78818
2012-11-02 04:05:02 +00:00
Carsten Haitzler a00b9084ea use less memory at runtime with real part structs. actual savings are
about 25%.



SVN revision: 76460
2012-09-11 13:14:51 +00:00
ChunEon Park 3fe669e66d edje - fix fmtting.
SVN revision: 76219
2012-09-06 06:46:51 +00:00
ChunEon Park cdc044c321 edje/map - if user change image size of the image object which is swallwoed and it's map is enabled by the edje then edje needs to update it's uv mapping info
SVN revision: 76184
2012-09-05 09:46:09 +00:00
ChunEon Park ac5f55d3d1 edje - use Eina_Bool
SVN revision: 76163
2012-09-05 05:38:01 +00:00
Cedric BAIL 1e25d7b701 edje: add nested part support to edc.
Blame Tasn and not the people he enslaved to get it out.
First patch by Aharon Hillel with some modification by myself.


SVN revision: 76127
2012-09-04 11:27:43 +00:00
Tom Hacohen b0a19e7d4a Edje textblock: Fixed an issue with textblock fit.
Thanks to Brian Wang for reporting this.

SVN revision: 75730
2012-08-27 08:59:11 +00:00
ChunEon Park b11b7c3ac4 edje - fixe the uv mapping correctly in case of image swallowed case
SVN revision: 75241
2012-08-14 08:04:06 +00:00
ChunEon Park 91bdc844fc edje - clean up the code
SVN revision: 75240
2012-08-14 07:59:06 +00:00
Cedric BAIL f31da4c907 edje: call edje_object_message_signal_process also on GROUP part Edje object.
SVN revision: 74916
2012-08-06 09:22:42 +00:00
Cedric BAIL 8f75f66c44 edje: warn at compile time about forgotten image.
NOTE: You need to enable at least Eina_Log warning level
to see them.


SVN revision: 73784
2012-07-13 02:50:58 +00:00
Cedric BAIL f8f0a494c2 edje: cleanup and make limit per description work.
SVN revision: 73562
2012-07-11 10:50:30 +00:00
Carsten Haitzler 7b840947e0 fix reallyu minor thing - border_scale_by wasnt interpolated.
SVN revision: 73289
2012-07-04 14:45:13 +00:00
Carsten Haitzler 72b6266d7c tom - can u take thgis textblock fit code and run with it and polish
it to be nice and try and "fit" as best as possible? entries dont do it.



SVN revision: 72992
2012-06-28 10:19:30 +00:00
Cedric BAIL b5c65a71d2 edje: implement per part limit.
SVN revision: 72767
2012-06-24 13:23:37 +00:00
Cedric BAIL 0fe4412879 edje: rename VIRTUAL into SPACER and also fix Edje_Edit and inspector.
SVN revision: 72058
2012-06-13 03:21:31 +00:00
Cedric BAIL b0e087b6bf edje: morning speed of edje. Theme can now be a little bit lighter and faster.
NOTE: VIRTUAL part are almost like rectangle except they don't create any object
on the canvas. This part can't be visible, nor have any color, nor be used as a
clip, nor receive any event.


SVN revision: 71674
2012-06-04 02:57:15 +00:00
Cedric BAIL 0f490ba1dc edje: fix text and table with fixed point and clamp image tween.
SVN revision: 71152
2012-05-16 10:37:44 +00:00
Cedric BAIL e4dbe385bb edje: doing less is actually better.
SVN revision: 70608
2012-05-02 06:55:15 +00:00
Cedric BAIL 6b3d9da609 edje: add automatic hints update to edje object and min: SOURCE to GROUP part.
NOTE: turning this feature on is costly. Do that only when you require it, really !


SVN revision: 69254
2012-03-12 15:28:58 +00:00
Cedric BAIL a657ed2678 edje: correctly propagate scale factor to GROUP.
SVN revision: 69189
2012-03-11 10:43:08 +00:00
Cedric BAIL 7c4d6fbec8 edje: fix rotation with fixed point.
SVN revision: 69011
2012-03-07 18:21:28 +00:00
Cedric BAIL 26c7ebd1e7 edje: don't update edje calc cache state when only one direction was computed.
SVN revision: 67762
2012-02-08 14:20:29 +00:00
Iván Briano fdbbef9af9 Do set the max to the image size if asked for it
SVN revision: 67567
2012-01-27 14:32:45 +00:00
Cedric BAIL 5358608eab edje: fix obvious c&p error.
SVN revision: 67557
2012-01-26 18:32:30 +00:00
Cedric BAIL a4c58712c3 edje: add min: SOURCE, max: SOURCE.
SVN revision: 67555
2012-01-26 18:24:00 +00:00
Cedric BAIL 814d9bfb29 edje: prevent filter from matching during a program run.
SVN revision: 67495
2012-01-24 14:48:51 +00:00
Carsten Haitzler 2264bfe0b7 wo... this turned out to be much more of a pain. minmul now works -
allows us to multiple a minimim size explicitly for min size calc so
we can do things like have content slide open/closed properly.



SVN revision: 67197
2012-01-14 02:29:13 +00:00
Cedric BAIL deb0057d7f edje: add EDJE_ASPECT_PREFER_SOURCE.
NOTE: this is a prototype, play with and report any issue to me.


SVN revision: 66937
2012-01-06 11:28:38 +00:00
Cedric BAIL f74f396d8d edje: fix edje recent brokeness with text flickering.
NOTE: it's just a partial revert of previous patch by
raster. Without that, some text were flickering going
on and off for sometime. I didn't take the time to
understand why, but by forcing the recalc it permanently
solve the issue.


SVN revision: 66903
2012-01-05 15:26:49 +00:00
Carsten Haitzler 12aa897e26 fixc new recalc cb to be able to call size min recalc in cb.
SVN revision: 66893
2012-01-05 05:21:02 +00:00
Carsten Haitzler ac8a671596 dont call recalc if doing calc only
SVN revision: 66849
2012-01-04 05:17:11 +00:00
Carsten Haitzler 61d66cf1b1 add the actual recalc smart callback code and docs.
SVN revision: 66843
2012-01-04 04:35:37 +00:00
Mike Blumenkrantz b8f17dd903 fix a pair of buffer overflows from r65619
SVN revision: 66121
2011-12-12 19:59:25 +00:00
Cedric BAIL 1593fbca3f edje: forgotten #if.
SVN revision: 65713
2011-11-30 10:57:30 +00:00
Cedric BAIL 7473d15aea edje: cleanup and more accurate evaluation of CURRENT.
SVN revision: 65642
2011-11-28 10:20:51 +00:00
Cedric BAIL 493b6a58d5 edje: fix typo and remove useless code.
SVN revision: 65637
2011-11-28 08:22:36 +00:00
Cedric BAIL af33528af8 edje: major cleanup of map calc in edje, now done inside Edje_Calc_Param.
NOTE: This was necessary for solving issue with the new CURRENT feature. I
don't like this massive change, but there is no way around. This patch is
only the first step, I will wait the full night before completly fixing
the issue with CURRENT.

WARNING: If this patch doesn't break svn, you must feel lucky and go play
money games. In all other case, please report any issue to the developper
mailing-list.


SVN revision: 65619
2011-11-27 23:55:37 +00:00
Jaehwan Kim 6afeb6b150 Add CURRENT option which edje object moves from current position.
Currently, when the part in edc move by transition, it moves from the
one of the states to another of the states even if it is ainimating.
We need it to move from current position, because the animation is not
natural and smooth. So I made the "CURRENT" option.


SVN revision: 64675
2011-11-03 04:43:00 +00:00
Jaehwan Kim 1d300f049b Revert to revision 64488 in order to split the code into new feature and indentation
SVN revision: 64633
2011-11-02 04:15:01 +00:00
Jaehwan Kim 39d27f8cbb Add CURRENT option which edje object moves from current position.
Currently, when the part in edc move by transition, it moves from the
one of the states to another of the states even if it is ainimating.
We need it to move from current position, because the animation is not
natural and smooth. So I made the "CURRENT" option.
And I removed the unnecessary tab for indentation.


SVN revision: 64545
2011-10-31 06:00:06 +00:00
Carsten Haitzler 371874381b and actually always apply border_scale_by directly as-is even if
border_scale is not set.



SVN revision: 63944
2011-10-10 07:58:14 +00:00
Carsten Haitzler f18d4de8d5 add border_scale_by that adds another scaling factor for border
scaling. use it as a way of super-sampling borders (eg use 0.5 to use
2x over-sampling, 0.25 for 4x oversapling etc.)



SVN revision: 63938
2011-10-10 05:53:02 +00:00
Cedric BAIL 881244542d edje: refactor code.
SVN revision: 63620
2011-09-27 06:16:34 +00:00
Daniel Juyung Seo f915dca8ae edje edje_calc.c: Removed warnings.
SVN revision: 62729
2011-08-23 16:44:36 +00:00