gradient-selector.h revision edc2f3b640cca99df088effceaa7da6273f4d8d4
#ifndef SEEN_GRADIENT_SELECTOR_H
#define SEEN_GRADIENT_SELECTOR_H
/*
* Gradient vector and position widget
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) 2001-2002 Lauris Kaplinski
* Copyright (C) 2001 Ximian, Inc.
* Copyright (C) 2010 Jon A. Cruz
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <gtkmm/liststore.h>
#include <gtkmm/scrolledwindow.h>
#include <vector>
#include "sp-gradient-spread.h"
#include "sp-gradient-units.h"
}
#define SP_TYPE_GRADIENT_SELECTOR (sp_gradient_selector_get_type ())
#define SP_GRADIENT_SELECTOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_GRADIENT_SELECTOR, SPGradientSelector))
#define SP_GRADIENT_SELECTOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), SP_TYPE_GRADIENT_SELECTOR, SPGradientSelectorClass))
struct SPGradientSelector {
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
enum SelectorMode {
#ifdef WITH_MESH
#endif
};
/* Vector selector */
/* Tree */
void onTreeSelection();
void onTreeNameColClick();
void onTreeColorColClick();
void onTreeCountColClick();
{
{
}
virtual ~ModelColumns() {}
};
/* Editing buttons */
/* Position widget */
bool safelyInit;
bool blocked;
SPGradient *getVector();
};
struct SPGradientSelectorClass {
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
};
GtkWidget *sp_gradient_selector_new (void);
void sp_gradient_selector_set_bbox (SPGradientSelector *sel, gdouble x0, gdouble y0, gdouble x1, gdouble y1);
#endif // SEEN_GRADIENT_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 :