Commit Graph

116 Commits

Author SHA1 Message Date
Daniel Juyung Seo 74b3eed5fd elm: print the error message inside elm_widget_sub_object_add().
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
   Elm devs should fix it beforehand.
   So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Daniel Juyung Seo 615d05bfe5 elm: removed unnecessary multi blank lines. 2013-04-03 10:45:15 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
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 97c6cc2d81 elementary/button,label,bg - i have no idea but elm_layout_theme_set() should be called in smart_add().
this fixes the hoversel.



SVN revision: 84275
2013-02-21 05:57:05 +00:00
ChunEon Park 9256895f98 elementary/widget, naviframe, popup, label, button
let elm_wdg_orientation_set() have return value and call the elm_wdg_theme() inside.

since every widgets tend to do same task with smart_theme() when it's orient mode is changed.



SVN revision: 83981
2013-02-16 11:11:25 +00:00
ChunEon Park 55d595b44e elementary/naviframe,button,label - support naviframe, button, label orientation mode
SVN revision: 83947
2013-02-15 11:22:09 +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
Shinwoo Kim 76548cabbc [access] does not activate button if button is disabled.
SVN revision: 83118
2013-01-23 04:04:46 +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
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
Kim Shinwoo fdaf625316 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] access - activate widget
Subject: [E-devel] [Patch][elementary] scroller, slider - access
activate feature

the previous activate function just get object only. to activate scroller
or slider etc.. it needs more information. so the patch changed previous
activate(Evas_Object *obj) to activate(Evas_Object *obj, Elm_Activate act);
the Elm_Activate can be one of ELM_ACTIVATE_DEFAULT, UP, DOWN, RIGHT, and
LEFT.. you can add more if it is necessary.

I have attached two patches. one is for the slider and the other is for the
scoller.
this patch would support those who wants change value of slider or content
position of scroller on remote side.
this would be useful to the access side or voice control side also.



SVN revision: 76717
2012-09-17 03:01:46 +00:00
Carsten Haitzler 7b3e96932d use shinwoo's 2nd patch not first!
SVN revision: 75979
2012-09-03 08:49:45 +00:00
Kim Shinwoo 0bbfd9fc0b From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] access - add activate callback

till now, accessibility has used ecore_x_mouse_*_send(). the patch has
activate callback which takes place of the ecore_x_mouse_*_send() stuff.
if the access module is enabled and 'double tap' is detected, elm_win
will
receive ECORE_X_ATOM_E_ILLUME_ACCESS_CONTROL message with
ECORE_X_ATOME_E_ILLUME_ACCESS_ACTION_ACTIVATE and call the activate
callback for the accessibility. that's it.



SVN revision: 75978
2012-09-03 08:44:53 +00:00
Gustavo Lima Chaves 84b23046da [elm] Now those comments make less sense, remove.
SVN revision: 74768
2012-08-01 21:05:16 +00:00
Gustavo Lima Chaves 97e582d139 [elm] Tweeks on button inheritance.
SVN revision: 74760
2012-08-01 21:04:14 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Carsten Haitzler 4b84720636 fix Ticket #1122
SVN revision: 73614
2012-07-12 11:11:21 +00:00
Gustavo Lima Chaves b15d43ef71 [elm] Oops, forgotten class smart cbs setting
paths.
This will also unb0rk Edje externals signal proxying.



SVN revision: 71868
2012-06-08 21:05:45 +00:00
Gustavo Lima Chaves 4a38e1fa15 [Elm] And now button also inherits from
elm_layout.



SVN revision: 70711
2012-05-03 22:41:42 +00:00
Carsten Haitzler c0f2f4be91 REVERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
this breaks theme api. so NO! come back with a version that doesn't
break it.



SVN revision: 70679
2012-05-03 01:19:05 +00:00
Gustavo Lima Chaves ed1cee9604 [Elm] And now button also inherits from
elm_layout.
It's theme has now "elm.swallow.icon" as the icon spot ->
will change it on other themes ASAP.



SVN revision: 70634
2012-05-02 16:58:26 +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
WooHyun Jung cf9b82c6d9 elementary/button : Some codes were duplicated in _sub_del and
_content_unset_hook.


SVN revision: 69861
2012-04-02 12:33:29 +00:00
Jiyoun Park 64c0204f39 remove deprecated code related with elm_button_icon_set/get
SVN revision: 68791
2012-03-06 08:50:25 +00:00
Jiyoun Park f9fbc5ba51 remove deprecated code related with elm_button_label_get/set
SVN revision: 68786
2012-03-06 07:33:58 +00:00
Jaehwan Kim 770495da25 Revert r68492, r68497 and r68536. It's related to r68536. The revision is reverted.
So Currently, this code is not necessary. I'll patch this code later.


SVN revision: 68610
2012-03-02 02:03:24 +00:00
Jaehwan Kim 7c9b6438b3 The scale bug is fixed.
SVN revision: 68536
2012-02-29 06:31:25 +00:00
Jaehwan Kim 547b2c06ca The animation for content set and text set.
This animation effect was in toolbar originally.
But toolbar will use the button as toolbar item.
So I add this effect into button. This effect is useful in button too.
The work which changes toolbar item to button object will be patched next revision.


SVN revision: 68492
2012-02-28 06:31:25 +00:00
ChunEon Park 7c915bb141 elementary/button - prevent the clicked event, when button is disabled or freezed events.
SVN revision: 65883
2011-12-05 04:03:12 +00:00
ChunEon Park 085e500875 elemlentary - minor changes.
guarantee the compatibility for priveous content_set/get/unset changes. 



SVN revision: 65320
2011-11-17 00:42:14 +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
Daniel Juyung Seo 8d54a54260 elm button: Added _del_pre_hook to button. This reduces unnecessary calculations
and min setttings.


SVN revision: 63378
2011-09-14 09:53:11 +00:00
WooHyun Jung abf2d0ba62 elementary : indentation and some small changes
SVN revision: 62845
2011-08-26 02:02:15 +00:00
Carsten Haitzler ee218406b0 add visual feedback on accessibility mouseover too
SVN revision: 62713
2011-08-23 07:44:49 +00:00
Daniel Juyung Seo 98ac8c429a elm: Removed trailing whitespaces.
I always try to maintain elm with no trailing whitespaces. Please do not commit trailing whitespaces anymore.
I think maintaining a library clean is a good job. Once it gets mess, it's hard to fix them all at once.
1. Removing trailing whitespaces.
2. Fixing indentations.
3. Removing build errors and warnings.


SVN revision: 62595
2011-08-19 15:26:04 +00:00
Carsten Haitzler 3d52581f0e and start on allowing modified behavior when in access mode. ie turn
it on and off. just settable by env var and config file for now.



SVN revision: 62591
2011-08-19 14:39:27 +00:00
Carsten Haitzler a3592b4da6 and now add a "clicked" say... when u click.
SVN revision: 62587
2011-08-19 11:47:30 +00:00
Carsten Haitzler 6c1869043c button -> say state if disabled.
SVN revision: 62586
2011-08-19 11:20:45 +00:00
Carsten Haitzler 430e7463f5 this is... the beginning of accessibility supportin elm. it's direct
as in elm manages it itself - all it needs is a module to send text
to. one is provided here that just execs espeak and handles a stream
of things for it to say. this is only a start and is still being
fleshed out.



SVN revision: 62585
2011-08-19 11:07:42 +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
ChunEon Park 4f7d35eb6b elementary/button - added pressed signal
SVN revision: 60892
2011-06-30 23:43:24 +00:00
Tom Hacohen f0a6330e3f Elm button: add the elm_object_text_set/get hooks.
deprecate: elm_button_label_set and elm_button_label_get

SVN revision: 60799
2011-06-29 07:11:50 +00:00
Iván Briano 89ae35c22a Example for button and moving docs around
SVN revision: 60738
2011-06-27 17:16:00 +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
Daniel Juyung Seo 8a108db5ab Elementary: Use pre-defined type Edje_Signal_Cb instead of describing all of its parameters.
SVN revision: 58283
2011-04-03 05:32:17 +00:00