Commit Graph

363 Commits

Author SHA1 Message Date
Gustavo Lima Chaves 312d0217a0 An internal layout error, on a widget set, is a CRITICAL error. 2013-03-01 23:04:31 -03:00
ChunEon Park 844b5805ff elementary/widget - don't handle tthe resize objects in widget infrastructure. Acutally these resize objects are sub objects so we don't need to care them separately. This caused overhead in some cases(ie, theme change)
SVN revision: 83990
2013-02-16 13:39:59 +00:00
Jaehwan Kim 2a4a111289 Add the reorder effect in Toolbar.
SVN revision: 83936
2013-02-15 05:37:53 +00:00
Daniel Zaoui cdd1eea853 Replace supported_types
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83803
2013-02-10 07:52:31 +00:00
Daniel Juyung Seo ffa9c1e793 elm: Refactoring.
Smart data is already initialized so we do not need to re-initialize them if the value equals to 0, NULL, or EINA_FALSE.
Sometimes re-initializing smart data explicitly is needed for readability. So there are left overs.

SVN revision: 82228
2013-01-04 19:10:19 +00:00
Shinwoo Kim 88dac18cf7 [access] export elm_access_activate_cb_set(); and add related documentation.
SVN revision: 82052
2013-01-03 09:31:33 +00:00
Shinwoo Kim f10fb3e115 [access] export some APIs,and remove unnecessary lines.
+ elm_access_object_register();
  + elm_access_object_unregister();
  + elm_access_text_set();
  + elm_access_text_get();
  + elm_access_cb_set();

These APIs are to use edje part, evas object as an accessible object.
and do not create access object, because access object would be created at run time.
This is different with internal API _elm_access_object_register();


SVN revision: 81659
2012-12-23 14:50:56 +00:00
Stefan Schmidt 193e83033e elm/toolbar: Fix NULL dereference waiting to happen.
The macro returns NULL if it->prev is not valid. So we better check if prev is
not NULL before accessing it.

SVN revision: 81144
2012-12-17 14:12:49 +00:00
Daniel Juyung Seo e8152fd7c3 elm: refactoring. on_deletion -> delete_me.
1. delete_me was already there before on_deletion was used.
2. delete_me and on_deletion are same.
3. evas also has delete_me so use the same name.
4. i didn't change naviframe because it has different on_deletion usages from other widgets.

SVN revision: 80528
2012-12-08 18:17:04 +00:00
Jaehwan Kim ca6994b182 Small bug. In some case, the box cannot be proper size.
SVN revision: 80412
2012-12-07 06:57:16 +00:00
Jaehwan Kim b5c0606180 Remove the warning in toolbar
SVN revision: 80012
2012-12-03 07:12:38 +00:00
Jaehwan Kim af28727f14 Fix 0 division
SVN revision: 80011
2012-12-03 07:01:22 +00:00
Jaehwan Kim db9aec704d When the toolbar is deleted, there's no need to pass the selection to next item.
SVN revision: 80008
2012-12-03 06:52:03 +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
Jaehwan Kim add19e4e4f Change the parameter of the elm_toolbar_item_show/bring_in. Add the scroll type.
SVN revision: 79333
2012-11-15 10:27:46 +00:00
Daniel Juyung Seo 06e4578483 elm elm_toolbar.c: Use correct callback function.
SVN revision: 79286
2012-11-14 10:49:59 +00:00
Jaehwan Kim 7d98e7db8d Support the theme change about "base" in Toolbar.
SVN revision: 79270
2012-11-14 08:18:02 +00:00
Jaehwan Kim af3ceeccfd When toolbar is expand mode and scrolled, it's scrolled as a item.
SVN revision: 79265
2012-11-14 05:55:43 +00:00
Shinwoo Kim 2c018f252e [toolbar] enhance access feature - add smart_activate() to access object
*note: the toolbar item which has menu would need access feature of menu.


SVN revision: 79262
2012-11-14 04:08:25 +00:00
Jaehwan Kim 7cfe5d503e Add elm_toolbar_item_show/bring_in. It show or bring a specific item, when the toolbar can be scrolled.
SVN revision: 79134
2012-11-12 07:29:17 +00:00
Shinwoo Kim a19e32528f dear all, hello.
i would like to add access enhancement to the toolbar.
please review the attached. if there are no objections, I will commit it. 

cordially,
shinwoo kim. 


SVN revision: 78995
2012-11-08 09:20:37 +00:00
Daniel Juyung Seo 71d832404a elm access: Create access object only when access mode is enabled.
SVN revision: 78992
2012-11-08 08:02:12 +00:00
Shinwoo Kim 8ef6ac7f41 [toolbar] temporary smart_event() has blocked event propagation
SVN revision: 78354
2012-10-23 06:07:30 +00:00
Jaehwan Kim 45622bb3fa When the theme is changed, the min value should be set the min of edc newly.
SVN revision: 78162
2012-10-18 08:47:41 +00:00
Jaehwan Kim 0487a76057 Add the fitting the size of items according the viewport size.
If the sum of item's min is larger than the viewport size in ELM_TOOLBAR_SHRINK_EXPAND mode,
it can be scroll. And the end of the item is fitted on the end of the viewport.


SVN revision: 78156
2012-10-18 07:57:13 +00:00
Jaehwan Kim f3f96e6b7e No need code.
SVN revision: 78033
2012-10-16 05:29:24 +00:00
Kim Shinwoo 0dc4ef5aef From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] toolbar - highlighting item on
access

the current toolbar does not show highlight effect on accessibility mode.
the attached would give the highlight to toolbar item.
please review the patch and give feedback. thanks.



SVN revision: 77972
2012-10-15 05:47:02 +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
Jaehwan Kim 01691d9e7d fix indentation
SVN revision: 77177
2012-09-28 04:23:29 +00:00
Jaehwan Kim 052588f9d7 Add the toolbar API which expand the transverse length
SVN revision: 77107
2012-09-27 03:05:50 +00:00
Jaehwan Kim e7b533d11d Add reorder mode set/get API in Toolbar.
SVN revision: 76841
2012-09-19 05:23:22 +00:00
Jaehwan Kim 30c479371f The hidden signal is emitted when the icon or text is hidden.
SVN revision: 76488
2012-09-12 05:30:35 +00:00
Jaehwan Kim 4613933a34 When the number of item is changed, the toolbar emits the signal to theme.
The theme can be changed something according the number of item.



SVN revision: 76487
2012-09-12 05:15:43 +00:00
Jaehwan Kim 5211f692dd Toolbar items support to set/get the generic text.
SVN revision: 76270
2012-09-07 04:33:45 +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 58643b42bf Elm: Fix toolbar widget to account for framespace. Fixes ticket 1418
where the 'more' button was showing the popup incorrectly.



SVN revision: 76116
2012-09-04 09:42:27 +00:00
Gustavo Lima Chaves c0d48e6035 [elm] Toolbar ported.
SVN revision: 75889
2012-08-30 16:45:00 +00:00
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
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
Mike Blumenkrantz 15e90bc489 elm_toolbar_item_object_get()
elm_object_item_object_get() should probably be implemented at some point, but that is definitely one of the dumbest function names I have ever heard


SVN revision: 63711
2011-09-30 04:26:58 +00:00
Mike Blumenkrantz 99d7b9d6af new toolbar mode: always_select
when this mode is enabled, a toolbar item will always be selected. if the selected item is deleted, the next item will be selected. if there is no next item, the first item will be selected. if there is no next or first item, you can go <expletive deleted> yourself.


SVN revision: 63691
2011-09-29 23:46:55 +00:00
Mike Blumenkrantz 367017a322 should probably apply theme hook to toolbar items at some point I guess
SVN revision: 63650
2011-09-29 05:07:50 +00:00
Mike Blumenkrantz a73fd7e3f4 +elm_toolbar_item_icon_memfile_set
we should probably move towards an elm_object(_item)_icon_set api soon...


SVN revision: 63645
2011-09-28 23:07:18 +00:00
Mike Blumenkrantz 550156cfdc clicking a toolbar item is now a toggle:
clicking an unselected item -> item is selected
	clicking a selected item -> item is unselected


SVN revision: 63333
2011-09-12 02:05:30 +00:00
Daniel Juyung Seo 2e45192ffe elm toolbar: Fixed toolbar access function. Thanks to Gustavo Barbieri.
SVN revision: 62751
2011-08-24 16:13:13 +00:00
Daniel Juyung Seo 2d8183991e elm: Removed trailing whitespaces.
Raster finished accessibility. So I fixed it too.


SVN revision: 62737
2011-08-24 08:11:58 +00:00
Daniel Juyung Seo 8d779d2aaa elm toolbar: Fixed build warnings.
SVN revision: 62736
2011-08-24 08:10:48 +00:00
Carsten Haitzler 27d751a236 and now add custom access info for items too and clean up nicely.
SVN revision: 62734
2011-08-24 06:39:29 +00:00
Carsten Haitzler dbb4cbed93 and now do toolbar - showing how to add access stuff to items in a
widget



SVN revision: 62733
2011-08-24 06:29:13 +00:00
Mike Blumenkrantz ef51692042 damn inconsistent safety check macros
SVN revision: 62173
2011-08-07 03:54:23 +00:00
Mike Blumenkrantz 3e27658e51 whoops forgot to remove my debug printfs
SVN revision: 62172
2011-08-07 03:43:33 +00:00
Mike Blumenkrantz cf033a8c7a more useless elm stuff: vertical toolbar orientation (by cedric's request) along with toolbar test 6 as a demo. still pretty buggy but I'm tired and don't know when/if I'll get around to fixing it up. play with the toolbar weight in the test to find more bugs!
SVN revision: 62171
2011-08-07 03:42:28 +00:00
Tom Hacohen 4ba312a387 Elm toolbar: Fixed item_separator_set.
SVN revision: 62087
2011-08-04 09:39:25 +00:00
Bruno Dilly 85aa1ef9f2 Elementary: Toolbar Documentation
SVN revision: 61955
2011-08-01 14:51:18 +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
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 9420b44918 elementary/segment_control, panes, photocam, photo, win, toolbar, thumb, slideshow, spinner - updated signal callbacks.
made them use signal callbacks description table. 
removed never-called signals
updated doxygen. 




SVN revision: 58816
2011-04-22 00:42:32 +00:00
ChunEon Park 902a467b7e Elementary / genlist, slider, radio, win toolbar, thumb, toggle, scroller, slideshow, spinner
updated signall callback list in each doxygen 



SVN revision: 58342
2011-04-05 02:04:28 +00:00
ChunEon Park 22588576be elementary/theme, widget, win, toolbar, thumb, toggle, util, box - removed white spaces
SVN revision: 58249
2011-04-01 11:20:18 +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 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
Michael BOUCHAUD 0f80e8a743 elementary: avoid stack corruption unselect item toolbar before del it
SVN revision: 56335
2011-01-27 22:14:32 +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
Otávio Pontes ee43dafc16 elm_toolbar_item_icon_get should return the icon string.
Also improves documentation related to icon_set/icon_get.

SVN revision: 55182
2010-12-03 10:58:46 +00:00
Otávio Pontes ec86a81a78 Emiting signal to icon to unselect it. (bug fix)
SVN revision: 54874
2010-11-23 12:57:00 +00:00
Bruno Dilly d485668cb2 Fixing resize problems in toolbar.
Otavio Pontes <otavio@profusion.mobi>


SVN revision: 54468
2010-11-11 18:05:36 +00:00
Bruno Dilly d2874eecec Calling _resize function after functions that can change item size.
By: Otavio Pontes <otavio@profusion.mobi>


SVN revision: 54404
2010-11-10 12:38:47 +00:00
Bruno Dilly 2e5b0450ab Passing correct parameters when clicking in item in more menu.
Event info should be an Elm_Toolbar_Item.

By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54403
2010-11-10 12:37:06 +00:00
Bruno Dilly 6d30d387e8 Removing more_item from wd->items on elm_toolbar
By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54385
2010-11-09 21:21:46 +00:00
Bruno Dilly 317226eef6 Fix ingroup in elm_toolbar doc
SVN revision: 54378
2010-11-09 20:27:07 +00:00
Bruno Dilly 0f4950bb1d Getting toolbar icon size in theme.
Uses icon_size from elm_config as fallback.

By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54347
2010-11-08 19:59:22 +00:00