Commit Graph

118 Commits

Author SHA1 Message Date
Carsten Haitzler 2ae7a8cffb work on slider issues like not showing units brought up by player test 2013-07-18 22:19:44 +09:00
Ryuan Choi 27f6087892 Prefer eina_stringshare_strlen for shared strings 2013-06-27 19:24:18 +09:00
Daniel Juyung Seo 6cf684f02a elm: added more "focused" and "unfocused" documentations.
genlist, hover, index, list, map, photocam, progressbar, radio, scroller, slider, slideshow, spinner, toolbar, win.
2013-06-10 14:13:55 +09:00
Daniel Juyung Seo cbde4c55ca elm_slider.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:06:22 +09:00
Daniel Juyung Seo 5f053bf79a elm: refactoring. use more ELM_FREE_FUNC. 2013-05-23 15:54:49 +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
Carsten Haitzler 0ecc32f38d fix slider theme redo that loses indication show/hide state. 2013-04-01 22:24:35 +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 fb472f97b1 elementary - only support sending signals when orientation mode is changed.
it's enough right now.

need to consider more about theme change.
2013-02-26 13:26:22 +09:00
ChunEon Park 0a71cd2727 elementary/widget - revised orientation mode code.
now if applying the orientation style is failed, it tries to apply the original style. if it fails again then default theme.

also it fixed a logic error when theme changed is happened.

It will try to apply the original style if the orientation style is invalid on theme changing.




SVN revision: 84082
2013-02-19 08:22:15 +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
Daniel Juyung Seo a45bf9e5db elm slier: Used a macro for delay changed interval.
SVN revision: 82037
2013-01-03 06:12:38 +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
Shinwoo Kim 184b398750 [slider][access] bug fix: smart_activate(); works in the opposite way.
SVN revision: 80318
2012-12-06 08:48:50 +00:00
Gustavo Lima Chaves 4643908f4f [elm] Fix some copy and paste failures.
Thanks Cedric for reporting.



SVN revision: 80149
2012-12-04 12:52:06 +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
Christopher Michael 9de98909a9 Elm: Add missing unused for parameter.
SVN revision: 76227
2012-09-06 07:48:24 +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 e143475151 Elm: Fix slider popup to account for framespace.
NB: This is done because of the way slider handles the popup (indicator).
It is not getting trapped in the evas functions (or rather, the popup
falls through the traps there) so framespace is not accounted on the
popup, resulting in improper popup position when run in wayland.

NB: This is the only widget known to need this.



SVN revision: 75546
2012-08-22 12:45:44 +00:00
Christopher Michael f2ff49a5b0 Elm: Fix track_resize_cb to actually resize the popup with the proper
evas_object_resize call.

Not sure if this was a fat-finger c/p issue, or just plain
blindness/stupidity. How this remained in code for so long
without anybody seeing it is beyond me.



SVN revision: 75544
2012-08-22 12:37:21 +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
Cedric BAIL 601ac3dd90 elementary: make Elm_Slider update asynchronously.
SVN revision: 74909
2012-08-06 08:34:39 +00:00
Carsten Haitzler b1cd1f5d49 ensure indicator is the same scalle as the slider.
SVN revision: 74703
2012-08-01 03:05:41 +00:00
Gustavo Lima Chaves a3bf3caf6e [elm] Slider now inheritable.
SVN revision: 74687
2012-07-31 22:06:31 +00:00
Carsten Haitzler 9be83f5d70 printf--
SVN revision: 74349
2012-07-24 09:35:27 +00:00
Carsten Haitzler 3c95a78d0c fix layer bug with floating popup object in slider i added just before
freeze.



SVN revision: 74343
2012-07-24 04:59:45 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Gustavo Lima Chaves 8855306850 [elm] Init fixes for slider.
SVN revision: 74023
2012-07-17 18:46:03 +00:00
Gustavo Lima Chaves 4e73e51582 [elm] Style fixes.
SVN revision: 74022
2012-07-17 18:45:57 +00:00
Carsten Haitzler 9e254d1313 slider popup outside widget mode. backwards-compatible too. :)
i know - freeze is on. last thing going into elm. only because i
rejected the patch at the last minute and it was small enough to do
now.



SVN revision: 73450
2012-07-07 09:44:52 +00:00
WooHyun Jung 8e7e66416f elementary/slider : Just change number to Eina_Bool.
SVN revision: 70991
2012-05-14 08:21:48 +00:00
Gustavo Lima Chaves 2859a302e0 [Elm] Elm slider now a layout.
SVN revision: 70724
2012-05-03 22:42:54 +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 7b3265fd15 [Elm] Elm slider now a layout.
SVN revision: 70647
2012-05-02 16:59:35 +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
Jihoon Kim 7046f87e3a elementary: ignore key event of keypad when NumLock is turned on in win, scroller, slider, video, photocam, map, slideshow, and spinner.
SVN revision: 69952
2012-04-06 10:34:03 +00:00
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Daniel Juyung Seo c613f40a8c elm slider: Changed format function callback's const char * to char *.
The string will be freed in application's callback later. So 'const' is
not appropriate.
In elm_slider_indicator_format_function_set and
elm_slider_units_format_function_set.

SVN revision: 69692
2012-03-28 07:04:14 +00:00
Michael BOUCHAUD 5daadd979a elementary: made a min_max func calc. Need to call it in min_max_set units_format_set units_format_function_set (Ho ooops a bug here, now fixed :P)
SVN revision: 69272
2012-03-13 00:34:27 +00:00
Cedric BAIL 1b3c9b0c8a elementary: tell slider theme about min and max value, so it can set it size correctly.
SVN revision: 69256
2012-03-12 15:31:45 +00:00
Jiyoun Park 0faa410d24 remove code related with elm_slider_label
which was deprecated


SVN revision: 69101
2012-03-09 13:06:05 +00:00
Carsten Haitzler ebc4f11e3e review - slider had problem when in scroller. FIX!
:)



SVN revision: 67964
2012-02-15 07:38:28 +00:00
WooHyun Jung 78a49b8a3d elementary/elm_slider : Changed codes for not using feed events. This
codes are for the feature that "mouse down on slider bar" -> "button move to
the down position" -> "button will be dragged by mouse move".


SVN revision: 66733
2012-01-02 08:56:19 +00:00
ChunEon Park b1d157d235 elementary/slider - prevent infinite loop.
It looks no need to call the mouse feed events.
Someone needs to tell the reason.



SVN revision: 66630
2011-12-29 12:34:04 +00:00