Commit Graph

106 Commits

Author SHA1 Message Date
Daniel Zaoui 0c915e9023 Cleaning: removed include Eo.h in widgets because it was indirectly included by Elementary.h
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79682
2012-11-26 09:29:01 +00:00
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
ChunEon Park 24ff5df8bc elementary/menu - only set icons when string exists.
SVN revision: 78753
2012-11-01 09:55:38 +00:00
ChunEon Park a00a3cc320 elementary/menu - dont' set icon name when icon name is NULL
SVN revision: 78698
2012-10-31 10:07:20 +00:00
Cedric BAIL 4e92316193 elementary: Simplifies code and removes redundant duplicated code.
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77396
2012-10-04 02:43:57 +00:00
Daniel Juyung Seo 30dba54610 elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Christopher Michael 0fce46076e Elementary: Revert all framespace changes.
NB: This means elm will be broken in wayland for a while while I sort
out what went wrong in evas.



SVN revision: 76173
2012-09-05 07:42:57 +00:00
Christopher Michael 30cc66d90d Elm: Account for framespace X also. Thanks for spotting this Daniel ;)
SVN revision: 76129
2012-09-04 12:51:57 +00:00
Christopher Michael e47a26bba6 Elm: Fix menus which get placed inside a toolbar for proper placement
in wayland.

NB: This also removes some unused variables.



SVN revision: 76118
2012-09-04 09:50:46 +00:00
Gustavo Lima Chaves 463dd0f8ae [elm] Menu now inheritable.
SVN revision: 74605
2012-07-30 22:35:55 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
WooHyun Jung f55ce04d1f elementary/elm_menu : Fix a crash. _menu_resize_cb should be removed
before hover and its target are deleted.  


SVN revision: 71276
2012-05-21 09:12:47 +00:00
Gustavo Lima Chaves bee044e599 [Elm] Menu now a new elm widget.
SVN revision: 71128
2012-05-15 19:36:19 +00:00
ChunEon Park d8f1c8014b elementary/menu - fixed crash problem when non-parent item is passed to the elm_menu_seprator_item_add()
SVN revision: 70982
2012-05-14 05:13:12 +00:00
Shinwoo Kim 355365d4a8 [E-devel] [Patch][elementary] elm_menu, fix improper indentation.
Hi!

I have just modified the elm_menu.c because there are some improper
indentation.
That's it... Thanks.

Sincerely,
Shinwoo Kim.

Signed-Off-By: Shinwoo Kim <kimcinoo@gmail.com>



SVN revision: 70758
2012-05-04 12:04:27 +00:00
Daniel Juyung Seo 3d15654faa elm elm_object_item: Fixed item part content set hooks.
1. delete old content object
2. check whether new content object is same as old content object
3. rename internal content set hook function
4. elm_widget_sub_object_del will be followed by evas_object_del
5. added some doxygen description.

SVN revision: 69738
2012-03-29 10:08:37 +00:00
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Jiyoun Park 151e9c90c6 remove elm_menu_item_data_get/set function
it were already deprecated


SVN revision: 69310
2012-03-14 02:55:39 +00:00
Jiyoun Park 018f04684a remove deprecated code related with
elm_menu_item_add_object
function.


SVN revision: 69233
2012-03-12 08:56:44 +00:00
Jiyoun Park 379aee40b4 remove deprecated function related with elm menu item
SVN revision: 69086
2012-03-09 10:55:38 +00:00
ChunEon Park fbcd46acea elementary/menu - fixed a infinite loop bug. should be resized the sub menu item
thanks bluezery for reporting.



SVN revision: 68865
2012-03-07 02:20:58 +00:00
Daniel Juyung Seo 480c61f20a elm: Formatting. No spacing after casting.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68807
2012-03-06 11:51:42 +00:00
WooHyun Jung 123bcbfc06 elementary/elm_menu : Deprecated one API and modified test codes.
SVN revision: 68619
2012-03-02 08:56:32 +00:00
Pau Espin Pedrol 1bde7e2f66 elm_menu: Deprecate elm_menu_item_object_icon_name_get/set and rename it to elm_menu_item_icon_name_get/set
SVN revision: 68568
2012-03-01 12:05:10 +00:00
ChunEon Park 71879017b1 elementary/menu - deprecated elm_menu_item_menu_get.
use elm_object_item_widget_get()



SVN revision: 68401
2012-02-24 11:20:18 +00:00
ChunEon Park c5232c4741 elementary - removed unnecessary checkings
SVN revision: 68393
2012-02-24 08:53:01 +00:00
ChunEon Park fcc6192848 elementary - modified item_del_pre_hook function prototype.
Now it returns the bool value to free the widget item.

Some widget items(i,e genlist) should not be deleted directly when elm_object_item_del is called.
So, if the pre_hook function returns EINA_FALSE, then the widget item will not be deleted.



SVN revision: 67565
2012-01-27 11:56:14 +00:00
ChunEon Park f2a914c1be elementary - rename an API
elm_object_item_object_get -> elm_object_item_widget_get	



SVN revision: 67235
2012-01-16 03:23:32 +00:00
ChunEon Park 56a881bd35 elementary/menu, ctxpopup, index, segment_control, diskselector, multibuttonentry, toolbar, naviframe, slideshow, hoversel, filpselector - deprecated xxxx_item_del() APIs.
But instead,  made to use the elm_object_item_del() APIs
for this, elm_widget_item needed to provide elm_widget_item_del_pre_hook.




SVN revision: 67010
2012-01-10 05:02:11 +00:00
ChunEon Park 0f8b78cdd5 elementary - renamed internal callback function
elm_widget_item_disabled_set_hook_set -> elm_widget_item_disabled_hook_set



SVN revision: 67007
2012-01-10 01:00:23 +00:00
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
ChunEon Park d263480f83 elementary/menu - applied elm_object_item common APIs.
@deprecated 
elm_menu_item_label_set
elm_menu_item_label_get
elm_menu_item_object_content_set
elm_menu_item_object_content_get
elm_menu_item_disabled_set
elm_menu_item_disabled_get
elm_menu_item_data_set
elm_menu_item_data_get




SVN revision: 65597
2011-11-25 11:52:35 +00:00
ChunEon Park 468985fa84 elementary/menu - Elm_Menu_Item -> Elm_Object_Item
SVN revision: 65596
2011-11-25 10:57:39 +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
Mike Blumenkrantz f3100ad3c6 don't require "menu/" prefix for menu icons, fall back on regular icon name
SVN revision: 63335
2011-09-12 03:14:53 +00:00
Mike Blumenkrantz 342330e063 really? part 2: really? with a vengeance.
SVN revision: 62155
2011-08-05 23:07:18 +00:00
Mike Blumenkrantz 7460ae79e8 as promised, deprecated menu api functions have now been removed
SVN revision: 62149
2011-08-05 19:40:14 +00:00
Daniel Juyung Seo 4879118510 elm: Removed trailing whitespaces before I work on.
SVN revision: 61933
2011-08-01 06:46:43 +00:00
Jonas M. Gastal 22ea003fdd Elementary: elm_menu documentation.
SVN revision: 61910
2011-07-29 21:40:54 +00:00
Mike Blumenkrantz 506710c9d1 unbreak elm_menu_item api
the following functions are now DEPRECATED and will be removed on 5 AUG 2011:
elm_menu_item_object_icon_get -> elm_menu_item_object_content_get
elm_menu_item_icon_get -> elm_menu_item_object_icon_name_get
elm_menu_item_icon_set -> elm_menu_item_object_icon_name_set

added the following NEW functions:
elm_menu_item_object_content_set
elm_menu_item_menu_get (this will probably be replaced by an eventual elm_object_item_owner_get() or whatever it gets named)


SVN revision: 61899
2011-07-29 15:08:56 +00:00
Mike Blumenkrantz a801e3f3fe helper function for menu item creation to deduplicate code
SVN revision: 61893
2011-07-29 14:04:54 +00:00
Mike Blumenkrantz 5db3d88170 +elm_menu_item_index_get
SVN revision: 61892
2011-07-29 14:00:31 +00:00
Mike Blumenkrantz 6139715778 remove const from return of some menu item_get functions
SVN revision: 61891
2011-07-29 13:29:04 +00:00
Mike Blumenkrantz ae8211afbf add note regarding swallowed content in items to elm_menu_item_object_icon_get
SVN revision: 61721
2011-07-26 01:51:50 +00:00
Mike Blumenkrantz 2139708729 radio buttons: GET IN MAH MENUS!!!!
added elm_menu_item_add_object which allows a user to directly add an arbitrary evas_object to be swallowed as a menu item, added radio item as test


SVN revision: 61717
2011-07-26 01:17:09 +00:00
Mike Blumenkrantz d67e39149a fix annoying but harmless safety check error with toolbar menus
SVN revision: 61663
2011-07-25 04:05:58 +00:00
Daniel Juyung Seo 22aeea6acf Elementary: Use !! to Eina_Bool substitution in EAPIs.
SVN revision: 58968
2011-04-27 16:06:11 +00:00
ChunEon Park d45f0154cf elementary / menu, list, index, pager - modified to use signal callback table.
SVN revision: 58807
2011-04-21 15:57:03 +00:00