1 #include <Elementary.h>
6 * @defgroup Colorpicker Colorpicker
9 * By using colorpicker, you can select a color.
10 * Colorpicker made a color using HSV/HSB mode.
14 * Add a new colorpicker to the parent
16 * @param parent The parent object
17 * @return The new object or NULL if it cannot be created
19 * @ingroup Colorpicker
22 elm_colorpicker_add(Evas_Object *parent)
24 return elm_colorselector_add(parent);
28 * Set a color for the colorpicker
30 * @param obj Colorpicker object
31 * @param r r-value of color
32 * @param g g-value of color
33 * @param b b-value of color
35 * @ingroup Colorpicker
38 elm_colorpicker_color_set(Evas_Object *obj, int r, int g, int b)
40 elm_colorselector_color_set(obj, r, g, b, 255);
44 * Get a color from the colorpicker
46 * @param obj Colorpicker object
47 * @param r integer pointer for r-value of color
48 * @param g integer pointer for g-value of color
49 * @param b integer pointer for b-value of color
51 * @ingroup Colorpicker
54 elm_colorpicker_color_get(Evas_Object *obj, int *r, int *g, int *b)
56 elm_colorselector_color_get(obj, r, g, b, NULL);
59 /* vim:set ts=8 sw=3 sts=3 expandtab cino=>5n-2f0^-2{2(0W1st0 :*/