Commit Graph

101 Commits

Author SHA1 Message Date
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
ChunEon Park 0369dbff50 elementary / calendar, button, colorselector, bg, cnp_helper, bubble, check, box, clock - removed white spaces
SVN revision: 58253
2011-04-01 11:35:07 +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
Daniel Juyung Seo c2c9a2f723 Elementary elm_button.c: Fixed unnecessary spaces.f
SVN revision: 57682
2011-03-11 02:27:12 +00:00
Daniel Juyung Seo c94d05f948 Elementary button: Fixed 'if' statement indentation. Thanks Sebastian.
SVN revision: 57437
2011-02-28 21:23:59 +00:00
Daniel Juyung Seo 110e58531c Elementary elm_button.c: Fix formatting.
SVN revision: 57400
2011-02-27 22:59:12 +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
Carsten Haitzler 2696d9a740 Rajeev Ranjan(in India) made a patch for elm_button.
Reasons for this patch are as follows. 

1. Clicked signal is emitted from button when mouse release region
coincides
with button region and there has not been any drag outside the region
during
pressed state. (theme change)

2. Unpressed signal is emitted from button every time we press on
button and
unpress it irrespective of whether we unpress in button's region or
outside.
(theme change)

3. The unsetting of maximum size hint has been removed from _sizing_eval
function as there is a possibility that some application may set this
hint
and if we unset it then this information set by application will be
lost.

4. Modification in test code for button to show the difference between
clicked and unpressed signal emission from this widget. Added a
scroller in
the heirarchy to show the effect of hold on clicked signal emission.



SVN revision: 55687
2010-12-21 09:32:50 +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
Tiago Rezende Campos Falcao a609cc1b69 Elementary patch for supporting keypad
Author: Jihoon Kim <jihoon48.kim@samsung.com>

SVN revision: 55062
2010-11-29 13:56:33 +00:00
Iván Briano ea3dda3527 And let's not expose internal objects when setting signal callbacks on widgets.
SVN revision: 54004
2010-10-29 18:21:58 +00:00
Tiago Rezende Campos Falcao 352893a5af Add missing getters to elm_button
SVN revision: 53920
2010-10-27 14:38:45 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Tiago Rezende Campos Falcao 738bfaa747 Review of content setters, getters and unsetters
Revised the parent, icon, end and content setter and getters of
elementary objects.
Review to smart objects and widgets items will be the next steps.

SVN revision: 53425
2010-10-14 18:54:42 +00:00