Commit Graph

19 Commits

Author SHA1 Message Date
Iván Briano d0570e47f3 Sharing is good, but not when it makes the domain appear incorrectly in error messages, so let's have externals use its own variable for that.
SVN revision: 67295
2012-01-18 16:31:41 +00:00
Michael BOUCHAUD c409cd16b3 elementary: from Jonas M. Gastal, adds a edje property called disabled to every edje external widgets.
SVN revision: 66169
2011-12-13 16:47:23 +00:00
Carsten Haitzler 16e1e0b663 dont ALWAYS init elm for externals - if one isnt used.. why init it?
(for that matter externals has a problem in design - it loads every
module for externals and thus links in every lib even if never used by
the app/edje obj).



SVN revision: 56218
2011-01-19 04:55:19 +00:00
Iván Briano aec02288a9 label is no longer a common parameter, and style is
SVN revision: 54109
2010-11-02 17:55:14 +00:00
Fabiano Fidêncio 2c10a5d7c1 warning--
* Add UNUSED to arguments no used
 * Add functions recently created to private.h

Patch by: "Fabiano Fidêncio" <fidencio@profusion.mobi>



SVN revision: 53763
2010-10-22 12:05:45 +00:00
Otavio Pontes c11bf5692a Add support for changing style from one elm widget in edje external.
Create a param 'style' that can be used in edje external
to change the style of one object.

Patch by: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 53754
2010-10-21 22:03:43 +00:00
Jonathan Atton 76a2b5f2cb Elementary:
- we can get the content of a external object
- a signal can be send to the content of a external object

SVN revision: 50731
2010-08-01 17:29:20 +00:00
Gustavo Lima Chaves 3451411326 New elm widget exported to edje: bubble.
SVN revision: 47559
2010-03-29 17:19:35 +00:00
Gustavo Sverzut Barbieri 439a3bd492 Proxy Elementary widget signals to Edje.
Add support to automatic proxy events from Elementary to Edje using
callbacks described with Evas_Smart_Cb_Description and set to
Evas_Smart_Class or per-instance with
evas_object_smart_callbacks_descriptions_set().

Right now elm_widget is not subclassable, so there is no way to define
class signals, just instance signals.

Just doing it for button, lots of widgets to do... If you can help,
please follow the process:

  * see example at src/lib/elm_button.c, copy it.

  * read your widget documentation at Elementary.h

  * grep for evas_object_smart_callback_call(), see if they are all
    documented in Elementary.h, or if there are some missing. Fix Elementary.h

  * paste and change based on fixed Elementary.h My recommendation is
    to create "static const char []" variables and replace all
    evas_object_smart_callback_call() with that, to force sync.


With callback descriptions pre-defined and using the same pointer with
a custom variation evas_object_smart_callback_call_ptr() we may later
optimize signal calling heavily, removing the requirement to call
eina_stringshare_add()/eina_stringshare_del() and also not mixing all
the callbacks in teh same list, instead having an array for defined
signals, and a list from there.  These optimizations are not in, but
they are easily added later without breaking the API/ABI.




SVN revision: 47461
2010-03-26 00:58:14 +00:00
Gustavo Sverzut Barbieri d1d996f13d Port to new Edje EXTERNAL API goodies!
Now it is possible to change labels and lots of other parameters
directly through Edje's API.

BIG FAT NOTE: this is a convenience that comes with a reasonable
    price. If you have hot paths, like loops, then avoid calling this
    and use the object directly. This functions add a cost to check
    edje, then find the part, then get the type, then get the
    param_set/param_get methods, then calling it, then finding the
    parameters using strcmp(), then checking the type and just then it
    will call the actual method. So whenever possible, just call the
    method directly.

Due the reasoning of the "big fat note" I'm adding this inside edje
externals only. The code would be almost the same to expose it in
Elementary.h as elm_widget_property_set/get, but then I know people
would misuse it... actually this kind of stuff could be easily ported
to Evas smart object, but then abuse and slowness will hunt us
foreveeeeer...




SVN revision: 47457
2010-03-25 18:10:25 +00:00
Gustavo Sverzut Barbieri 45fb5c7947 Edje EXTERNAL should use as parent the first elm_widget so focus chain
is correct.

This patch should fix issues with multiple entries not being able to
focus, if not, let me know.




SVN revision: 47375
2010-03-22 21:38:32 +00:00
Tiago Rezende Campos Falcao 435abed395 Adding Module Name to Externals
SVN revision: 45566
2010-01-25 20:30:39 +00:00
Iván Briano 66d310cf5b Fix typo and prototype
SVN revision: 45559
2010-01-25 18:52:05 +00:00
Gustavo Lima Chaves 500a0ffdd7 Adding more size hints to external object's icons.
Patch by Fabiano Fidêncio.



SVN revision: 45553
2010-01-25 14:24:15 +00:00
Iván Briano 507a2cde73 Icons for available externals, how exciting.
SVN revision: 45449
2010-01-22 20:07:47 +00:00
Iván Briano 3d6a80c5f8 Rename some parametes, use defaults, use info
SVN revision: 44274
2009-12-08 05:53:12 +00:00
Iván Briano 02cb10c6e5 State is not a common parameter
patch by Fabiano Fidencio


SVN revision: 44273
2009-12-08 04:57:39 +00:00
Iván Briano 5e7c1eb4db use right name for the module
SVN revision: 44270
2009-12-08 01:35:15 +00:00
Tiago Rezende Campos Falcao edf7f2e22e Elementary edje external modules
Widgets: Button, Check, Radio, Slider, Toggle

SVN revision: 44207
2009-12-06 01:22:54 +00:00