Searched refs:_value (Results 1 - 23 of 23) sorted by relevance

/inkscape/src/extension/param/
H A Dstring.cpp32 g_free(_value);
33 _value = 0;
37 * A function to set the \c _value.
43 * To copy the data into _value the old memory must be free'd first.
57 if (_value != NULL) {
58 g_free(_value);
61 _value = g_strdup(in);
65 prefs->setString(extension_pref_root + prefname, _value);
68 return _value;
73 if (_value) {
[all...]
H A Dfloat.cpp29 /** Use the superclass' allocator and set the \c _value. */
40 _value(0.0), _mode(mode), _indent(0), _min(0.0), _max(10.0)
47 _value = g_ascii_strtod (defaultval,NULL);
79 _value = prefs->getDouble(extension_pref_root + pref_name, _value);
82 // std::cout << "New Float:: value: " << _value << " max: " << _max << " min: " << _min << std::endl;
84 if (_value > _max) {
85 _value = _max;
87 if (_value < _min) {
88 _value
[all...]
H A Dint.cpp29 /** Use the superclass' allocator and set the \c _value. */
40 _value(0), _mode(mode), _indent(0), _min(0), _max(10)
47 _value = atoi(defaultval);
72 _value = prefs->getInt(extension_pref_root + pref_name, _value);
75 // std::cout << "New Int:: value: " << _value << " max: " << _max << " min: " << _min << std::endl;
77 if (_value > _max) {
78 _value = _max;
80 if (_value < _min) {
81 _value
[all...]
H A Dbool.cpp29 _value(false), _indent(0)
37 _value = true;
39 _value = false;
49 _value = prefs->getBool(extension_pref_root + pref_name, _value);
57 _value = in;
61 prefs->setBool(extension_pref_root + prefname, _value);
64 return _value;
69 return _value;
118 if (_value) {
[all...]
H A Ddescription.cpp39 _value(NULL), _mode(mode), _indent(0)
48 _value = g_strdup(defaultval);
68 if (_value == NULL) {
75 newguitext = g_dpgettext2(NULL, _context, _value);
77 newguitext = _(_value);
H A Denum.cpp53 , _value(NULL)
98 // Initialize _value with the default value from xml
116 _value = g_strdup(paramval.data());
118 _value = g_strdup(xmlval);
130 g_free(_value);
135 * A function to set the \c _value.
141 * To copy the data into _value the old memory must be free'd first.
164 if (_value != NULL) {
165 g_free(_value);
167 _value
[all...]
H A Dradiobutton.cpp70 _value(0), _mode(mode), _indent(0), choices(0)
114 // Initialize _value with the default value from xml
135 _value = g_strdup(defaultval); // allocate space for _value
147 g_free(_value);
152 * A function to set the \c _value.
158 * To copy the data into _value the old memory must be free'd first.
181 if (_value != NULL) {
182 g_free(_value);
184 _value
[all...]
H A Denum.h36 gchar * _value; member in class:Inkscape::Extension::ParamComboBox
50 gchar const *get(SPDocument const * /*doc*/, Inkscape::XML::Node const * /*node*/) const { return _value; }
H A Dfloat.h41 /** Returns \c _value. */
42 float get(const SPDocument * /*doc*/, const Inkscape::XML::Node * /*node*/) const { return _value; }
61 float _value; member in class:Inkscape::Extension::ParamFloat
H A Dint.h42 /** Returns \c _value. */
43 int get(const SPDocument * /*doc*/, const Inkscape::XML::Node * /*node*/) const { return _value; }
60 int _value; member in class:Inkscape::Extension::ParamInt
H A Dnotebook.h38 gchar * _value; member in class:Inkscape::Extension::ParamNotebook
60 const gchar * get (const SPDocument * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; }
H A Dradiobutton.h56 const gchar *get(const SPDocument * /*doc*/, const Inkscape::XML::Node * /*node*/) const { return _value; }
64 gchar * _value; member in class:Inkscape::Extension::ParamRadioButton
H A Dstring.h21 gchar * _value; member in class:Inkscape::Extension::ParamString
30 /** \brief Returns \c _value, with a \i const to protect it. */
31 const gchar *get(SPDocument const * /*doc*/, Inkscape::XML::Node const * /*node*/) const { return _value; }
H A Ddescription.h44 gchar * _value; member in class:Inkscape::Extension::ParamDescription
H A Dnotebook.cpp251 // Initialize _value with the current page
267 _value = g_strdup(defaultval); // allocate space for _value
279 g_free(_value);
284 * A function to set the \c _value.
290 * To copy the data into _value the old memory must be free'd first.
307 if (page == NULL) return _value;
309 if (_value != NULL) g_free(_value);
310 _value
[all...]
H A Dbool.h33 * Use the superclass' allocator and set the \c _value.
71 bool _value; member in class:Inkscape::Extension::ParamBool
/inkscape/cxxtest/cxxtest/
H A DValueTraits.h197 bool _value; member in class:CxxTest::ValueTraits
200 ValueTraits( const bool value ) : _value( value ) {}
201 const char *asString( void ) const { return _value ? "true" : "false"; }
356 TYPE _value; \
360 _value = value; \
361 numberToString<unsigned long int>( _value, copyString( _fallback, "(" #TYPE ")" ) ); \
365 switch ( _value ) \
/inkscape/src/ui/widget/
H A Dstyle-swatch.cpp176 sp_set_font_size_smaller (GTK_WIDGET(_value[i].gobj()));
292 _value[i].set_markup(_("L Gradient"));
293 place->add(_value[i]);
296 _value[i].set_markup(_("R Gradient"));
297 place->add(_value[i]);
300 _value[i].set_markup(_("Pattern"));
301 place->add(_value[i]);
319 _value[i].set_markup(C_("Fill and stroke", "<i>None</i>"));
320 place->add(_value[i]);
324 _value[
[all...]
H A Dcolor-slider.h84 gfloat _value; member in class:Inkscape::UI::Widget::ColorSlider
H A Dstyle-swatch.h87 Gtk::Label _value[2]; member in class:Inkscape::UI::Widget::StyleSwatch
H A Dcolor-slider.cpp54 , _value(0.0)
215 _oldvalue = _value;
246 if (_value != _oldvalue) {
306 _value = ColorScales::getScaled(_adjustment->gobj());
316 if (_value != ColorScales::getScaled(_adjustment->gobj())) {
332 if ((gint)(ColorScales::getScaled(_adjustment->gobj()) * cw) != (gint)(_value * cw)) {
335 value = _value;
336 _value = ColorScales::getScaled(_adjustment->gobj());
340 ax = (int)(cx + _value * cw - ARROW_SIZE / 2 - 2);
345 _value
[all...]
/inkscape/src/
H A Dpreferences.h122 friend class Preferences; // Preferences class has to access _value
125 Entry() : _pref_path(""), _value(NULL) {} // needed to enable use in maps
126 Entry(Entry const &other) : _pref_path(other._pref_path), _value(other._value) {}
133 bool isValid() const { return _value != NULL; }
230 Entry(Glib::ustring const &path, void const *v) : _pref_path(path), _value(v) {}
233 void const *_value; member in class:Inkscape::Preferences::Entry
519 * that v._value is not NULL
H A Dpreferences.cpp754 gchar const *s = static_cast<gchar const *>(v._value);
764 gchar const *s = static_cast<gchar const *>(v._value);
776 gchar const *s = static_cast<gchar const *>(v._value);
794 return Glib::ustring(static_cast<gchar const *>(v._value));
799 gchar const *str = static_cast<gchar const *>(v._value);
816 gchar const *s = static_cast<gchar const *>(v._value);
831 sp_repr_css_attr_add_from_string(style, static_cast<gchar const*>(v._value));
837 // This is the dirtiest extraction method. Generally we ignore whatever was in v._value

Completed in 1910 milliseconds