Commit Graph

133 Commits

Author SHA1 Message Date
Daniel Juyung Seo d22076681b elm: Fixed formatting about smart_event check for code consistency.
- Made it look clearer.
- Removed unnecessary local variables.
- Keep the code sequence consistent.
2013-10-28 23:30:12 +09:00
Amitesh Singh 329eb907f1 [slider] - show popup on left/right/up/down key down press and hide popup on left/right/up/down key up press.
Test Plan: elementary_test->slider

Reviewers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D275
2013-10-23 16:42:05 +09:00
Daniel Juyung Seo a5a83e7a66 elm: Removed unnecessary local variable in sizing_eval. 2013-10-17 14:27:01 +09:00
Carsten Haitzler 95fdc9cc88 fix up namespace for many signal while keeping old versions for compat 2013-10-05 21:35:27 +09:00
Daniel Juyung Seo c40fbd89b8 elm: Use ELM_LAYOUT_DATA_GET convenient macro instead of calling eo_data_scope_get(obj, ELM_OBJ_LAYOUT_CLASS). 2013-10-05 17:29:13 +09:00
Daniel Juyung Seo 3b2c52c711 elm_slider.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:46 +09:00
Daniel Juyung Seo e756f97dae elm: Longwaited trailing white space removal. Clean elm up! 2013-09-30 22:15:01 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
ChunEon Park d461a8be05 elementary/widgets - set parents before widget constructs their body.
This avoids unnecessary multiple setups when obj and subobj has connected.
2013-08-27 14:19:19 +09:00
Carsten Haitzler 59e8bc5a35 Fix elm to use key not keyname (so xmodmap works) 2013-07-31 15:16:41 +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
Carsten Haitzler c7facc4739 re-fix slider to work again with def theme. 2013-07-26 16:26:17 +09:00
Carsten Haitzler 63b6e67659 elm-player: do a whole bunch of work to make this a usable widget now. 2013-07-25 18:30:35 +09:00
Carsten Haitzler e8e8c2334b slider - finally actually remove callback feedback loop from slider changes! 2013-07-19 16:00:45 +09:00
Carsten Haitzler cc3a575f95 fix self-feedback loop between slider and elm player in slider. 2013-07-18 23:10:34 +09:00
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