Commit Graph

82 Commits

Author SHA1 Message Date
ChunEon Park 3d40877da4 elementary/hover - deprecated elm_hover_content_set/get/unset
SVN revision: 66989
2012-01-09 08:37:29 +00:00
ChunEon Park 569e56e904 elementary - Added 1 more API elm_object_item_del_cb_set()
also deprecated below APIs  

   elm_hoversel_item_del_cb_set()
   elm_diskselector_item_del_cb_set()
   elm_toolbar_item_del_cb_set()
   elm_index_item_del_cb_set()
   elm_menu_item_del_cb_set()                  



SVN revision: 66748
2012-01-02 11:46:32 +00:00
Daniel Juyung Seo a2d5107e60 elm hoversel: Fixed icon_get/icon_unset API.
SVN revision: 66356
2011-12-20 04:51:44 +00:00
ChunEon Park b62129c878 elemenatry/hoversel - updated doc. deprecated APIs
elm_hoversel_icon_set
elm_hoversel_icon_get
elm_hoversel_icon_unset
elm_hoversel_item_data_get
elm_hoversel_item_label_get



SVN revision: 66350
2011-12-20 02:44:46 +00:00
ChunEon Park 49fa96affe elementary/hoversel - Elm_Hoversel_Item -> Elm_Object_Item
**This may break your application compilation**



SVN revision: 66343
2011-12-20 01:03:17 +00:00
Boris Faure 1112d30a41 elm: change elm_object_content_part_set/get/unset to elm_object_part_content_set/get/unset
SVN revision: 65349
2011-11-17 21:02:31 +00:00
ChunEon Park 236192cd9a elementary - modified content_set/get/unset part names to be simple names.
Previous part names are just the swallow part names
but in modified version, the part names chaned to simpler meaning names to use.

i.e for button

elm_object_content_part_set(button, "elm.swallow.icon", icon);
-> elm_object_content_part_set(button, "icon", icon);




SVN revision: 65295
2011-11-16 12:51:53 +00:00
Daniel Juyung Seo bafe9c7426 elm: Use appropriate add/del_full for evas event callbacks.
SVN revision: 64536
2011-10-31 00:13:32 +00:00
ChunEon Park 8d85b136bf elementary/button -> use elm_object_content_set/get/unset
SVN revision: 64370
2011-10-25 01:23:25 +00:00
Mike Blumenkrantz 88bbad2635 add VIEW() and WIDGET() macros for use with Elm_Widget_Items to create more consistency, reduce typing, and increase readability
VIEW(X) = X->base.view (visible evas object)
  WIDGET(X) = X->base.widget (owner widget)

also a demo of the oxford comma for seoz


SVN revision: 64220
2011-10-21 01:08:01 +00:00
Mike Blumenkrantz 4ad1c5f0db create and use ELM_WIDGET_ITEM for elm widget structs to ensure location/name
SVN revision: 64218
2011-10-21 00:45:19 +00:00
Jonas M. Gastal 8231e7d76e Elementary: Hoversel documentation.
SVN revision: 61400
2011-07-15 13:54:39 +00:00
Tom Hacohen fc6c3c3fc8 Elm: Make all the widgets accept "default" as the default.
SVN revision: 61002
2011-07-04 10:52:23 +00:00
Tom Hacohen 4b0af66c91 Elementary: Rename elm_object_label_* -> elm_object_text_part_*.
This name is better as it also applies for entries, and not just
for labels.

SVN revision: 60975
2011-07-04 09:18:16 +00:00
Tom Hacohen 666e82caf6 elm hoversel: add the elm_object_text_set/get hooks.
deprecate: elm_hoversel_label_set/get

SVN revision: 60860
2011-06-30 05:43:56 +00:00
Tom Hacohen 2d498587d4 Elm: Fix a couple more deprecation warnings and use elm_object_text_set/get.
SVN revision: 60809
2011-06-29 09:31:01 +00:00
Daniel Juyung Seo 04b491da11 Elementary: Changed homogenous to homogeneous.
Deprecated existing APIs but not removed them. They will be removed
sometime later or when elm 1.0 is released. And added new APIs.
I fixed box, table and toolbar. I will modify other codes in trunk soon.


SVN revision: 59160
2011-05-04 04:53:39 +00:00
ChunEon Park 86df49c4da elementary / actionslider, calendar, colorselector, bubble, hoversel, clock
- updated them for using common signal callback table.




SVN revision: 58692
2011-04-15 17:01:39 +00:00
ChunEon Park c7c99ddea6 elementry / entry, menu, notify, list, gengrid, actionslider, image, icon, anchorview, fileselector_button, calendar, photocam, anchorblock,
button, map, colorselector, hover, photo, diskselector, index, bubble, pager, hoversel, check, scrolled_entry, clock, flipselector

	    updated signal callback list in the  doxygen. 

            should update genlist, progressbar ... 



SVN revision: 58335
2011-04-04 16:34:18 +00:00
ChunEon Park 0b74203480 elementary - fileselecto, actionslider, anchorview, fileselector_button, anchorblock, fileselector_entry, hoversel, scrolled_entry
SVN revision: 58254
2011-04-01 11:51:11 +00:00
Carsten Haitzler f74c18a02e make all widgets use a standard setup macro. cuts code down and
handles null parent errors, null wd alloc, null obj create errors etc.



SVN revision: 58242
2011-04-01 06:08:02 +00:00
Tom Hacohen f55a3f4cfc Elementary: fixed on-the-fly UI-mirroring in elc objects.
All sub-objects have auto-ui-mirroring flag turned off now
By Aharon Hillel.

SVN revision: 56922
2011-02-10 15:13:05 +00:00
Tom Hacohen c04d8990f0 Elementary: Added on-the-fly UI-mirroing support to all of the widgets
SVN revision: 56846
2011-02-09 16:14:02 +00:00
Tom Hacohen 99da5b6541 Elementary: Added ui-mirroring support for all the widgets.
SVN revision: 56803
2011-02-08 12:08:28 +00:00
3v1n0 ff67ce31fb Always check for valid evas object.
If you try to create a new widget, you must be sure that the parent
is really an evas object.

With the previous implementation it was possible to call an _add
function for an elementary widget with any non-null pointer as parent
eventually causing crashes (like with the elm_box).


SVN revision: 55521
2010-12-12 19:12:43 +00:00
helen 030b697366 EINA_SAFETY_ON_NULL_RETURN
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary

SVN revision: 55188
2010-12-03 14:08:33 +00:00
Tiago Rezende Campos Falcao a6183287d3 Add checkers to hoversel items
SVN revision: 54091
2010-11-02 11:26:50 +00:00
Tiago Rezende Campos Falcao 15d0643b10 Getters should received const pointers
Only two getters continue without const:
* elm_theme_get
Need name review, or comportament.

* elm_toolbar_item_menu_get
Need comportament review, but will be fixed by bdilly.

SVN revision: 53874
2010-10-25 14:34:22 +00:00
Tiago Rezende Campos Falcao 0e436c7431 Clean hoversel_add
SVN revision: 53621
2010-10-19 14:17:11 +00:00
Tiago Rezende Campos Falcao 738bfaa747 Review of content setters, getters and unsetters
Revised the parent, icon, end and content setter and getters of
elementary objects.
Review to smart objects and widgets items will be the next steps.

SVN revision: 53425
2010-10-14 18:54:42 +00:00
Carsten Haitzler 4f3090af01 and handle disables for everything else that has disable hooks.
SVN revision: 53138
2010-10-07 07:44:50 +00:00
Tiago Rezende Campos Falcao 7710ab14f0 Hoversel can have focus
SVN revision: 53072
2010-10-05 19:09:52 +00:00
Tiago Rezende Campos Falcao fc4ca8dfe4 Removing event_hook from hoversel
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

Event hook in hoversel is not needed, because the center of the hoversel
is a button that gets the event and calls the activate of the hoversel.

SVN revision: 52889
2010-09-29 12:22:35 +00:00
Tiago Rezende Campos Falcao 8ca4d18a0b Fixing can_focus to the widgets
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

widgets:
anchorblock:    can_focus = EINA_TRUE
anchorview:     can_focus = EINA_TRUE
fileselector:   can_focus = EINA_FALSE
hoversel:       can_focus = EINA_FALSE
notepad:        can_focus = EINA_TRUE
scrolled_entry: can_focus = EINA_TRUE
bubble:         can_focus = EINA_FALSE
calendar:       can_focus = EINA_TRUE
clock:          can_focus = EINA_TRUE
conformant:     can_focus = EINA_FALSE
flip:           can_focus = EINA_FALSE
frame:          can_focus = EINA_FALSE
gengrid:        can_focus = EINA_TRUE
genlist:        can_focus = EINA_TRUE
index:          can_focus = EINA_FALSE
list:           can_focus = EINA_TRUE
layout:         can_focus = EINA_FALSE
map:            can_focus = EINA_TRUE
mapbuf:         can_focus = EINA_FALSE
menu:           can_focus = EINA_FALSE
notify:         can_focus = EINA_FALSE
pager:          can_focus = EINA_FALSE
panes:          can_focus = EINA_FALSE
progressbar:    can_focus = EINA_FALSE
photocam:       can_focus = EINA_TRUE
scroller:       can_focus = EINA_TRUE
table:          can_focus = EINA_FALSE
thumb:          can_focus = EINA_FALSE
win:            can_focus = EINA_FALSE

SVN revision: 52888
2010-09-29 12:22:30 +00:00
Tiago Rezende Campos Falcao fc4a19b171 Listen Space/Return in some widgets
widgets:
* button
* check
* file selector button
* hoversel
* radio
* toggle

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 52600
2010-09-22 17:45:49 +00:00
Tiago Rezende Campos Falcao 2bc6b517c3 Complete some widgets with activate_hook
widgets:
* button
* check
* file selector button
* hoversel
* radio

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 52598
2010-09-22 17:45:43 +00:00
김지훈 d5b8d09591 From: 김지훈 <imfine98@gmail.com>
Subject: patch for indentation and using enum in elementary

I send the patch for elementary.
In this patch, I fixed the indentation of Elementary.h.in.
In addition, I use EINA_TRUE or EINA_FALSE instead of 1 or 0.
EVAS_HINT_EXPAND and EVA_HINT_FILL is used instead of 1.0 and -1.0.
Thanks.



SVN revision: 52447
2010-09-19 02:30:14 +00:00
Gustavo Sverzut Barbieri 9ed8bf92be Use elm_widget_item common base.
This patch changes all Elm_*_Item to use new infrastructure of
Elm_Widget_Item. This patch is basically a find-and-replace, but even
that was a bit tricky since every code had different names for the
same things, particularly for "view" and "widget" the names ranged
from "o"/"obj" to "base"/"o", quite confusing!

It is worth noting that Genlist and variants that adopted its "item
class" style such as Gengrid and Slideshow already provide a "del()"
callback there and I'm keeping them, however we should reconsider if
it is good to remove them and use elm_widget_item_del_cb_set()
instead. The drawback is that onde would have to set it, while the
other is done automatically when you create the object with the
class. Nonetheless this patch already introduces support to use
elm_widget_item_pre_notify_del(), but it will be void in such code as
nobody ever sets it.

Some new setters and getters were introduced to normalize code... and
they would be required once people write python-bindings for them,
like index and carousel.




SVN revision: 52118
2010-09-10 02:05:45 +00:00
Jonathan Atton 56079f7819 elm_hover/hoversel: set a default parent in the constructor. With the edje external type we can not set a parent currently but with this patch we can use theses widgets in specifics conditions (the parent will be the edje group)
SVN revision: 50303
2010-07-17 08:54:51 +00:00
Boris Faure 97dfb904e9 add doc, thanks to Mike Blumenkrantz (zmike)
SVN revision: 47801
2010-04-07 07:37:49 +00:00
Carsten Haitzler 0e56acdbcb patch from disco-man! :)
SVN revision: 47799
2010-04-07 01:31:36 +00:00
Tiago Rezende Campos Falcao 5dd010bb26 Hoversel External
SVN revision: 47607
2010-03-30 20:41:56 +00:00
Gustavo Sverzut Barbieri 06d14ed245 const and -Wextra, come on guys! :-/
SVN revision: 47409
2010-03-24 03:06:00 +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 e01d72fe26 Use eina_stringshare_replace to avoid crashes.
By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 47187
2010-03-13 21:01:26 +00:00
Carsten Haitzler 310810413c and some more warning--
SVN revision: 47097
2010-03-10 03:47:33 +00:00
Vincent Torri b07e49d435 remove unused parameter in the library.
I won't do this everyday, and i won't touch the tests.


SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler 91e01aa86e patch from discomfitor <- check type of widget on api call and return if not
the right type



SVN revision: 47073
2010-03-09 06:15:39 +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
Iván Briano 4d2464ccbc Set theme hook for hoversel so style changes are applied.
SVN revision: 45121
2010-01-14 20:06:41 +00:00