unit-menu.h revision 495c5569abb738d417db95c79ce623fd9f60769f
/**
* \brief Unit Menu Widget - A drop down menu for choosing unit types.
*
* Author:
* Bryce Harrington <bryce@bryceharrington.org>
*
* Copyright (C) 2004 Bryce Harrington
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
#ifndef INKSCAPE_UI_WIDGET_UNIT_H
#define INKSCAPE_UI_WIDGET_UNIT_H
#include "combo-text.h"
{
UnitMenu();
UnitType getUnitType() const;
double getUnitFactor() const;
int getDefaultDigits() const;
double getDefaultStep() const;
double getDefaultPage() const;
double getConversion(Glib::ustring const &new_unit_abbr, Glib::ustring const &old_unit_abbr = "no_unit") const;
bool isAbsolute() const;
bool isRadial() const;
};
} // namespace Widget
} // namespace UI
} // namespace Inkscape
#endif // INKSCAPE_UI_WIDGET_UNIT_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :