Download

Support

lib/ewl_spectrum.c File Reference

#include "ewl_base.h"
#include "ewl_spectrum.h"
#include "ewl_image.h"
#include "ewl_separator.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"
#include <Evas.h>

Include dependency graph for ewl_spectrum.c:


Functions

void ewl_spectrum_canvas_cb_reveal (Ewl_Widget *w, void *ev, void *data)
void ewl_spectrum_cb_configure (Ewl_Widget *w, void *ev, void *data)
void ewl_spectrum_cb_mouse_down (Ewl_Widget *w, void *ev, void *data)
void ewl_spectrum_cb_mouse_move (Ewl_Widget *w, void *ev, void *data)
void ewl_spectrum_cb_mouse_up (Ewl_Widget *w, void *ev, void *data)
void ewl_spectrum_hsv_get (Ewl_Spectrum *sp, double *h, double *s, double *v)
 Get the HSV value from the spectrum.
void ewl_spectrum_hsv_set (Ewl_Spectrum *sp, double h, double s, double v)
 Set the HSV values for the spectrum.
int ewl_spectrum_init (Ewl_Spectrum *sp)
 Initializes an Ewl_Specturm widget to default values.
Ewl_Color_Mode ewl_spectrum_mode_get (Ewl_Spectrum *sp)
 Get the mode of the spectrum.
void ewl_spectrum_mode_set (Ewl_Spectrum *sp, Ewl_Color_Mode mode)
 Set the mode of the spectrum.
Ewl_Widgetewl_spectrum_new (void)
 Creates a new Ewl_Spectrum widget.
void ewl_spectrum_rgb_get (Ewl_Spectrum *sp, unsigned int *r, unsigned int *g, unsigned int *b)
 Get the RGB values for the spectrum.
void ewl_spectrum_rgb_set (Ewl_Spectrum *sp, unsigned int r, unsigned int g, unsigned int b)
 Set the RGB values for the spectrum.
Ewl_Spectrum_Type ewl_spectrum_type_get (Ewl_Spectrum *sp)
 Get the type of the spectrum.
void ewl_spectrum_type_set (Ewl_Spectrum *sp, Ewl_Spectrum_Type type)
 Set the type of the spectrum.

Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:50:41 2008