paint-selector.h revision 6b15695578f07a3f72c4c9475c1a261a3021472a
#ifndef __SP_PAINT_SELECTOR_H__
#define __SP_PAINT_SELECTOR_H__
/** \file
* Generic paint selector widget
*
* Copyright (C) Lauris 2002
*
*/
#include <glib.h>
#include "sp-gradient-spread.h"
#include "sp-gradient-units.h"
#define SP_TYPE_PAINT_SELECTOR (sp_paint_selector_get_type ())
#define SP_PAINT_SELECTOR_CLASS(k) (GTK_CHECK_CLASS_CAST ((k), SP_TYPE_PAINT_SELECTOR, SPPaintSelectorClass))
#include "../forward.h"
#include <color.h>
#include <libnr/nr-forward.h>
typedef enum {
typedef enum {
/// Generic paint selector widget
struct SPPaintSelector {
float alpha;
};
/// The SPPaintSelector vtable
struct SPPaintSelectorClass {
};
GtkType sp_paint_selector_get_type (void);
void sp_paint_selector_set_gradient_properties (SPPaintSelector *psel, SPGradientUnits units, SPGradientSpread spread);
void sp_paint_selector_get_gradient_properties (SPPaintSelector *psel, SPGradientUnits *units, SPGradientSpread *spread);
void sp_paint_selector_system_color_set (SPPaintSelector *psel, const SPColor *color, float opacity);
void sp_paint_selector_set_flat_color (SPPaintSelector *psel, SPDesktop *desktop, const gchar *color_property, const gchar *opacity_property);
#endif