Commit Graph

226 Commits

Author SHA1 Message Date
Carsten Haitzler a4175ba928 fix toolbar icon size property to actually work as expected.
fix toolbar select cb to only be callled if select always is on or
item WAS unselected before (as per docs).



SVN revision: 75512
2012-08-22 03:11:23 +00:00
Carsten Haitzler fee7a0c645 fix another elm bug where arrows are not "clickable" for scrolling to
next/prev item - needed to add a feature to scrolelr (and accidentally
also to scrolled interface too :)) to make this work. now works.



SVN revision: 74969
2012-08-07 10:20:30 +00:00
Carsten Haitzler f8a6c01a79 formatting improvements.
SVN revision: 74958
2012-08-07 06:02:31 +00:00
Carsten Haitzler e33501260f fix toolbar srhink problem with a policy chnage. u cant have
homogenous and shrink menu or expand or hide. :)



SVN revision: 74929
2012-08-06 12:17:02 +00:00
WooHyun Jung 0cc6390e32 elementary/elm_toolbar : Toolbar didn't get key_down event because
there was no evas focus. And add event_hook for JaeHwan :)


SVN revision: 74411
2012-07-26 04:36:12 +00:00
Jaehwan Kim 634b9dc80e The label should be inserted and the visible signal should be emitted, only when the text exists.
SVN revision: 74304
2012-07-23 01:59:41 +00:00
ChunEon Park df36c3afa2 elementary/toolbar -- removed white space
SVN revision: 73598
2012-07-12 06:19:16 +00:00
Jaehwan Kim 1231092691 The more panel should be changed when the theme is changed.
SVN revision: 73483
2012-07-09 05:22:25 +00:00
Jaehwan Kim 445926adf9 The visible signal should be called when it is reloaded in _theme_hook_item.
SVN revision: 73482
2012-07-09 05:11:05 +00:00
Carsten Haitzler c21998e3b3 oops forgot part of previous toolbar style patch. in!
SVN revision: 73035
2012-06-29 12:28:08 +00:00
Artem Popov 281c8480ee From: Artem Popov <artem.popov@samsung.com>
Subject: [E-devel] Fwd:  [Patch] elm_toolbar add signals patch.

For new style of toolbar (align icon and text to center of item) are
necessary some signals ("elm,state,text,visible",
"elm,state,text,hidden", "elm,state,icon,visible",
"elm,state,icon,hidden")

 New style for toolbar, where icon and text are align to center of item.



SVN revision: 73028
2012-06-29 10:03:27 +00:00
Cedric BAIL d78b70af51 elementary: use Edje to enable accessibility on TEXTBLOCK.
Patch by Kim Shinwoo <kimcinoo.efl@gmail.com>.


SVN revision: 72841
2012-06-26 05:54:45 +00:00
Jaehwan Kim cab76c1f57 Sorry, Fix build conflict.
SVN revision: 72792
2012-06-25 08:50:11 +00:00
Jaehwan Kim f4db8e4ec1 In case a user sets min-value of the item, the toolbar shouldn't set the min-value to the number which is smaller than it.
SVN revision: 72788
2012-06-25 08:33:15 +00:00
Jaehwan Kim 3f370e5148 Add the reorder feature when the more panel is shown.
After the item is long-pressed, it can be moved.


SVN revision: 72129
2012-06-14 12:59:38 +00:00
Carsten Haitzler 0babab585e bitch--
SVN revision: 72044
2012-06-12 16:31:02 +00:00
Carsten Haitzler 9e0801e8ea debug bitch--
SVN revision: 72042
2012-06-12 16:27:15 +00:00
Jaehwan Kim 564b6f13c8 Remove the APIs elm_toolbar_items_max_set/get.
Instead of them, add the APIs elm_toolbar_standard_priority_set/get.
The items which are lower than standard priority are located in more menu or panel.


SVN revision: 71777
2012-06-07 07:32:55 +00:00
Gustavo Lima Chaves bbf0a4345e [elm] And now remove deprecated calls usage (WRT
icon/image thing).



SVN revision: 71473
2012-05-28 21:50:11 +00:00
Gustavo Lima Chaves 4f8b51b1aa [elm] And here comes image, icon and photo on the
new schema.
els_icon smart object was brought to be the base of the image widget,
in the form of an image class.

An elm icon is now a elm image, with a little more on top of it.

An elm photo is a now base widget aggregating an icon.

Toolbar's internal usage of the former els_icon is now changed to
icons, instead.

Some naviframe instantiations were set to enable events during
transitions, because this code is buggy and my chages exposed the
problem. It will be fixed as soon as I get to port Naviframe.



SVN revision: 71429
2012-05-25 19:53:59 +00:00
Jaehwan Kim 034c6928ed The parent of elm_menu_add shouldn't be a edje object.
SVN revision: 71314
2012-05-22 10:33:14 +00:00
Jaehwan Kim de1be9600b Toolbar: Add the more panel feature in toolbar. When it is the ELM_TOOLBAR_SHRINK_EXPAND mode and the max item is set, the items over max number are located in more panel.
The APIs are added for this feature.(elm_toolbar_more_item_get, elm_toolbar_items_max_set/get)


SVN revision: 71297
2012-05-22 05:18:12 +00:00
Jaehwan Kim 25ee318e6d Revert the revision 71185.
SVN revision: 71225
2012-05-18 07:16:28 +00:00
Jaehwan Kim 069260423e The separator is not a real item. So it shouldn't be counted.
SVN revision: 71185
2012-05-17 01:37:50 +00:00
Jaehwan Kim cd3281329b The elm_toolbar_iteams_count have to return only the number of manually added items.
SVN revision: 71096
2012-05-15 07:00:47 +00:00
Jaehwan Kim c5fcdbb59c When the separators exist in toolbar and the toolbar shrinks by resizing window,
sometimes the only separators are shown even though the items are hidden.
So the separator's visibility is desided by it's previous item.


SVN revision: 71093
2012-05-15 06:30:17 +00:00
Carsten Haitzler 3a7b769a63 use the new escape text set to clear up issues if theme has TEXT vs
TEXTBLOCK items and handling escapes so text is consistend across elm.
fiuxes the fileselector issues kai reported.



SVN revision: 70362
2012-04-20 12:51:10 +00:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +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
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