Commit Graph

138 Commits

Author SHA1 Message Date
Carsten Haitzler 59e8bc5a35 Fix elm to use key not keyname (so xmodmap works) 2013-07-31 15:16:41 +09:00
Ryuan Choi 2ecff945b9 scroller: ELM_PRIV_XXX_SIGNALS adoption for scroller
Refactored signal declarations since b430c07ca1f1.
2013-07-16 08:11:52 +09:00
Jaehwan Kim d418b27b96 Add the elm_scrollable_interface_content_viewport_resize_cb_set.
When the viewport is resized, the enrolled function is called.
2013-06-30 14:42:34 +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 Zaoui a40bed2a38 Elementary: Fix scroller APIs to be usable by all the widgets using the
scrollable interface.
2013-05-24 16:31:25 +03:00
Gustavo Lima Chaves d8be9d6cf1 Scroller can me made to snap to pages on scrolling now. 2013-05-17 15:37:37 -03:00
Flavio Ceolin d53cc519ff Welcome a new smart callback for scrollables -- page,changed. 2013-05-15 18:57:15 -03:00
cabelitos 52597125f7 Adding a new scroller API, to block its movements (by user input).
With this new API the user can block movements on X axis, Y Axis or
both. I was left with no option but to come up with this, side by side
with elm_object_scroll_freeze_push(), elm_object_scroll_hold_push()
and elm_object_scroll_lock_x_set() (or
elm_object_scroll_lock_y_set()), once all of these will act on *parent
and/or child* widgets too, making those useless for any pratical use
of scroll blocking. Here's a sane, new option, enjoy it.
2013-05-10 11:07:10 -03: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 1ef3efd3e4 Revert "elm_scroller.c: merged two eo_do calls into one to get the benefit of eo."
setter and getter should not be used at one eo_do() calls.

This reverts commit a05909cee056ef181abb6c0705b51d842cc4c991.
2013-04-17 22:50:41 +09:00
Daniel Juyung Seo e0a78ef26f elm_scroller.c: merged two eo_do calls into one to get the benefit of eo. 2013-04-17 14:16:57 +09:00
Jaehwan Kim 87fc1389b9 Add the API elm_scroller_single_direction_set/get.
This sets how the content is scrolled.
2013-04-10 20:06:41 +09:00
Jaehwan Kim 85849217f9 Add the API elm_scroller_page_scroll_limit_set/get.
It sets the maxium of the movable page at flicking.
2013-04-06 13:09:59 +09: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
Jaehwan Kim 5f8af66123 Add the smart signals in scroller. "scroll,left", "scroll,right", "scroll,up", "scroll,down". 2013-03-15 18:53:17 +09: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
Jaehwan Kim d58d971e6f Add the option about sending signals in content_pos_set.
When the scroller is resized, the signals("elm,action,scroll", "elm,edge,top" so on) shouldn't be sent,
because it's not a scroll-action. So in this case, the content_pos_set should be called without the signals.
2013-02-28 15:18:51 +09: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
Jaehwan Kim fb6356fc58 Add smart callback signals of a scroller. "vbar,drag", "vbar,press", "vbar,unpress", "hbar,drag", "hbar,press", "hbar,unpress".
SVN revision: 83703
2013-02-07 06:13:31 +00:00
Shinwoo Kim 73e1b41050 [access][scroller] remove scroller from access highlight(focus) chain
SVN revision: 83649
2013-02-06 04:45:31 +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
ChunEon Park 71840e45d5 elementary - sorry i pushed together which should not be
SVN revision: 78654
2012-10-30 13:11:53 +00:00
Seunggyun Kimsgyun.kim 87635d081e RE: [E-devel] [Patch] Align of Elm_Notify
I attached new patch.
The old patch's default position and mirroring problem has been fixed.

I added new 2 APIs for supporting various notify's postion.
EAPI void elm_notify_align_set(Evas_Object *obj, double horizontal, double vertical); EAPI void elm_notify_align_get(const Evas_Object *obj, double *horizontal, double *vertical);

And below 2 APIs will be deprecated.
EINA_DEPRECATED EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient); EINA_DEPRECATED EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj);

Please review this patch.
Thanks:)

Signed-Off-By: Seunggyun Kim<sgyun.kim@samsung.com>



SVN revision: 78653
2012-10-30 13:09:33 +00:00
Daniel Juyung Seo 30dba54610 elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
SVN revision: 77244
2012-10-01 07:36:27 +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
Gustavo Lima Chaves 597313e157 [elm] Properly fix the scroller API entry issue.
SVN revision: 76408
2012-09-10 14:06:53 +00:00
Gustavo Lima Chaves 94e46bb26c [elm] Check for scrollable, not scroller, on these elm_scroller.c calls.
SVN revision: 76406
2012-09-10 13:52:36 +00:00
Gustavo Lima Chaves ac299e6a59 [elm] Rework focus_region and on_focus_region
hooks.

The former is now issued for all scrollables, with the behavior it had
before, and the latter is a new virtual base function, with a default
implementation leading to values matching the old case where one
didn't implement the hook.

Please help me test if everything is OK -- it seems so, here.



SVN revision: 75904
2012-08-30 16:47:16 +00:00
Gustavo Lima Chaves ff6ae0d0bf [elm] Scroller now inheritable.
SVN revision: 74680
2012-07-31 22:05:55 +00:00
Gustavo Lima Chaves 1cbb9301ca [elm] Here, better.
SVN revision: 74679
2012-07-31 22:05:50 +00:00
Gustavo Lima Chaves 7d1ffe6195 [elm] Some oopsies--.
SVN revision: 74405
2012-07-25 22:03:07 +00:00
WooHyun Jung 37ccbbcd72 elementary/elm_scroller : Focus direction failed on elm_scroller.
So I fixed.


SVN revision: 74366
2012-07-25 02:39:33 +00:00
Carsten Haitzler e73440197e fix evil scroller self-feeing loop scrollbar sizing issues.
SVN revision: 74041
2012-07-18 06:59:16 +00:00
Gustavo Lima Chaves 0ead820b96 [elm] No init code out of smart_add() -- scroller.
SVN revision: 73995
2012-07-17 14:56:44 +00:00
Gustavo Lima Chaves ce361dca42 [elm] Bug fixing on scroller.
We had an inconsistency of two missing getters, that would "leak" API
deprecation on specialized scrollers (scrollables). Putting them in
for good now.



SVN revision: 73540
2012-07-10 21:40:30 +00:00
Gustavo Lima Chaves 9e4f104587 [elm] Fix bad theming on new layout widgets.
SVN revision: 73381
2012-07-05 21:07:15 +00:00
Gustavo Lima Chaves 41892a360f [elm] Scroller widget now on scrollable interface.
Its API will be the the common one on ALL scrollable widgets, too.
Any scrollable widget having a function behaviour clashing with one of
the elm_scroller_* will be marked as DEPRECATED from now on.



SVN revision: 73309
2012-07-04 21:42:35 +00:00
WooHyun Jung f83917a420 elementar/focus : New feature - focus movement in all direction. By
using elm_widget_focus_direction_go function, focus will be moved from
the current focused object to the near object in one direction.
Direction can be set by degree(for easy usability). Degree changes
clockwise, i.e. 0 means UP, 90 means RIGHT, 180 means DOWN, and 270
means LEFT. You can select any direction by changing this degree.


SVN revision: 70681
2012-05-03 03:02:54 +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
Jiyoun Park a38ae3b4ca remove code related with elm_scroller_content
which was deprecated


SVN revision: 69095
2012-03-09 11:55:26 +00:00
WooHyun Jung e6b37886a8 elementary/elm_scroller : When focus_next is tried on the unfocused
scroller, only scroller(not the one of the child objects) will be set
as focused. This is because scroller is focusable.


SVN revision: 67113
2012-01-12 04:52:44 +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
ChunEon Park f856c0e9fe elementary - slider, scroller, progressbar, radio
applied elm_object_content_set/get/unset APIs. 



SVN revision: 64542
2011-10-31 02:56:03 +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
Daniel Juyung Seo 548d0c1647 elm scroller: Added EINA_ARG_NONNULL to API declarations and added
'const' to the first parameter of getter API.


SVN revision: 64122
2011-10-17 05:40:32 +00:00
Daniel Juyung Seo 4c31c1a1a1 elm scroller: Fixed wrong return value.
SVN revision: 64078
2011-10-15 00:44:11 +00:00
Hyoyoung Chang fad1e70386 From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: [E-devel] [patch] elm_scroller - add gravity functionality

I made a gravity features for stopping scroller.
Elm_scroller's fixed when child's growing lower.
However if scroller's child is growing upper,  
the elm_scroller always moving and waving to upper direction.
Because elm_scroller sets internal pan to keep current virtual position.
Gravity functions introduce to stopping scroller.



SVN revision: 64073
2011-10-14 10:57:31 +00:00