paint-selector.h revision 5c40454c286013e02d9ea7521a3bdaf72bea39d9
#ifndef SEEN_SP_PAINT_SELECTOR_H
#define SEEN_SP_PAINT_SELECTOR_H
/*
* Generic paint selector widget
*
* Authors:
* Lauris
* Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) Lauris 2002
* Copyright (C) 2010 Authors
*
*/
#include <glib.h>
#include "color.h"
#include "fill-or-stroke.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(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_PAINT_SELECTOR, SPPaintSelector))
#define SP_PAINT_SELECTOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), SP_TYPE_PAINT_SELECTOR, SPPaintSelectorClass))
/**
* Generic paint selector widget.
*/
struct SPPaintSelector {
enum Mode {
} ;
enum FillRule {
} ;
float alpha;
SPPattern * getPattern();
// TODO move this elsewhere:
void setFlatColor( SPDesktop *desktop, const gchar *color_property, const gchar *opacity_property );
};
/// The SPPaintSelector vtable
struct SPPaintSelectorClass {
};
GType sp_paint_selector_get_type (void);
#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:fileencoding=utf-8:textwidth=99 :