Commit Graph

29 Commits

Author SHA1 Message Date
Shilpa Singh 9151befe0d Colorselector: Item Selection/Unselection logic changes and corresponding API additions.
SUMMARY
Item should remain selected once pressed.
When one item is selected other items should be unselected.
No special behavior on long press, item gets selected on mouse up.
APIs added are to get current selected item and to programmatically
control the selection/unselection of an item.

This is patch D515 (had to do by hand).
2014-02-08 13:33:58 +09:00
Shilpa Singh b2d43d4cf4 Colorselector: Palette_items_get API added.
Summary:
Summary:
Issue:Colorselector adds default palette items by reading colors
from config, application do not have any way to get that color list.
Solution: API added to get the palette's item list.
Signed-off by: Shilpa Singh(shilpa.singh@samsung.com)

Test Plan:
Test Plan: Create a list pointer and call palette_items_get API to get
the list of color items. Change the color of any item to confirm
whether the list has been returned correctly.

Eina_List *list = elm_colorselector_palette_items_get(cs);
Eina_List *list2 = eina_list_last(list);
Elm_Object_Item *color_item = eina_list_data_get(list2);
elm_colorselector_palette_item_color_set(color_item, 0, 0, 0, 255);

Reviewers: seoz, Hermet, raster

CC: govi, myoungwoon

Differential Revision: https://phab.enlightenment.org/D503
2014-02-07 23:35:13 +09:00
Daniel Juyung Seo d955c579ca elm_test: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18:08 +09:00
Carsten Haitzler 3910b15578 elm-test - oops - fix colorsel premul 2013-11-16 12:49:26 +09:00
Carsten Haitzler 9c96c4fa36 fix color premul complaints in examples
this should fix T498
2013-11-16 10:21:03 +09:00
Jean-Philippe Andre 877e122e7a elementary_test: remove ELM_LIB_QUICKLAUNCH
Refer to the previous commits for the reason.
Remove all #ifndef ELM_LIB_QUICKLAUNCH from the test files.
2013-11-05 10:05:01 +09:00
Daniel Juyung Seo 83db5ad972 elm_test: __UNUSED__ -> EINA_UNUSED. 2013-09-01 10:18:03 +09:00
Carsten Haitzler b2ee9057a0 make colorselector set colors correctly (premul argb) and not mess entries 2013-08-01 20:53:50 +09:00
Daniel Juyung Seo 07911ab648 test_colorselector.c: refactoring.
1. intuitive smart callback names.
2. better printf contents.
3. avoid unnecessary casting.
4. use a proper space.
2013-05-23 19:11:57 +09:00
Ryuan Choi cbe6ae16b0 elm_colorselector: Can't receive "changed" signal when clicked color palette.
As document mentioned, "changed" should be emitted when the color value is changed.
So, this patch emits "changed" signal when color value is really changed.
In addition, fixed some formatting issue of test_colorselector.
2013-05-23 18:47:07 +09:00
Daniel Juyung Seo f33db2a8ef elm test_colorselector.c: Added PICKER mode for color selector.
SVN revision: 77426
2012-10-04 11:00:26 +00:00
ChunEon Park 63ef69e2a6 elementary/colorselector - elm_colorselector sizing related theme buf fix patch
Hi Mr. Park,

Please find attached theme bug fix patch of elm_colorselector.
Bug: 
1. Colorselector spreading its size to whole window.
2. Colorselector size not adjusting properly when shifted in between different modes. 

Change Log: Color selector Theme fixed to adjust size properly based on mode and demo
application appropriately fixed with proper size.

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

Thanks & Regards
Shilpa Singh



SVN revision: 70869
2012-05-08 08:51:09 +00:00
Daniel Juyung Seo 7f2fc8ef80 elm bin: Use convenient utility function elm_win_util_standard_add()
instead of elm_win_add() + elm_bg_add(). This is for normal style
(ELM_WIN_BASIC) window.

SVN revision: 69848
2012-04-02 06:20:28 +00:00
Daniel Juyung Seo e838d6d2f2 Revert a wrong commit. Un-wanted files are committed together.
Revert "elm bin: Use convenient utility function elm_win_util_standard_add() instead of elm_win_add() + elm_bg_add(). This is for normal style (ELM_WIN_BASIC) window."

This reverts commit 31b24a0edb0028528d7c859070e03236ba42867b.

SVN revision: 69847
2012-04-02 06:20:22 +00:00
Daniel Juyung Seo b4308ab089 elm bin: Use convenient utility function elm_win_util_standard_add() instead of elm_win_add() + elm_bg_add(). This is for normal style (ELM_WIN_BASIC) window.
SVN revision: 69845
2012-04-02 06:07:58 +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
ChunEon Park 9d4398fff6 elementary/colorselector - updated for elm_colorselector_mode_set test
SVN revision: 69832
2012-04-02 01:48:25 +00:00
ChunEon Park 6dc1215380 elementary/colorselector - more proper parents passing
SVN revision: 69831
2012-04-02 00:55:04 +00:00
ChunEon Park b8274af55b elementary/colorselector - removed unnecesary layout
SVN revision: 69830
2012-04-02 00:50:57 +00:00
Mike Blumenkrantz cf8ab5c674 for the last time: CONFIG.H ALWAYS GETS INCLUDED FIRST. AAAAAAAALLLLLLLLLLLLLLLLLLLLLLLWAAAAAAAAAAAAAAAAAAAAAAAAAAAYYYYYYYYYYYYYYYYYYYYYSSSSSSSSSSSSSSSSSSS
SVN revision: 69764
2012-03-29 19:27:13 +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
Jihoon Kim 1bdfd32580 elementary_test: fix formatting
SVN revision: 68000
2012-02-16 05:03:57 +00:00
Boris Faure 1112d30a41 elm: change elm_object_content_part_set/get/unset to elm_object_part_content_set/get/unset
SVN revision: 65349
2011-11-17 21:02:31 +00:00
ChunEon Park f3066c815f elemetary - notify, factory, frame, panel, mapbuf
applied content_set/get/unset. 

do it later for the remainder. 



SVN revision: 64502
2011-10-29 04:32:24 +00:00
ChunEon Park dc180b67ce elementary/layout - deprecated elm_layout_content_set/get_unset
SVN revision: 64403
2011-10-26 00:46:16 +00:00
Jérémy Zurcher a0366f0ef1 From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] patch : eina_prefix + elementary_test

please find attached a small patch for eina_prefix

it prevent segfault when for instance
no elm_app_compile_*_dir_set is called prior to elm_app_info_set

and another one for elementary/src/bin/test*.c which tends to replace
usage of PACKAGE_DATA_DIR with elm_app_data_dir_get



SVN revision: 62796
2011-08-25 10:01:59 +00:00
Tom Hacohen 8df2bb821d Elm frame: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60806
2011-06-29 09:11:48 +00:00
Otávio Pontes 5c3d084fd6 Changing size hints in color selector and action slider tests.
SVN revision: 55419
2010-12-09 15:59:17 +00:00
Bruno Dilly 98ad22406b Rename elm_colorpicker to elm_colorselector
Suggested by k-s as part of our
"Beautiful, Consistent ELM API" effort.

colorpicker, diskpicker and flippicker should follow
fileselector name.


SVN revision: 54405
2010-11-10 13:14:50 +00:00