]> Shamusworld >> Repos - architektonas/blobdiff - src/units.h
Added base units & display style to drawing.
[architektonas] / src / units.h
diff --git a/src/units.h b/src/units.h
new file mode 100644 (file)
index 0000000..e372aff
--- /dev/null
@@ -0,0 +1,13 @@
+#ifndef __UNITS_H__
+#define __UNITS_H__
+
+#include <QString>
+#include "structs.h"
+
+#define INCHES_TO_MM  25.4
+#define MM_TO_INCHES  (1.0 / 25.4)
+
+QString GetDimensionText(Container *, double);
+QString MakeFraction(double, int);
+
+#endif // __UNITS_H__