#include <Elementary.h>
#include "elm_priv.h"
-/**
- * @addtogroup Colorselector Colorselector
- *
- * By using colorselector, you can select a color.
- * Colorselector made a color using HSV/HSB mode.
- *
- * Signals that you can add callbacks for are:
- *
- * "changed" - when the color value changes
- */
-
#define BASE_STEP 360.0
#define HUE_STEP 360.0
#define SAT_STEP 128.0
_draw_rects(wd->cp[3], x);
}
-/**
- * Add a new colorselector to the parent
- *
- * @param parent The parent object
- * @return The new object or NULL if it cannot be created
- *
- * @ingroup Colorselector
- */
EAPI Evas_Object *
elm_colorselector_add(Evas_Object *parent)
{
return obj;
}
-/**
- * Set a color for the colorselector
- *
- * @param obj Colorselector object
- * @param r r-value of color
- * @param g g-value of color
- * @param b b-value of color
- * @param a a-value of color
- *
- * @ingroup Colorselector
- */
EAPI void
elm_colorselector_color_set(Evas_Object *obj, int r, int g, int b, int a)
{
_set_color(obj, r, g, b, a);
}
-/**
- * Get a color from the colorselector
- *
- * @param obj Colorselector object
- * @param r integer pointer for r-value of color
- * @param g integer pointer for g-value of color
- * @param b integer pointer for b-value of color
- * @param a integer pointer for a-value of color
- *
- * @ingroup Colorselector
- */
EAPI void
elm_colorselector_color_get(const Evas_Object *obj, int *r, int *g, int *b, int*a)
{