1 #ifndef __SP_DASH_SELECTOR_H__
2 #define __SP_DASH_SELECTOR_H__
4 /*
5 * Optionmenu for selecting dash patterns
6 *
7 * Author:
8 * Lauris Kaplinski <lauris@kaplinski.com>
9 *
10 * Copyright (C) 2002 Lauris Kaplinski
11 *
12 * Released under GNU GPL, read the file 'COPYING' for more information
13 */
15 struct SPDashSelector;
17 #include <gtk/gtkwidget.h>
18 #include "../xml/repr.h"
20 #include <glib.h>
24 #define SP_TYPE_DASH_SELECTOR (sp_dash_selector_get_type ())
25 #define SP_DASH_SELECTOR(o) (GTK_CHECK_CAST ((o), SP_TYPE_DASH_SELECTOR, SPDashSelector))
26 #define SP_IS_DASH_SELECTOR(o) (GTK_CHECK_TYPE ((o), SP_TYPE_DASH_SELECTOR))
28 GtkType sp_dash_selector_get_type (void);
30 GtkWidget *sp_dash_selector_new (Inkscape::XML::Node *repr);
32 void sp_dash_selector_set_dash (SPDashSelector *dsel, int ndash, double *dash, double offset);
33 void sp_dash_selector_get_dash (SPDashSelector *dsel, int *ndash, double **dash, double *offset);
37 #endif
39 /*
40 Local Variables:
41 mode:c++
42 c-file-style:"stroustrup"
43 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
44 indent-tabs-mode:nil
45 fill-column:99
46 End:
47 */
48 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :