Searched defs:abbr (Results 1 - 6 of 6) sorted by relevance
/inkscape/src/util/ |
H A D | units.h | 48 Glib::ustring const &abbr, 70 Glib::ustring abbr; member in class:Inkscape::Util::Unit 169 /** Returns the default unit abbr for the given type */
|
H A D | units.cpp | 160 abbr(), 169 Glib::ustring const &abbr, 175 , abbr(abbr) 224 char const *astr = abbr.c_str(); 279 _unit_map[make_unit_code(u.abbr.c_str())] = new Unit(u); 281 _primary_unit[u.type] = u.abbr; 285 Unit const *UnitTable::getUnit(char const *abbr) const 287 UnitCodeMap::const_iterator f = _unit_map.find(make_unit_code(abbr)); 350 Glib::ustring abbr; local 165 Unit(UnitType type, double factor, Glib::ustring const &name, Glib::ustring const &name_plural, Glib::ustring const &abbr, Glib::ustring const &description) argument [all...] |
/inkscape/src/ui/widget/ |
H A D | scalar-unit.cpp | 228 Glib::ustring abbr = _unit_menu->getUnitAbbr(); local 229 _suffix->set_label(abbr); 231 Inkscape::Util::Unit const *new_unit = unit_table.getUnit(abbr); 245 lastUnits = abbr;
|
H A D | unit-tracker.cpp | 93 if (storedUnit && (!unit->abbr.compare(storedUnit))) { 104 void UnitTracker::setActiveUnitByAbbr(gchar const *abbr) argument 106 Inkscape::Util::Unit const *u = unit_table.getUnit(abbr); 122 gtk_list_store_set(_store, &iter, COLUMN_STRING, u ? u->abbr.c_str() : "NULL", -1); 129 gtk_list_store_set(_store, &iter, COLUMN_STRING, u ? u->abbr.c_str() : "NULL", -1); 209 gchar *abbr; local 210 gtk_tree_model_get(GTK_TREE_MODEL(_store), &iter, COLUMN_STRING, &abbr, -1); local 211 Inkscape::Util::Unit const *unit = unit_table.getUnit(abbr);
|
H A D | preferences-widget.cpp | 354 prefs->setDoubleUnit(_prefs_path, getValue(getUnit()->abbr), getUnit()->abbr); 468 Glib::ustring abbr = prefs->getString("/options/zoomcorrection/unit"); local 469 if (abbr == "cm") { 471 } else if (abbr == "in") { 473 } else if (abbr == "mm") { 475 } else if (abbr == "pc") { 477 } else if (abbr == "pt") { 479 } else if (abbr == "px") {
|
/inkscape/src/ |
H A D | verbs.cpp | 1851 Glib::ustring abbr = prefs->getString("/options/zoomcorrection/unit"); local 1852 if (dt->namedview->display_units && (dt->namedview->display_units->abbr == abbr))
|
Completed in 31 milliseconds