/inkscape/src/extension/param/ |
H A D | string.cpp | 32 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 D | float.cpp | 29 /** 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 D | int.cpp | 29 /** 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 D | bool.cpp | 29 _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 D | description.cpp | 39 _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 D | enum.cpp | 53 , _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 D | radiobutton.cpp | 70 _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 D | enum.h | 36 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 D | float.h | 41 /** 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 D | int.h | 42 /** 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 D | notebook.h | 38 gchar * _value; member in class:Inkscape::Extension::ParamNotebook 60 const gchar * get (const SPDocument * /*doc*/, const Inkscape::XML::Node * /*node*/) { return _value; }
|
H A D | radiobutton.h | 56 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 D | string.h | 21 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 D | description.h | 44 gchar * _value; member in class:Inkscape::Extension::ParamDescription
|
H A D | notebook.cpp | 251 // 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 D | bool.h | 33 * Use the superclass' allocator and set the \c _value. 71 bool _value; member in class:Inkscape::Extension::ParamBool
|
/inkscape/cxxtest/cxxtest/ |
H A D | ValueTraits.h | 197 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 D | style-swatch.cpp | 176 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 D | color-slider.h | 84 gfloat _value; member in class:Inkscape::UI::Widget::ColorSlider
|
H A D | style-swatch.h | 87 Gtk::Label _value[2]; member in class:Inkscape::UI::Widget::StyleSwatch
|
H A D | color-slider.cpp | 54 , _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 D | preferences.h | 122 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 D | preferences.cpp | 754 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
|