lib/ewl_histogram.h File Reference
#include "ewl_image.h"
Include dependency graph for ewl_histogram.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
struct | Ewl_Histogram |
Inherit from the Ewl_Image and extends to create a histogram widget. More... | |
Defines | |
#define | EWL_HISTOGRAM(histogram) ((Ewl_Histogram *)histogram) |
#define | EWL_HISTOGRAM_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_HISTOGRAM_TYPE)) |
#define | EWL_HISTOGRAM_TYPE "histogram" |
Typedefs | |
typedef struct Ewl_Histogram | Ewl_Histogram |
Functions | |
void | ewl_histogram_cb_configure (Ewl_Widget *w, void *event, void *data) |
Ewl_Histogram_Channel | ewl_histogram_channel_get (Ewl_Histogram *histogram) |
Sets the color channel to graph in the histogram. | |
void | ewl_histogram_channel_set (Ewl_Histogram *histogram, Ewl_Histogram_Channel channel) |
Sets the color channel to graph in the histogram. | |
void | ewl_histogram_color_get (Ewl_Histogram *histogram, unsigned int *r, unsigned int *g, unsigned int *b, unsigned int *a) |
Get the current color values for drawing the histogram. | |
void | ewl_histogram_color_set (Ewl_Histogram *histogram, unsigned int r, unsigned int g, unsigned int b, unsigned int a) |
Changes the drawing color of a histogram. | |
Ewl_Image * | ewl_histogram_image_get (Ewl_Histogram *histogram) |
Get the source image used to generate the histogram. | |
void | ewl_histogram_image_set (Ewl_Histogram *histogram, Ewl_Image *image) |
Change the source image used to generate the histogram. | |
int | ewl_histogram_init (Ewl_Histogram *histogram) |
Initialize a histogram widget to starting values. | |
Ewl_Widget * | ewl_histogram_new (void) |
Create a new Ewl_Histogram widget. |