paint-selector.h revision 7e32c19e78592fbf120af717222bf4185b4bc4e9
#ifndef SEEN_SP_PAINT_SELECTOR_H
#define SEEN_SP_PAINT_SELECTOR_H
/** \file
* Generic paint selector widget
*
* Authors:
* Lauris
* Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) Lauris 2002
* Copyright (C) 2010 Authors
*
*/
#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 // SEEN_SP_PAINT_SELECTOR_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :