Commit Graph

197 Commits

Author SHA1 Message Date
WooHyun Jung ff7dbb7a73 elementary/toolbar : can_focus should be set as EINA_TRUE.
SVN revision: 69719
2012-03-29 06:41:23 +00:00
WooHyun Jung e7f4dd3945 elementary/toolbar : toolbar should be focusable as default.
SVN revision: 69714
2012-03-29 05:21:07 +00:00
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Jiyoun Park 94b924c15b remove elm_toolbar_mode_shrink_set/get
SVN revision: 69327
2012-03-14 10:08:15 +00:00
Jiyoun Park 886bd66ab3 remove deprecated code related with
elm_toolbar_always_select_mode_get/set
elm_toolbar_no_select_mode_get/set
function.


SVN revision: 69287
2012-03-13 07:50:39 +00:00
Jaehwan Kim f60d58099b Delete the object in toolbar item, when the item is deleted.
SVN revision: 69246
2012-03-12 11:01:13 +00:00
Jiyoun Park e109ac28af remove code related with
elm_toolbar_item_toolbar_get,
elm_toolbar_item_label_,
elm_toolbar_item_data_
elm_toolbar_item_disabled_
elm_toolbar_orientation_
elm_toolbar_item_del
elm_toolbar_item_tooltip_
elm_toolbar_item_cursor_
which was deprecated


SVN revision: 69104
2012-03-09 13:53:19 +00:00
Mike Blumenkrantz aa78786616 rename elm object select mode values: whoever wrote this deserves spankies
SVN revision: 68982
2012-03-07 16:01:37 +00:00
Hyoyoung Chang e479d536d6 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_toolbar - add elm_toolbar_select_mode_set

As already sent genlist select_mode_set patch,
I applied same apis to elm_toolbar.

+EAPI void
+elm_toolbar_select_mode_set(Evas_Object *obj,
Elm_Object_Select_Mode_Type mode)


+EAPI Elm_Object_Select_Mode_Type
+elm_toolbar_select_mode_get(const Evas_Object *obj)



SVN revision: 68945
2012-03-07 13:23:22 +00:00
Carsten Haitzler d599459721 warn--
SVN revision: 68893
2012-03-07 08:19:55 +00:00
Daniel Juyung Seo 61f160a4ee elm toolbar: Formatting.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68823
2012-03-06 12:35:22 +00:00
Carsten Haitzler 13bbec8fb6 warn+bug--
SVN revision: 68816
2012-03-06 12:08:11 +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
Jaehwan Kim 044fc4bf03 Add the item_content_set/get/unset_hook for setting the object as the content of the toolbar item.
It's possible the objects(like slider or progressbar and so on) can be shown in toolbar.


SVN revision: 68805
2012-03-06 11:35:11 +00:00
Jaehwan Kim d6a8be7f95 Add the ELM_TOOLBAR_SHRINK_EXPAND mode. The items be expanded according the size of the toolbar when it's set.
SVN revision: 68653
2012-03-04 09:52:20 +00:00
Mike Blumenkrantz 2e4d3a02a9 revert 68495 and all subsequent "toolbar refactoring" (rewriting) commits because they broke toolbar use for everyone.
in the future, rewrites like this MUST be submitted as PATCHES, not direct commits. this allows application authors to continue having fun writing code without suddenly having broken widgets.

I have left the newly committed edc, as it does not seem likely to cause issues on its own.


SVN revision: 68586
2012-03-01 19:14:46 +00:00
Carsten Haitzler fc7f5d08c4 warn--
SVN revision: 68501
2012-02-28 11:11:23 +00:00
Jaehwan Kim 243786dc54 Change the toolbar item by using button object.
The toolbar item was edje object. Because edje object cannot be focused, toolbar item cannot be focused, either.
But toolbar item should be focused in order to move the focus by each item.
Later, we will be able to move the focus by using arrow keyboard.
So I change toolbar item to be made up with button object.
Since toolbar cannot access button's edje object, the effect of content set and text set is moved in button.



SVN revision: 68495
2012-02-28 07:14:10 +00:00
ChunEon Park c5232c4741 elementary - removed unnecessary checkings
SVN revision: 68393
2012-02-24 08:53:01 +00:00
Carsten Haitzler ce4b795d8d toolbar vertical mode working right now.
SVN revision: 68267
2012-02-22 12:13:12 +00:00
ChunEon Park 21301d42c6 elementray/toolbar - deprecated elm_toolbar_cursor_* APIs.
Please use elm_object_item_cursor_* APIs instead.



SVN revision: 67624
2012-01-31 04:47: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
Daniel Juyung Seo 31f21e31ec elm toolbar: Changed elm_toolbar_mode_shrink_set/get ->
elm_toolbar_shrink_mode_set/get.
Also updated http://trac.enlightenment.org/e/wiki/ElementaryChanges

SVN revision: 66927
2012-01-06 06:42:10 +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
Mike Blumenkrantz edd1fb8c75 add items_count for toolbar to bypase O(N) counting on an inlist
SVN revision: 66646
2011-12-29 23:05:26 +00:00
Fabiano Fidêncio 77d0c1f015 elm toolbar: call the correct function to set a item del callback
We don't want a recursive loop, eh?
    And Merry X-Mas to all!


SVN revision: 66494
2011-12-25 02:36:00 +00:00
ChunEon Park 1120f143aa elementary/toolbar - deprecate APIs.
elm_toolbar_item_data_get
elm_toolbar_item_data_set
elm_toolbar_item_toolbar_get
elm_toolbar_item_label_get
elm_toolbar_item_label_set
elm_toolbar_item_disabled_get
elm_toolbar_item_disabled_set



SVN revision: 66057
2011-12-09 05:26:33 +00:00
ChunEon Park abab649687 elemenatry/toolbar -
removed BASE macro to disable the item.
but use the elm_widget_item_disabled_get instead. 




SVN revision: 66033
2011-12-08 13:53:38 +00:00
Tom Hacohen 291f7087e6 Elm toolbar: Fix brokeness introduced by commit 65708.
Disabled is a property of Elm_Object_Item and was a property of
Elm_Toolbar_Item as well. The aforementioned commit didn't remove the
property from the latter and then used both properties in an
inconsistent manner which caused data not to be up to date.

SVN revision: 65989
2011-12-07 12:56:34 +00:00
Mike Blumenkrantz db2a4ec3ec +elm_toolbar_item_icon_file_set()
at some point this whole item api should probably be replaced with generic object stuff


SVN revision: 65785
2011-12-01 19:14:48 +00:00
ChunEon Park befb09c131 elementary/toolbar - Elm_Toolbar_Item -> Elm_Object_Item
tweet: API Changes. This change may cause build break.



SVN revision: 65708
2011-11-30 05:10:23 +00:00
ChunEon Park be86dc2831 elementary/toolbar, table, box - removed *homongenous* APIs
SVN revision: 65603
2011-11-26 04:55:03 +00:00
Daniel Juyung Seo 92349c7b82 elm toolbar: Applied the API change - elm_menu_item_disabled_set to elm_object_item_disabled_set.
SVN revision: 65598
2011-11-25 15:30:57 +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 McCormack 692fc0d40d elementary: Remove casts
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65285
2011-11-16 06:18:45 +00:00
Michael BOUCHAUD d57161465f elementary: deprecate elm_toolbar_orientation_set and elm_toolbar_orientation_get to match and be conformant with the rest of api
SVN revision: 64562
2011-10-31 14:36:49 +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
Iván Briano 057a00829c Get us some nice auto translation scheme
First things first, I'm not sure I'm setting the right variable on
the setlocale() call, so someone more knowledgeable can look at it and fix it.

How this works, you say? Just like elm_object_text_part_set(), except now it
will pass the string given through dgettext() with the given domain (NULL
means it uses whatever the app set with textdomain()), and when changing
language with elm_language_set(), it will re-set the strings with a new
translation.



SVN revision: 64179
2011-10-19 14:17:14 +00:00
Mike Blumenkrantz 358be8d21f add double click and longpress smart callbacks for toolbar items
SVN revision: 63996
2011-10-11 22:09:14 +00:00
Mike Blumenkrantz 09a8378711 hmm need more caffeine to set proper buffer sizes today I guess
SVN revision: 63992
2011-10-11 21:05:32 +00:00
Mike Blumenkrantz e93200d8c2 add repeater/filter in toolbar for mouse clicks with button > 1
SVN revision: 63990
2011-10-11 20:14:52 +00:00
Mike McCormack beafec3884 elementary: Improve include file modularity
Move stuff out of elm_priv.h

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63900
2011-10-07 05:56:07 +00:00
Mike Blumenkrantz 99efe7327e some toolbar menu fixes to go with r63756
SVN revision: 63760
2011-10-03 03:47:52 +00:00
Mike Blumenkrantz 5bc9d81812 fix fixme in elm_toolbar_item_menu_get: no longer modifies a toolbar item
SVN revision: 63756
2011-10-03 02:25:30 +00:00
ChunEon Park 07c21ef747 elementary/toolbar - trivial changes
SVN revision: 63738
2011-10-01 04:20:36 +00:00
Mike Blumenkrantz e12c047b02 fix segvs
SVN revision: 63717
2011-09-30 07:33:09 +00:00