Commit Graph

118 Commits

Author SHA1 Message Date
Daniel Zaoui e2206a1a22 Eolian: Integration of Elm Widget 2014-03-17 09:03:56 +02:00
Davide Andreoli 33cd0f930d Label: better speed/duration calculation.
This fix the speed calculation with slide_short and slide_bounce
animation. Previously the calc was right only for slide_long.
2014-02-10 22:53:26 +01:00
Davide Andreoli b79fe302a0 Label: formatting 2014-02-10 22:31:58 +01:00
Davide Andreoli 2711a225ba Label: add 2 new api for setting the slide animation speed.
Added API:
void elm_label_slide_speed_set(Evas_Object *obj, double speed);
double elm_label_slide_speed_get(const Evas_Object *obj);

This work is based on the previous reverted commit by nirajkr, thanks!
I hope this will fullfill his requirement, please let me know of
any problems.
2014-02-10 00:13:03 +01:00
Davide Andreoli 3e5e4f6039 Revert "label : Added the API to match the speed of label to different label"
As discussed I will try to implement the same functionality but with a different api.

This reverts commit 56a2c96ea7a731d6066aa7cb0964a633c5bed35c.
2014-02-09 20:21:21 +01:00
nirajkr 29069fe9c5 label : Added the API to match the speed of label to different label
Summary:
Currently we do not set the speed of two label same
         This patch fetch the information of the previous
         label to set it to the next label to match the speed
         of the previous label

Reviewers: seoz, raster

Reviewed By: raster

CC: singh.amitesh

Differential Revision: https://phab.enlightenment.org/D531
2014-02-09 22:55:38 +09:00
Jaehwan Kim db23689614 access: Add smart signal "access,changed"
It occurs that access mode is changed.
Application can add this callback for each widget.
2014-02-08 14:05:14 +09:00
ChunEon Park dbacb2fef9 elementary - send signal "language,changed" with one way in the widget.
Call the smart callback in the widget infra so that each widget don't need to hook the smart_translate only for the smart call.

This makes reducing duplicated code and supporting language,chagned from all widgets.
2014-01-23 19:30:34 +09:00
Yakov Goldberg 3379c124df all widgets: change Eo API for "elm_widget_theme()" to "theme_apply"
There are elm_widget_theme/theme_set/theme_get functions.
    In Eolian these functions will be described as "theme" method and
    "theme" property. There is clash here.
    So add suffix "_apply" to Eo API for "elm_widget_theme".
2014-01-21 11:08:29 +02:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Jihoon Kim 56dd2d3bbd label: fix typo in comment 2014-01-03 18:32:27 +09:00
Daniel Juyung Seo e63dd3110a elm: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 13:03:55 +09:00
Tom Hacohen 2f1e1554e5 Changed Eo class names to be consistent.
All the class names are now of the format: Elm_Type_Subtype_Extra
2013-11-07 11:44:22 +00:00
Daniel Juyung Seo 0851c999e3 elm_label.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:43 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
Shinwoo Kim c47ef1b7fe [access] use proper name _elm_access_info_get(); not _elm_access_object_get(); to get access information 2013-07-31 12:57:49 +09:00
Daniel Juyung Seo 896f149e82 elm: use more descriptive and consistent local variable name. 2013-07-23 05:34:19 +09:00
Daniel Juyung Seo 46d08b10f8 datetime, lable: use SIG_LANG_CHANGED instead of SIG_LANGUAGE_CHANGED for consistency. 2013-06-09 17:56:30 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
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
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 0a1d984d9b [access] unregister an object from application side.
SVN revision: 83761
2013-02-08 06:16:03 +00:00
Shinwoo Kim 21ef67dbb0 [access][label] remove markup information to read out
SVN revision: 83316
2013-01-25 04:06:17 +00:00
ChunEon Park 6dd5d41f85 elementary/label - and cancel the ellipsis before label try to calc the text size.
SVN revision: 82320
2013-01-07 06:06:16 +00:00
ChunEon Park 1b2897fa18 elementary/label - recover ellipsis mode when slide mode is end.
SVN revision: 82315
2013-01-07 04:33:29 +00:00
ChunEon Park a9ff2c4093 elementary/label - removed unncessary
SVN revision: 82267
2013-01-05 06:01:56 +00:00
ChunEon Park 1612543daf elementary/label - removed unnecessary
SVN revision: 82266
2013-01-05 05:59:18 +00:00
ChunEon Park e1c165366a elementary/label - removed unnecessary call
SVN revision: 82265
2013-01-05 05:50:13 +00:00
ChunEon Park 5ab4c3ce0b elementary/label - added a label signal callback "slide,end"
SVN revision: 82263
2013-01-05 04:56:06 +00:00
ChunEon Park 2e70ef8124 elementary/label - removed workaround. now it's working slide reset every go is called.
SVN revision: 82259
2013-01-05 04:10:33 +00:00
ChunEon Park cf3b781b13 elementary/label - some missed stuff.
SVN revision: 82176
2013-01-04 13:44:08 +00:00
ChunEon Park 7746c70173 elementary/label - added elm_label_slide_go()
SVN revision: 82172
2013-01-04 13:24:37 +00:00
ChunEon Park 724a0b0f2d elementary/label - support slide effect of the label widget optionally.
now it supports slides the texts if the label area is smaller than the text width length.

deprecated - elm_label_slide_set()/get()
added - elm_label_slide_mode_set()/get()



SVN revision: 82169
2013-01-04 10:47:51 +00:00
ChunEon Park 0471757de8 elementary/label - more information for users
SVN revision: 82159
2013-01-04 08:00:56 +00:00
ChunEon Park 3d0e9dcfb6 elementary/label - you intended this if it cannot slide because of the text length.
SVN revision: 82158
2013-01-04 07:43:16 +00:00
ChunEon Park 4f6ed249a2 elementary/label - sliding -> slide
SVN revision: 82156
2013-01-04 07:39:14 +00:00
ChunEon Park fa34a04d32 elementary/label - removed unncessary set
SVN revision: 82153
2013-01-04 07:33:50 +00:00
ChunEon Park 1019226cc5 elementary/label - modified internal variable name to be more clear.
SVN revision: 82152
2013-01-04 07:32:10 +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
Michael BOUCHAUD 923765d6ba elementary: update the min size hint on elm_label after a text set
SVN revision: 79517
2012-11-21 17:09:44 +00:00
Kim Shinwoo 4de57c2cb9 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] *  access *

Series of of pathes from kim shinwoo. looked good to me - so in they
go, finishing off some more access mode to be more complete.



SVN revision: 75415
2012-08-18 13:52:03 +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