Commit Graph

60 Commits

Author SHA1 Message Date
Daniel Juyung Seo a6376e31b1 elm_colorselector.c: Set the colorselector color first before calling "color,item,selected" callback.
Special thanks to Ryuan Choi. This was detected while reviewing his patch.
2013-05-23 17:24:13 +09:00
Daniel Juyung Seo ac25946a19 elm: introduce ELM_FREE_FUNC for code quality enhancement.
There are pros and cons but this
1. reduces human mistakes.
2. enhances readability.
3. enhances code quality.
4. removes future bug.
5. was adopted from enlightenment.

This is not all. I will work on enhancing elementary more and more.
2013-05-22 02:24:02 +09:00
Chris Michael 76eb5c8a1b Add missing HAVE_ELEMENTARY_X guards.
NB: Fixes ticket T107: Building elementary with only wayland support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-13 12:20:13 +01: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
Yossi Kantor 2b47d9ecd6 Colorselector - selection in palette with up and down arrows is now possible 2013-04-22 11:51:46 +03:00
Daniel Juyung Seo 4ef1ba5088 elm_colorselector.c: fix _item_sizing_eval in a better way.
In the previous way, edje_object_size_min_restricted_calc will never be called because VIEW(item) is an elm_layout.
2013-04-12 03:21:04 +09:00
Daniel Juyung Seo a18a5fa800 elm_colorselector.c: fixed formatting. 2013-04-12 03:19:30 +09:00
Daniel Zaoui 1f62ff7647 Elementary: check object class
We need to check that the object is an edje object before calling the
edje function.
2013-04-09 21:29:24 +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
Daniel Juyung Seo 78c042cdbe elm *.c: fixed formatting with EINA_LIST_FREE.
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +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
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 a345019094 [colorselector] remove resource leak possibility
SVN revision: 82456
2013-01-09 11:56:57 +00:00
ChunEon Park df32ff9669 elementary/colorselector - SAFETY NULL checking
SVN revision: 82444
2013-01-09 09:01:02 +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
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 Juyung Seo 2e31628963 elm colorselector: Palette items resize issue when item size is more than finger size and fixed: 1 1 warning in picker. Patch by Shilpa Onkar Singh <shilpa.singh@samsung.com>
On Tue, Dec 11, 2012 at 8:46 PM, SHILPA ONKAR SINGH <shilpa.singh@samsung.com> wrote:

    Hi All,

    Please find attached bug fix patch for Colorselector.
    This patch fixes the resize issue in palette which happens when
    palette item size is given more than finger size.

    This patch also fixes a fixed: 1 1 warning shown in picker(New addition to colorselector).
    This warning can be seen when we shift from "both mode"(palette+component)  to picker
    mode and back to both mode.

    Change description:
       elm_colorselector: Palette items resize issue when item size is more than finger size and fixed: 1 1 warning in picker
    fixed.

    Signed-Off by: Shilpa Singh(shilpa.singh@samsung.com)

     Thanks & Regards
    Shilpa Singh

SVN revision: 80937
2012-12-14 12:17:49 +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
Daniel Juyung Seo adc7416fcb elm access: Rename access hook name according to elm refactoring.
SVN revision: 78993
2012-11-08 08:33:26 +00:00
Cedric BAIL 6f20d1cb7f elementary: should work with wayland when both wayland and x11 backend are build.
SVN revision: 77496
2012-10-05 01:59:11 +00:00
Cedric BAIL 98f1dc53d6 elementary: add color picker to elm_colorselector.
SVN revision: 77409
2012-10-04 08:27:07 +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 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 65410cb43a [elm] Color selector now inheratable.
SVN revision: 74763
2012-08-01 21:04:33 +00:00
Carsten Haitzler 28ac974f16 fix OTHER segv in colorselector! the one cedric didn't find!
SVN revision: 74228
2012-07-20 10:08:08 +00:00
Cedric BAIL 187462ec9d elementary: fix erroneous memory access.
One more pack of beer for the Valgrind developer !


SVN revision: 74202
2012-07-20 04:20:06 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Hannes Janetzek 82fee2aff2 most probably this should have been EINA_FALSE
SVN revision: 70935
2012-05-11 19:20:31 +00:00
ChunEon Park a49270e385 elementary/colorselector - event hook opensource patch
Elm_colorselector: _elm_colorselector_smart_event function added.
  
Thanks & Regards
Shilpa Singh 

Signed-Off-By:ShilpaOnkar Singh <shilpa.singh@samsung.com>




SVN revision: 70925
2012-05-11 07:25:07 +00:00
Gustavo Lima Chaves 97622d3d34 [Elm] Colorselector now a layout.
SVN revision: 70743
2012-05-03 22:44:31 +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 93acd82838 [Elm] Colorselector now a layout.
There are issues with its theme, though. Later on I'll get back to it.



SVN revision: 70666
2012-05-02 17:01:53 +00:00
ChunEon Park aeb32f369f elementary/colorselector - send signal when mode is changed so as to set the padding properly
SVN revision: 69842
2012-04-02 04:22:46 +00:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +00:00
ShilpaOnkar Singh caced4ec35 elementary/colorselector - padding between color items non scalable bug fix.
Signed-Off-By: ShilpaOnkar Singh <shilpa.singh@samsung.com>



SVN revision: 69667
2012-03-27 13:15:36 +00:00
ChunEon Park 6b67fd1aba elementary/colorselector -
Attached to the mail is a patch for fixing issues

   1. "bg edje object not deleted on deleting colorselector" 

   2. Theme hook fixed to read data items.
Existing Issue:
  bg edje object of colorselector not deleted and data items not read again on theme hook.

Change Description:
  1. elm_colorselector's edje object not deleted issue fix.

  2. Theme hook updated to read data items again.

Signed-Off-By : ShilpaOnkar Singh <shilpa.singh@samsung.com>



SVN revision: 69459
2012-03-16 13:07:01 +00:00
ChunEon Park d951cb6136 elemenatry/colorselector - finally first implementation going on
Signed-Off-By: ShilpaOnkar Singh(shilpa.singh@samsung.com)



SVN revision: 69100
2012-03-09 13:04:00 +00:00
ChunEon Park 21d10bb9b6 elementary/colorselector - just empty API set is added to merge with color palette.
I know you all would blame to me.

But they  will be patched soon indeed. 



SVN revision: 68957
2012-03-07 14:25:53 +00:00
Daniel Juyung Seo de7fa17f92 elm colorselector: Reviewed colorselector. OK for this widget.
Signed-off-by: Daniel Juyung Seo <seojuyung@gmail.com>

SVN revision: 68641
2012-03-03 06:12:00 +00:00
Jihoon Kim d78262ee91 elm_colorselector: int*a -> int *a in elm_colorselector_color_get API
SVN revision: 68435
2012-02-25 08:15:43 +00:00
WooHyun Jung 6e1f989380 elementary/elm_colorselector : Button in elm_colorselector was
edjeobject, not elm_button. This patch will change all button
edje_objects to real elm_button. And long_press will be supported by
elm_button's autorepeat feature. (This patch was made by Shilpa. Thanks)


SVN revision: 64931
2011-11-08 02:49:57 +00:00
WooHyun Jung 951edc519b elementary/elm_colorselector : The arrow for the forth colorbar was
not colored well. So fixed it :)


SVN revision: 64053
2011-10-14 00:27:29 +00:00
Jonas M. Gastal 4a9a934c30 Elementary: colorselector documentation.
SVN revision: 61156
2011-07-08 14:37:16 +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
ChunEon Park 86df49c4da elementary / actionslider, calendar, colorselector, bubble, hoversel, clock
- updated them for using common signal callback table.




SVN revision: 58692
2011-04-15 17:01:39 +00:00
ChunEon Park c7c99ddea6 elementry / entry, menu, notify, list, gengrid, actionslider, image, icon, anchorview, fileselector_button, calendar, photocam, anchorblock,
button, map, colorselector, hover, photo, diskselector, index, bubble, pager, hoversel, check, scrolled_entry, clock, flipselector

	    updated signal callback list in the  doxygen. 

            should update genlist, progressbar ... 



SVN revision: 58335
2011-04-04 16:34:18 +00:00
ChunEon Park 0369dbff50 elementary / calendar, button, colorselector, bg, cnp_helper, bubble, check, box, clock - removed white spaces
SVN revision: 58253
2011-04-01 11:35:07 +00:00