Commit Graph

226 Commits

Author SHA1 Message Date
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 f48ba4fb22 Some missing getters...
I'm working on edje_externals param_get/param_set and they will need
these functions.



SVN revision: 47450
2010-03-25 17:27:00 +00:00
Gustavo Sverzut Barbieri 06d14ed245 const and -Wextra, come on guys! :-/
SVN revision: 47409
2010-03-24 03:06:00 +00:00
Carsten Haitzler 9705f7dbe1 (remove useless edje_object_scale_sets's on objects that are not edje objects)
but more importantly - fix list to actually have a specific theme/base for it



SVN revision: 47381
2010-03-23 04:46:53 +00:00
Gustavo Sverzut Barbieri dbd9fcce4d Enable check of Elementary widgets and getting the first widget that
is parent of an Evas_Object.

With these in place, one can check if the given object is an elmentary
widget and query for the first widget that is parent, so we can add
them and keep focus chain correct, useful for Edje externals, patch to
follow.




SVN revision: 47374
2010-03-22 21:36:59 +00:00
Gustavo Sverzut Barbieri 7462246b63 reorganize genlist functions in header to make more sense.
SVN revision: 47294
2010-03-16 15:43:49 +00:00
Gustavo Sverzut Barbieri abe1f4275a Typedefs to help bindings, type less and make things easier to identify.
SVN revision: 47292
2010-03-16 15:31:38 +00:00
Gustavo Sverzut Barbieri 37de81817f Add elm_thumb object to Elementary.
The elm_thumb object interacts with ethumb to create a thumbnail.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 47240
2010-03-15 18:34:04 +00:00
Carsten Haitzler 8f34a43231 aaah typo! fix from lupan.
SVN revision: 47225
2010-03-14 22:33:52 +00:00
Carsten Haitzler ca93701c55 remove deprecated calls (been deprecated for a while now)
SVN revision: 47100
2010-03-10 07:21:10 +00:00
이상진 1ed46d09fb From: 이상진 <lsj119@samsung.com>
I am attaching another patches for transparent window.

1. Use RGB Visual.
2. Set destination_alpha in ecore_evas for alpha composite in evas.
3. add Function
   - Ecore_Evas_Engine_Func->fn_transparent_set
   - ecore_evas_transparent_set , ecore_evas_transparent_get
   - elm_win_transparent_set, elm_win_transparent_get




SVN revision: 46106
2010-02-12 05:31:26 +00:00
이상진 957fc1e3e2 From: 이상진 <lsj119@samsung.com>
Patch for rotate with resize

(some formatting fixed too like ecore patch)



SVN revision: 46047
2010-02-10 14:38:08 +00:00
Iván Briano ceb6345b7f Improve scrolled_entry a bit, it's still open for more love though.
Move test_conformant to use scrolled_entry.


SVN revision: 46012
2010-02-09 15:43:17 +00:00
Carsten Haitzler 56aba6a22b 1. fix conforman stuff to actually respect min size of content. it never did.
2. more comprehensive test.



SVN revision: 45863
2010-02-04 09:08:02 +00:00
Carsten Haitzler fb06522eb4 allow genlist items to be "display only" - eg used as spacers or state
indicators, section markers etc.



SVN revision: 45862
2010-02-04 08:06:41 +00:00
Sebastian Dransfeld 2356db9d22 Remove Ecore_Txt
SVN revision: 45791
2010-02-02 04:50:04 +00:00
Carsten Haitzler fbb103cfca label preferred line wrap width set thing.
SVN revision: 45576
2010-01-26 08:42:37 +00:00
Carsten Haitzler f7a8067a66 more launcher test code.... and mapbuf object used by launcher test code.
SVN revision: 45575
2010-01-26 08:17:26 +00:00
Cedric BAIL 99cea068ba * ecore: Move ecore_job inside ecore.
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>.


SVN revision: 45570
2010-01-25 21:59:21 +00:00
Carsten Haitzler 0460f51cff new test.
SVN revision: 45545
2010-01-25 09:07:10 +00:00
Carsten Haitzler cb8c22cde4 genlist - get realized items call! add!
SVN revision: 45543
2010-01-25 05:54:31 +00:00
Christopher Michael 708ca2cb9f If we are setting the window as a quickpanel, set some other properties also
(focus, window type, skip_pager, etc).

Add function for setting quickpanel zone (zone integer being 0-based).



SVN revision: 45529
2010-01-24 20:05:09 +00:00
Christopher Michael 5a719b953d Add elm_win functions for get/set of quickpanel priorities.
SVN revision: 45511
2010-01-24 10:21:54 +00:00
Christopher Michael 23a8daed87 Add elm_win function(s) for get/set of quickpanel.
SVN revision: 45510
2010-01-24 10:12:57 +00:00
Carsten Haitzler 591957a330 1. brian wang's patch for setting item count in a block, and homogenous
genlist mode, button repeat stuff. thanks very muchly

also - i added calc idler self-timer check. if it spends more than 1
frametime (time between frames - this is what it deems as "too much") on
calculation, then it breaks the idle and goes back to mainloop. could make it
half a frametime - but this will do for now.



SVN revision: 45479
2010-01-23 09:07:20 +00:00
Tiago Rezende Campos Falcao 448f5e60bc Scroller Policy for List. By Masaki
Author:    Thiago Ribeiro Masaki <masaki@profusion.mobi>

SVN revision: 45337
2010-01-19 18:46:48 +00:00
Carsten Haitzler 193e853586 get photocam image for event goop
SVN revision: 45321
2010-01-19 08:24:07 +00:00
김지훈 6fdc31d541 From: 김지훈 <jihoon48.kim@samsung.com>
I send the elm_notify patch for showing in the center of screen.
This patch is developerd by Hee Seo.

<--->

Looks good. simple. straighforward. into svn it goes!



SVN revision: 45320
2010-01-19 06:57:25 +00:00
Carsten Haitzler 568b955c1c move horizontal context menu option to data item - and fix some hoversel
style stuff that has been broken for ages and i just neever noticed!



SVN revision: 45282
2010-01-18 10:28:00 +00:00
Boris Faure 03dde19ac8 add elm_menu_item_data_set
SVN revision: 45256
2010-01-17 10:36:19 +00:00
Boris Faure 1d63301682 add elm_menu_item_data_get
SVN revision: 45253
2010-01-17 10:33:45 +00:00
Carsten Haitzler d574bf68f7 1. fix list theme adapting - simply never got callbac ks to handle iot,
that's why!
2. make cmd-line tool to set scale, theme, finger size (more later) - used
this to test this and fix it.
3. cmd-line tool... also uses elm - and... as a result... also has a dialog
sayint its doing something - and... it can get a gui config later too!



SVN revision: 45175
2010-01-15 09:32:43 +00:00
Christopher Michael 94686d2f80 Move conformant calls to elm_win_conformant_get/set.
SVN revision: 45161
2010-01-15 05:17:54 +00:00
Carsten Haitzler 658583e309 patch from <jihoon48.kim@samsung.com> - horizontal context menu option.
SVN revision: 45105
2010-01-14 03:47:28 +00:00
Carsten Haitzler cc406d10dd add unfocus call.
SVN revision: 45012
2010-01-10 02:18:50 +00:00
Boris Faure d0529a449d add missing prototypes
SVN revision: 45011
2010-01-10 01:15:32 +00:00
Christopher Michael 914243deb8 Add illume conformant widget and test app.
SVN revision: 44982
2010-01-08 17:54:26 +00:00
Tiago Rezende Campos Falcao fb2b5b1c5c Elm_List_Item selected getter
SVN revision: 44951
2010-01-07 16:34:19 +00:00
Tiago Rezende Campos Falcao 5d587ae577 Elm_List multi and horizontal getters
SVN revision: 44913
2010-01-05 19:42:04 +00:00
Jonathan Atton 0ea2b23bfa Elm_Slideshow : add item_data_get()
SVN revision: 44696
2009-12-23 17:10:18 +00:00
Jonathan Atton fb5a1aae29 Elm map : add API to set a custom source
SVN revision: 44678
2009-12-23 09:53:39 +00:00
Jonathan Atton 3a6d8926d3 Elm_Map : add a source manager and 3 souces
SVN revision: 44665
2009-12-22 22:47:17 +00:00
Gustavo Sverzut Barbieri abde958791 elm_slider : Add indicator format callback function and drag signals
Hello all,

   I just made my first attempt to improve Elementary.  The attached
   patch adds an indicator format callback function for showing a more
   versatile indicator string.  It also sends drag start/stop signals
   when the dragging starts and ends.  This is useful for showing a
   music playback progress slider.  When the slider indicator is being
   dragged, the indicator would show the "seek position" in time.
   When the dragging is stopped, the music player can then seek to the
   correct position.

   I couldn't figure out how to do this with elm_slider, so I just
   added these lines.

By: Brian Wang



SVN revision: 44649
2009-12-22 12:11:21 +00:00
Jonathan Atton 4e8afed130 Elm map : add a method to hide the markers of a group's class
SVN revision: 44615
2009-12-20 20:40:55 +00:00
Jonathan Atton fecc91bf03 Elm map : we can tell to a group class to not group the items if the zoom si greater than zoom_grouped
SVN revision: 44613
2009-12-20 18:48:31 +00:00
Jonathan Atton 007680e73f Elm map :
* now we have 2 class : 1 for the marker and 1 for the group. When a marker is "alone", the class of the marker is used, if it is grouped with others markers, the class of the group is used.
* markers with the same class are grouped. If 2 markers do not have the same class they are not grouped.
* an icon can be set by the user for a single marker or a class
* the theme have 3 different markers/groups : radio, radio2 and empty (only the numbers of markers and the icon are displayed)
* we can specify to display a group's class only for a zoom >= to a value. It means a marker of this group is not displayed for a zoom < to this value.
* off course we have new bugs too :)


SVN revision: 44610
2009-12-20 16:34:45 +00:00
Gustavo Sverzut Barbieri 33d3edaf1f change .h.in as well :-(
SVN revision: 44588
2009-12-20 00:27:19 +00:00
Jonathan Atton 33f4e9f399 Elm map: add poused_markers, if true the markers are not displayed while the zoom animation.
SVN revision: 44555
2009-12-18 21:28:06 +00:00
Carsten Haitzler fe9ba3dd4c add more bounce controls
SVN revision: 44533
2009-12-18 02:30:01 +00:00
Christopher Michael 4af589e631 Fix signal typo
SVN revision: 44532
2009-12-18 01:22:22 +00:00