Searched refs:primary (Results 1 - 7 of 7) sorted by relevance
/inkscape/src/ui/widget/ |
H A D | unit-menu.cpp | 41 set_active_text(unit_table.primary(unit_type)); 63 return unit_table.getUnit(unit_table.primary(_type));
|
/inkscape/src/util/ |
H A D | units.cpp | 141 bool primary; member in class:Inkscape::Util::UnitParser 148 primary(false), 277 void UnitTable::addUnit(Unit const &u, bool primary) argument 280 if (primary) { 364 // Cannot delete the primary unit type since it's 396 Glib::ustring UnitTable::primary(UnitType type) const function in class:Inkscape::Util::UnitTable 434 primary = false; 449 primary = (f->second[0] == 'y' || f->second[0] == 'Y'); 474 tbl->addUnit(unit, primary);
|
H A D | units.h | 133 * Initializes the unit tables and identifies the primary unit types. 135 * The primary unit's conversion factor is required to be 1.00 144 void addUnit(Unit const &u, bool primary); 150 /** Try to find a unit based on its conversion factor to the primary */ 170 Glib::ustring primary(UnitType type) const;
|
/inkscape/src/ |
H A D | preferences.h | 32 virtual void handleError(Glib::ustring const& primary, Glib::ustring const& secondary ) const = 0; 257 * in the primary and secondary error strings of the last error. If an error 260 * @param string to set to the primary error message. 265 bool getLastError( Glib::ustring& primary, Glib::ustring& secondary ); 550 Glib::ustring _lastErrPrimary; ///< Last primary error message, if any.
|
H A D | inkscape.cpp | 122 virtual void handleError( Glib::ustring const& primary, Glib::ustring const& secondary ) const argument 125 Gtk::MessageDialog err(primary, false, Gtk::MESSAGE_WARNING, Gtk::BUTTONS_OK, true); 129 g_message("%s", primary.data());
|
H A D | preferences.cpp | 289 bool Preferences::getLastError( Glib::ustring& primary, Glib::ustring& secondary ) argument 293 primary = _lastErrPrimary; 299 primary.clear();
|
H A D | sp-namedview.cpp | 269 double factor = svgwidth.value(unit_table.primary(Inkscape::Util::UNIT_TYPE_LINEAR)) / viewbox.width();
|
Completed in 1262 milliseconds