Commit Graph

73 Commits

Author SHA1 Message Date
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
Cedric BAIL c6e5c1987c elementary: fix infinite recursive call in elm_slider.
SVN revision: 66531
2011-12-26 15:01:51 +00:00
Cedric BAIL 4fee080155 elementary: make it possible to have more than one text in a slider.
SVN revision: 65827
2011-12-02 17:51:49 +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
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
Bruno Dilly 4c2b1d1deb Elementary: Slider documentation
SVN revision: 61806
2011-07-27 13:32:51 +00:00
Cedric BAIL 9a0a1410aa elementary: make it possible to actually free string returned by value to string callback.
NOTE: this introduce an API/ABI incompatibility. You need to think if you need to free the
data you allocated in the callback, if yes, then you need to provide a function to free that
data, if not, you could just set NULL as the third parameter.


SVN revision: 61019
2011-07-04 19:56:19 +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
Tom Hacohen 79f953f612 elm slider: add the elm_object_text_set/get hooks.
deprecate: elm_slider_label_set/get

SVN revision: 60862
2011-06-30 05:58:29 +00:00
Daniel Juyung Seo 5b30088911 Elm: Use 'canvas' API and structure rather than 'output' API and
structure.

'canvas' and 'output' are same. So we need to deprecate one of them
later(may be evas 2.0 or so.) After I discuss this with raster, I've
got to use 'canvas' not 'output'. So I fixed elementary codes.


SVN revision: 60268
2011-06-13 11:26:08 +00:00
Daniel Juyung Seo 77450413d7 Elementary src/lib: Removed all trailing whitespaces.
SVN revision: 58492
2011-04-08 14:36:29 +00:00
ChunEon Park 3761fc17f5 elementary / menu, gengrid, slider, separator, photocam, index, toggle
updated signal callback list in the doxygen



SVN revision: 58347
2011-04-05 07:04:09 +00:00
ChunEon Park 902a467b7e Elementary / genlist, slider, radio, win toolbar, thumb, toggle, scroller, slideshow, spinner
updated signall callback list in each doxygen 



SVN revision: 58342
2011-04-05 02:04:28 +00:00
ChunEon Park 711b428aae elementary / slider, radio, separator, photocam, photo, store, scroller, slideshow, spinner, progressbar - removed white spacesw
SVN revision: 58250
2011-04-01 11:24:15 +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
WooHyun Jung a180e3d30c From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: [E-devel] [Patch] Small patch for elm_slider (scrolling pop +
push)

I made small patch for elm_slider. 

I think scrolling should be freezed (not held) when dragging is
started. 

This is because scrolling can go on with elm_widget_scroll_hold_push. 



SVN revision: 57959
2011-03-22 02:59:06 +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 de13e30b39 fix warning/formatting.
SVN revision: 55652
2010-12-20 06:47:02 +00:00
WooHyun Jung e61549bce8 From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: [E-devel] [PATCH] Patch for elm_slider.c (if you click the
bar of the slider, the button will be at there.)

I made one patch for elm_slider.c file.

If you click the bar of the slider, the button will be located at there.

(If you keep your "mouse_down" after moving of the button, you can
continuously move the button.)



SVN revision: 55610
2010-12-17 10:52:59 +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
Jihoon Kim 44cf2f3382 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] elm_slider patch for disable state

elm_slider does not support disable state, so I make this patch.

Please review it and upload in svn if it is ok.

(nb - also fixed vertical slider sizing in defaul theme and changed
jihoons changes to slider test to make the vertical sliders in a
horizontal box so they dont get silly long windows)



SVN revision: 55340
2010-12-07 05:15:05 +00:00
Gustavo Lima Chaves 444cd0eb5f Don't let sliders mess with parent scrollers.
Actually all dragable thingies in Elementary should get that safety trick.



SVN revision: 55326
2010-12-06 12:45:56 +00:00
Gustavo Lima Chaves 5522998e58 Using mouse wheel elm-propageted at sliders.
When we have time, we'll research a way of signalling
mouse events from bottom up, too (or at least emulate that).
Might be useful for "trapping" mouse wheel events, what
Elementary can't do as is.



SVN revision: 55325
2010-12-06 12:45:49 +00:00
Gustavo Lima Chaves acea6344eb Better handling of mouse wheel events for sliders.
SVN revision: 55323
2010-12-06 12:45:33 +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 20db73ea48 Not return const Evas_Objects in (icon|end)_get
SVN revision: 54688
2010-11-18 12:55:31 +00:00
Tiago Rezende Campos Falcao d938999c78 Add missing object type checkers.
The test test_decl now warn about missing API_ENTRY or
ELM_CHECK_WIDTYPE.

SVN revision: 53956
2010-10-28 13:38:55 +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
Gustavo Lima Chaves e930af1ad9 New API functions for elm slider.
EAPI void elm_slider_end_set(Evas_Object *obj, Evas_Object *end);

will set a *right* aligned sub-object relative to the slider.

EAPI const Evas_Object *elm_slider_end_get(const Evas_Object *obj);

Getter for that object.

EAPI Evas_Object *elm_slider_end_unset(Evas_Object *obj);

Unparent a previously set end object.

EAPI Evas_Object *elm_slider_icon_unset(Evas_Object *obj);

The same for the icon sub-object.

EAPI void elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show);
EAPI Eina_Bool elm_slider_indicator_show_get(const Evas_Object *obj);

Set/get whether the slider should display the augmented knob (indicator) at
mouse drag at all.



SVN revision: 52852
2010-09-28 15:09:19 +00:00
김지훈 d99918389f From: 김지훈 <imfine98@gmail.com>
I changed elementary source code related to focus functions.
Eina_Bool is used instead of integer type in those functions.



SVN revision: 52839
2010-09-28 04:28:14 +00:00
Tiago Rezende Campos Falcao 59e7d34f2c slider, slideshow and spinner with keyboard arrows
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

elm_slider now respond to the keyborad arrows depends on its position.
If it is in a horizontal mode, than its value will change by pressing
left and right, other wise it will respond by pressing up and down

elm_slideshow: go to next and previous with keyboard arrows

elm_spinner: respond to left and right keys in an animated way

SVN revision: 52816
2010-09-27 21:13:41 +00:00
Tiago Rezende Campos Falcao 68c1638c16 Focus suport for some widgets
Widgets:
* check
* radio
* slider
* toggle
* spinner
* slideshow

Author:    Thiago Ribeiro Masaki <masaki@profusion.mobi>

SVN revision: 52599
2010-09-22 17:45:46 +00:00
Carsten Haitzler bce9e5560a slider -> handle theme change.
SVN revision: 52284
2010-09-15 05:07:12 +00:00
Lucas De Marchi 3e8419285d Fix common misspellings
Following misspellings were fixed:

accomodate->accommodate
alwyas->always
backgorund->background
beween->between
dependant->dependent
desireable->desirable
doesnt->doesn't
emmitted->emitted
imediately->immediately
ocurred->occurred
sucess->success
ther->the
tranformed->transformed
usefull->useful



SVN revision: 52009
2010-09-09 00:35:43 +00:00
Cedric BAIL bdf6efa129 * elementary: fix Ecore API changes.
SVN revision: 49860
2010-06-25 09:58:14 +00:00
Iván Briano 99ff1921a9 Standardizing elm_<widget>_{icon,content}_set API
elm_<widget>_icon_set was changed to the better form and the signals
was passed to hidden icons when one icon is changed/removed.
Moreover, when changed by {icon,content}_set the old {icon,content}
will be deleted.

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 49706
2010-06-16 20:58:09 +00:00
Carsten Haitzler d888b71dba theme -> can specify a new theme for an object andit gets inherited. need to
add tests.



SVN revision: 48771
2010-05-12 01:03:46 +00:00
Tiago Rezende Campos Falcao 8428f91d63 Just some fixes to show changes like horizontal and inverted in editje.By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47648
2010-04-01 14:22:41 +00:00
Gustavo Sverzut Barbieri 9c951bc6fc Describe more widgets callbacks.
These are all that Editje support now :-) Add others later as
required, but patches are welcome!



SVN revision: 47488
2010-03-26 10:59:56 +00:00
Cedric BAIL 96657f33af * elementary: enable wheel in slider.
SVN revision: 47454
2010-03-25 17:47:48 +00:00
Gustavo Sverzut Barbieri f48ba4fb22 Some missing getters...
I'm working on edje_externals param_get/param_set and they will need
these functions.



SVN revision: 47450
2010-03-25 17:27:00 +00:00