Commit Graph

1197 Commits

Author SHA1 Message Date
Cedric BAIL 83e505b5c6 * edje: Add image set support.
Ease support of Freedesktop multiple size image.

	Sample:
	-------

	images {
		..
	       	set {
			name: "image_name_used";
  			image {
				image: "500x500.png" LOSSY 90;
     				size: 201 201 500 500;
  			}
  			image {
				image: "200x200.png" COMP;
     				size: 51 51 200 200;
  			}
  			image {
				image: "50x50.png" COMP;
     				size: 11 11 50 50;
  			}
  			image {
				image: "10x10.png" COMP;
     				size: 0 0 10 10;
  			}
		}
		..
	}



SVN revision: 49369
2010-06-01 13:31:07 +00:00
Carsten Haitzler 2136ee4451 edje -> version info
SVN revision: 49281
2010-05-29 08:05:11 +00:00
Carsten Haitzler cc621a2685 not fully done string insert approval cb for entry
SVN revision: 49276
2010-05-29 06:40:56 +00:00
Bruno Dilly 66c015f3cc Fix _edje_entry_cursor_end function.
This fix the issue with elementary cursor end set function.
The cursor is now after the last textblock node, and not before it, as
it was until now.



SVN revision: 49242
2010-05-27 22:18:37 +00:00
Bruno Dilly 5a34288bfb Add '-h' argument to edje_decc and improve usage message.
SVN revision: 49221
2010-05-27 02:39:20 +00:00
Carsten Haitzler a66404bfe2 ummmm edje wasnt processing the message queue. use jobs a little better.
SVN revision: 49204
2010-05-26 11:41:35 +00:00
Tiago Rezende Campos Falcao 9317ce25ac INT_MAX need limits.h. By Raphael Kubo
SVN revision: 49117
2010-05-21 22:53:41 +00:00
kiwi b55d9b91c3 preprocess the edc file on OpenBSD as on MacOS X.
NetBSD and FreeBSD might have the same issue

fixes handling of #define and comments in edc files, so e theme builds now on OpenBSD


SVN revision: 49113
2010-05-21 19:58:40 +00:00
kiwi 0bc9b1cf55 set EDJE_EXTERNAL_DOUBLE_UNSET to DBL_MAX instead of HUGE_MAX, so that it's a constant on OpenBSD.
set EDJE_EXTERNAL_INT_UNSET to INT_MAX for consistency.

that fixes compilation on OpenBSD and closes ticket #540
ok vtorri


SVN revision: 49112
2010-05-21 19:28:33 +00:00
Eduardo Felipe 023da4d5ba From: Eduardo Felipe <eduardofelipe87@gmail.com>
Upon creating a timer, it's callback must return an int, otherwise it
would panic. The python bindings do the nicety of, if the callback
function returns nothing, automatically canceling the reschedule of
the timer.

This patch does the same for lua. It's a oneliner.



SVN revision: 49051
2010-05-20 04:48:17 +00:00
Boris Faure 625818de6e edje: get parts in a part type BOX/TABLE
SVN revision: 48513
2010-05-01 17:13:38 +00:00
Boris Faure 5a4287896d edje: wibble
SVN revision: 48509
2010-05-01 16:17:44 +00:00
Carsten Haitzler 9f030460b3 use part geom for map - better for text.. oh yeah.
SVN revision: 48498
2010-05-01 12:40:27 +00:00
Iván Briano 0346030c17 Always allow selections for entries when select_mode is default
SVN revision: 48434
2010-04-29 19:56:59 +00:00
Tiago Rezende Campos Falcao 266ac4bd99 update mtime when save
SVN revision: 48432
2010-04-29 18:52:59 +00:00
Tiago Rezende Campos Falcao ea7c060805 Code Replication --
SVN revision: 48431
2010-04-29 18:52:55 +00:00
Iván Briano 843fb898ef be friendly with the commonlispers who like to call init and shutdown more than once
SVN revision: 48409
2010-04-28 23:10:31 +00:00
Iván Briano 2f9b52fb1c When changing source of a GROUP part, set/clean the swallowed_object, by Thiago Masaki
SVN revision: 48398
2010-04-28 18:40:05 +00:00
Iván Briano 53f05ae0e5 A bit more carefulness when deleting states.
SVN revision: 48352
2010-04-26 22:51:24 +00:00
Iván Briano 675bb06b45 Make program_del() a bit more straight forward while fixing the problems it had updating references.
SVN revision: 48350
2010-04-26 22:35:49 +00:00
Tiago Rezende Campos Falcao a68f8e5529 Edje_edit font_del
SVN revision: 48339
2010-04-26 18:19:49 +00:00
Tiago Rezende Campos Falcao f95de840fa Edje_edit font_add with alias
SVN revision: 48338
2010-04-26 18:19:46 +00:00
Tiago Rezende Campos Falcao 023d8d6c15 Edje_edit image_del
SVN revision: 48337
2010-04-26 18:19:43 +00:00
Tiago Rezende Campos Falcao 1c1eee2805 Edje_edit image_add review
SVN revision: 48336
2010-04-26 18:19:39 +00:00
Carsten Haitzler 685fadf869 item provider callback... add!
SVN revision: 48329
2010-04-26 14:55:45 +00:00
Carsten Haitzler 2d349c2d7b and dont mix anchors and items - for now. for now now way to "get" all the
items. mulling over how an item href name will map to having an evas object
attached/supplied (once there, its' easy to just control the object like href
objects, selection and cursor objects are).



SVN revision: 48311
2010-04-25 13:57:41 +00:00
Carsten Haitzler 39de4a6db7 support items... yo... mostly.
SVN revision: 48307
2010-04-25 13:06:58 +00:00
Carsten Haitzler 0dd3139705 apparently fbsd is unaware of expr substr...
SVN revision: 48276
2010-04-24 14:31:36 +00:00
Iván Briano 8b706a1786 Also use an edit object when generating the source.
SVN revision: 48231
2010-04-22 20:29:35 +00:00
Iván Briano 78ff22f2dc Fix infinite loop when trying to group_del and group_add when id is zero.
By Thiago Masaki


SVN revision: 48228
2010-04-22 19:09:30 +00:00
Iván Briano 812b9ef672 Un/Clip swallowed objects too when setting clipper.
SVN revision: 48225
2010-04-22 18:13:21 +00:00
Iván Briano f18163a403 Edje Edit: Now inherits the smart from Edje and has stuff of its own in there.
To use the Edje Edit API now you need to add the object to the canvas with edje_edit_object_add().
Normal edje functions will work as usual, but it's no longer possible to tamper with the standard objects internals.
Also, big reformat of Edje_Edit.h while fixing docs. Yes, monster commit.


SVN revision: 48220
2010-04-22 17:56:00 +00:00
Cedric BAIL 7df0e78a6f * edje: during removal the removed list is modified.
SVN revision: 48207
2010-04-21 16:36:55 +00:00
Iván Briano 661e7e8be2 Update references to groups when renaming or deleting one from the file.
Patch by Thiago Masaki


SVN revision: 48188
2010-04-20 22:12:15 +00:00
Iván Briano 1c63337989 Add after_del() function
SVN revision: 48177
2010-04-20 19:57:17 +00:00
Tiago Rezende Campos Falcao ad8314a7ce Removing ugly whitespaces
SVN revision: 48145
2010-04-19 20:37:40 +00:00
Tiago Rezende Campos Falcao a3333361f5 Dont need recalc params in external description in part_recalc.
Others types, like TEXT/TEXTBLOCK/SWALLOW/GROUP (others?), are similar to Externals. And may can recalc some properties only in description_apply, not on every call to part_recalc.

Some generic boolean properties, like "visible", can be moved to description_appy too.

SVN revision: 48144
2010-04-19 20:37:35 +00:00
Tiago Rezende Campos Falcao abc78c3d9a Use external_params_set to update params
SVN revision: 48143
2010-04-19 20:37:32 +00:00
Tiago Rezende Campos Falcao c1be10e587 Removing some warnings of edje
Remaining:
edje_lua.c:328: ‘_edje_lua_reg_count’ defined but not used
edje_lua.c:409: ‘_edje_lua_rawgetfield’ defined but not used
edje_lua.c:445: ‘_edje_lua_free_metatable’ defined but not used
edje_lua.c:2182: ‘_edje_lua_object_set_pointer_mode’ defined but not used
edje_lua.c:2190: ‘_edje_lua_object_set_precise_is_inside’ defined but not used

SVN revision: 48142
2010-04-19 20:37:28 +00:00
Gustavo Sverzut Barbieri 004df4045f Get a table element with its coordinates.
By: Hugo Camboulive <hugo.camboulive@gmail.com>


SVN revision: 48088
2010-04-17 20:28:22 +00:00
Carsten Haitzler d5f84085b5 and fix up.down arrow on intermediate lines with overflow
SVN revision: 48076
2010-04-17 16:19:28 +00:00
Carsten Haitzler 7700e78d19 char wrap - click to go to end works.
SVN revision: 48074
2010-04-17 15:50:27 +00:00
Tiago Rezende Campos Falcao 84e4660d68 Fix state_apply without animation.
Used in edje_edit_part_selected_state_set.

SVN revision: 48000
2010-04-14 16:34:06 +00:00
Tiago Rezende Campos Falcao 1cfae12558 Use eina.strbuf to generate the source code. Cedric suggestion
SVN revision: 47878
2010-04-09 16:05:17 +00:00
Tiago Rezende Campos Falcao e99f2e77cb Check source generation in save
SVN revision: 47842
2010-04-08 19:37:22 +00:00
Iván Briano 3c61844af1 Make the Edje Smart inheritable.
Pretty much moving some things around and extending the smart class
to allow overloading some common functions. Edje_Edit will make use
of this.


SVN revision: 47841
2010-04-08 19:21:54 +00:00
Iván Briano 1c53021214 Edje_Edit: Big Fat API Break.
All state functions now receive the value as a double, separate from
the state name.
Getting the list of states from the part still returns a list of strings
with everything together, but we'll change that soon too.


SVN revision: 47811
2010-04-07 17:04:49 +00:00
Tiago Rezende Campos Falcao 209a4ce236 Return FALSE when save fail
SVN revision: 47787
2010-04-06 18:18:53 +00:00
Carsten Haitzler 12012ef38a ok tested - it. new lua disabled for now (not ready). old lua still there.
SVN revision: 47783
2010-04-06 11:32:09 +00:00
Carsten Haitzler 8babebf48e an ongoing lua cleanup. existing lua is there and works for the most part.
but it could be much much much cleaner/better so i started a minimalist redo.
it's temporarily enabled right now. will disable soon to do in the background.



SVN revision: 47782
2010-04-06 11:26:32 +00:00