1
#ifndef INK_EXTENSION_PARAMINT_H_SEEN
2
#define INK_EXTENSION_PARAMINT_H_SEEN
5
* Copyright (C) 2005-2007 Authors:
6
* Ted Gould <ted@gould.cx>
7
* Johan Engelen <johan@shouraizou.nl> *
8
* Released under GNU GPL, read the file 'COPYING' for more information
11
#include <gtkmm/widget.h>
14
#include "parameter.h"
19
class ParamInt : public Parameter {
21
/** \brief Internal value. */
26
ParamInt (const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml);
27
/** \brief Returns \c _value */
28
int get (const SPDocument * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; }
29
int set (int in, SPDocument * doc, Inkscape::XML::Node * node);
30
int max (void) { return _max; }
31
int min (void) { return _min; }
32
Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal);
33
void string (std::string &string);
36
} /* namespace Extension */
37
} /* namespace Inkscape */
39
#endif /* INK_EXTENSION_PARAMINT_H_SEEN */
44
c-file-style:"stroustrup"
45
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
50
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :