Cedric BAIL
d0810de637
edje: add PROXY part.
...
example:
collections {
group {
name: "main";
parts {
part {
name: "sub1";
type: GROUP;
source: "sub1";
description {
rel1.relative: 0.5 0.5;
rel2.relative: 1.0 1.0;
}
}
part {
name: "pro2";
type: PROXY;
description {
rel1.relative: 0.0 0.5;
rel2.relative: 0.5 1.0;
source: "sub1";
color: 255 0 0 128;
map {
on: 1;
smooth: 1;
rotation {
z: 30;
}
}
}
}
}
}
group {
name: "sub1";
parts {
part {
name: "rect";
type: RECT;
description {
rel1.relative: 0.0 0.0;
rel2.relative: 0.5 0.5;
color: 255 0 0 255;
map {
on: 1;
smooth: 1;
rotation {
z: -30;
}
}
}
}
part {
name: "pro1";
type: PROXY;
description {
rel1.relative: 0.5 0.0;
rel2.relative: 1.0 0.7;
color: 128 128 0 128;
source: rect;
}
}
}
}
}
SVN revision: 57694
2011-03-11 17:46:29 +00:00
Cedric BAIL
4b4e194be2
edje: correctly propagate event recursivly with existing and non existing part.
...
NOTE: I don't backport it yet as I would like some test before doing so.
SVN revision: 57678
2011-03-10 17:27:55 +00:00
Tom Hacohen
086d199799
Edje: Bumped EDJE_FILE_MINOR for the previous size_range changes.
...
SVN revision: 57412
2011-02-28 13:27:15 +00:00
Tom Hacohen
7bf5ba8a7b
Edje text: Added size_range to limit the font size range.
...
This lets you limit the allowed sizes of the TEXT part (font sizes) to
a specific range. This is especially useful in combination with the
"fit" property.
SVN revision: 57395
2011-02-27 18:09:03 +00:00
Tom Hacohen
7a66e72df5
Edje entry: Added edje_object_part_text_cursor_pos_get/set.
...
This adds the ability to control the text position of an edje_entry.
Patch by Jihoon Kim.
SVN revision: 57365
2011-02-27 10:25:22 +00:00
Cedric BAIL
c54cc95085
edje: fix signal comming from box/table part.
...
Thanks to the report by Jonathan "Watchwolf" Atton.
SVN revision: 57299
2011-02-24 14:41:08 +00:00
Tom Hacohen
5e33a75553
Edje: Added mirrored mode. Mirrored mode is used for UI-mirroring. It lets you mirror edje objects automatically (it also sends signals to the .edc code so you can do tweaks if you want), no need to create a special theme just for rtl layouts.
...
This is controlled by the two added API functions.
The changes in Elementary that utilize these functions will be committed soon.
SVN revision: 56635
2011-02-01 13:26:49 +00:00
Carsten Haitzler
e13a158ef4
(minor) don't need 2 struct members anymore. mem use--
...
SVN revision: 56622
2011-02-01 09:13:23 +00:00
Tom Hacohen
b34172c91e
Edje entry: Added cursor_mode to edje to toggle between UNDER (efl/terminal) and BEFORE (gtk/rest of the world) cursor modes.
...
SVN revision: 56547
2011-01-30 10:46:33 +00:00
Cedric BAIL
45652e5da5
* edje: finally fix everything !
...
SVN revision: 56286
2011-01-24 13:29:17 +00:00
Carsten Haitzler
e70188c5a2
"...PLEASE TEST ASAP AND REPORT TO ME: cedric.bail@free.fr !..."
...
you broke everything in e17 with this - evry apps window bottom half
is back now! i'll rever for now and let you re-apply the patch locally
and do some testing to find out what you broke with evry in trying to
fix this other bug. :)
SVN revision: 56259
2011-01-22 02:36:57 +00:00
Cedric BAIL
93d5b87e0a
* edje: fix bug when targetting external, table and box items
...
reported by yoz and watchwolf.
WARNING: IT SHOULD BE JUST A FIX, TRIED AND TESTED, BUT COULD
BREAK YOUR APPS, PLEASE TEST ASAP AND REPORT TO ME:
cedric.bail@free.fr !
SVN revision: 56241
2011-01-20 13:03:09 +00:00
Vincent Torri
c69cd7ec27
use size_t when it does not hurt
...
SVN revision: 55548
2010-12-14 06:19:30 +00:00
Vincent Torri
aad53ed90d
do not include some headers if vc++ is used
...
SVN revision: 55547
2010-12-14 05:56:46 +00:00
Andreas Volz
f6b5aa850a
allow to edje_object_part_external_param_set/edje_object_part_external_param_get with internal objects too. Currently implemented support for EDJE_PART_TYPE_TEXT and EDJE_PART_TYPE_TEXTBLOCK and param "text".
...
SVN revision: 54727
2010-11-19 22:50:33 +00:00
Cedric BAIL
26ba1c03e3
* edje: fix signal comming from aliased part.
...
I needed to bump minor file format version, but it will only
change behaviour for people using alias for part and they
couldn't use the signal emitted by them.
SVN revision: 53305
2010-10-12 13:26:18 +00:00
Carsten Haitzler
57d15d3ef8
actually hook in filter callbacks - have 2 types and pass in enum to
...
each as to what text they are seeing to filter. fix up other typdef
uses.
SVN revision: 52975
2010-10-02 03:34:00 +00:00
Gustavo Sverzut Barbieri
abc87fd449
Adding a transition layout animation for edje box.
...
Perform an animation when changing the layout from an edje box.
By: Otavio Pontes <otavio@profusion.mobi>
-------
Sample EDC:
{{{
collections {
group {
name: "main";
min: 500 500;
max: 500 500;
parts {
part {
name: "bg";
type: RECT;
description {
color: 255 255 255 255;
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 1.0; }
}
}
part {
name: "box1";
type: BOX;
description {
state: "default" 0.0;
box {
layout: vertical;
padding: 0 0;
}
rel1 {
relative: 0.0 0.0;
}
rel2 {
relative: 1.0 1.0;
}
}
description {
state: "default" 0.1;
inherit: "default" 0.0;
box {
padding: 10 10;
layout: horizontal;
}
}
description {
state: "default" 0.2;
inherit: "default" 0.0;
box {
layout: vertical;
}
rel1 {
relative: 0.0 0.0;
offset: 100 100;
}
rel2 {
relative: 1.0 1.0;
}
}
box {
items {
item {
name: "rect1";
type: GROUP;
source: "grp_rect1";
weight: 1.0 1.0;
align: -1 -1;
}
item {
name: "rect2";
type: GROUP;
source: "grp_rect2";
weight: 1.0 1.0;
align: -1 -1;
}
}
}
}
}
programs {
program {
name: "change_layout";
signal: "mouse,clicked,1";
source: "box1";
action: STATE_SET "default" 0.1;
target: "box1";
transition: LINEAR 5.0;
after: "change_back";
}
program {
name: "change_back";
action: STATE_SET "default" 0.2;
target: "box1";
transition: LINEAR 5.0;
}
}
}
group {
name: "grp_rect1";
parts {
part {
name: "r1";
type: RECT;
description {
state: "default" 0.0;
color: 255 0 0 255;
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 1.0; }
}
description {
state: "default" 0.1;
inherit: "default" 0.0;
color: 255 0 0 255;
}
}
}
}
group {
name: "grp_rect2";
parts {
part {
name: "r2";
type: RECT;
description {
state: "default" 0.0;
color: 0 255 0 255;
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 1.0; }
}
description {
state: "default" 0.1;
color: 0 0 255 255;
}
}
}
}
}
}}}
SVN revision: 52871
2010-09-29 00:28:54 +00:00
Vincent Torri
1e1bb3b6a4
Put everything in edje_private. It should fix a compilation
...
bug on Windows
SVN revision: 52736
2010-09-25 17:10:33 +00:00
Iván Briano
14187a92d3
Don't include Edje_Edit.h in edje_private.h and make it obvious at compile time that this API is not meant to be used outside of editors.
...
SVN revision: 52593
2010-09-22 14:52:23 +00:00
Cedric BAIL
8102552b7a
* edje: cleanup aspect code and reduce memory presure.
...
SVN revision: 52304
2010-09-15 14:15:23 +00:00
Carsten Haitzler
c1c7e901f5
CEEEEEEEEEDRICCCCCCCCCCCCCCCC!
...
borked e conf panel. unbork. disable aspect.
SVN revision: 52273
2010-09-14 22:32:34 +00:00
Cedric BAIL
d1203fc0ca
* edje: fix edje use of aspect when constrained by min or max.
...
NOTE: If you have swallow or parts that where constrained by min and
max, and you used aspect on them, expect change on your layout.
SVN revision: 52244
2010-09-14 15:36:16 +00:00
Lucas De Marchi
3bec660090
Fix common misspellings
...
Following misspellings were fixed:
ammount->amount
arbitary->arbitrary
begining->beginning
carefull->careful
choosen->chosen
commited->committed
endig->ending
existance->existence
existant->existent
isnt->isn't
occured->occurred
postion->position
rougly->roughly
runing->running
shouldnt->shouldn't
soem->some
succesfully->successfully
succesful->successful
sucessful->successful
tranformed->transformed
usefull->useful
wehn->when
wich->which
SVN revision: 51988
2010-09-08 11:50:05 +00:00
Brett Nash
4bf9ee3df3
Merge branch 'elmdnd'
...
Conflicts:
trunk/TMP/st/elementary/.gitignore
SVN revision: 51935
2010-09-07 06:56:16 +00:00
Carsten Haitzler
fa19a2685b
evil after alloca
...
SVN revision: 51639
2010-08-25 10:38:15 +00:00
Carsten Haitzler
195960ebac
compile in windows again - i think. eapi hackery.
...
SVN revision: 51638
2010-08-25 10:37:08 +00:00
Cedric BAIL
800b1af09e
* edje: add file minor version field.
...
It will show a warning when loading file that may use feature from
newer edje (show up with EINA_LOG_LEVEL=2 in the env).
Please don't forget to increase it when you add feature to edje
file format without breaking backward compatibility.
SVN revision: 51636
2010-08-25 09:56:20 +00:00
Carsten Haitzler
f54f39eb39
alloca header fix for edje.
...
SVN revision: 51634
2010-08-25 09:25:36 +00:00
Carsten Haitzler
5e36f9979b
nuke old obsolete lua stuff - except edje_lua.c. let it dangle with
...
the actual lua code in it entirely not being compiled just as reference until
it's killed off.
SVN revision: 51622
2010-08-25 01:09:44 +00:00
Lucas De Marchi
5a8a8c9014
Convert (hopefully) all comparisons to NULL
...
Apply badzero.cocci, badnull.coci and badnull2.cocci
This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:
code before patch ||code after patch
===============================================================
return a == NULL; return !a;
return a != NULL; return !!a;
func(a == NULL); func(!a);
func(a != NULL); func(!!a);
b = a == NULL; b = !a;
b = a != NULL; b = !!a;
b = a == NULL ? c : d; b = !a ? c : d;
b = a != NULL ? c : d; b = a ? c : d;
other cases:
a == NULL !a
a != NULL a
SVN revision: 51487
2010-08-21 13:52:25 +00:00
Mike Blumenkrantz
bba476aa91
char* -> const char*
...
Patch by Fabiano "I'm smoking crack" Fidêncio
SVN revision: 51152
2010-08-16 03:50:27 +00:00
Carsten Haitzler
c657fd3904
and add to header too.
...
SVN revision: 51146
2010-08-16 02:04:46 +00:00
Cedric BAIL
1d1a36047b
* edje: remove edje_convert use in edje_cc.
...
SVN revision: 51134
2010-08-15 18:14:33 +00:00
Iván Briano
9c3dabedc9
constifying (Edje_String)->str
...
SVN revision: 51097
2010-08-13 20:39:43 +00:00
Cedric BAIL
74fe3f6247
* edje: only link edje_convert with eina and eet.
...
SVN revision: 51051
2010-08-12 16:32:12 +00:00
Cedric BAIL
2623367732
* edje: fix some memleak issue.
...
SVN revision: 51033
2010-08-12 12:58:54 +00:00
Cedric BAIL
d4bf64d1c2
* edje: move code around.
...
SVN revision: 51016
2010-08-11 18:29:41 +00:00
Iván Briano
b8b8381576
No need for path in font_directory, and use the right key to store/find them
...
SVN revision: 50999
2010-08-11 14:24:03 +00:00
Cedric BAIL
33af18dfd1
* edje: fix eapi declaration.
...
SVN revision: 50946
2010-08-09 22:21:36 +00:00
Cedric BAIL
7d69e96bfe
* edje: use mempool for Edje_Part and Edje_Part_Description_*.
...
SVN revision: 50944
2010-08-09 21:08:08 +00:00
Cedric BAIL
9ecc1354c6
* edje: new file format.
...
WARNING ! WARNING ! WARNING ! WARNING !
Old file format is not readable by edje directly. If you have old edje
file that you want to convert, use edje_convert. Their is no way back.
Recompile your file as soon as possible. Please report any issue you
spot as this is a huge and needed change.
SVN revision: 50936
2010-08-09 17:34:03 +00:00
Cedric BAIL
0df8a2e7a8
* edje: move code around.
...
SVN revision: 50858
2010-08-06 11:07:47 +00:00
Cedric BAIL
c94ae93096
* edje: split programs type in different stack for later speed improvements.
...
SVN revision: 50810
2010-08-04 14:25:40 +00:00
Cedric BAIL
74f7480e41
* edje: fix some issue during destruction of edje_part_description,
...
and move tweens to an array.
SVN revision: 50765
2010-08-03 12:58:31 +00:00
Jonathan Atton
6e1ada9850
Edje: now we can refer to the content of a external type
...
SVN revision: 50730
2010-08-01 17:27:31 +00:00
Cedric BAIL
e773bc9246
* edje: change memory layout that will become the new file format.
...
NOTE: I tried this change with all the apps and theme I had, but maybe
i missed some bug. Please report any strange behaviour.
SVN revision: 50641
2010-07-29 12:02:36 +00:00
Cedric BAIL
05a03bd60c
* edje: fix constness warning.
...
SVN revision: 50368
2010-07-19 16:41:19 +00:00
Cedric BAIL
793c66b5dc
* edje: last move of properties in the right structure.
...
SVN revision: 50284
2010-07-16 16:00:26 +00:00
Cedric BAIL
93ea3f4e52
* edje: move all structures outside of Edje_Part_Description.
...
SVN revision: 50283
2010-07-16 14:24:57 +00:00