~ubuntu-branches/ubuntu/maverick/scribus-ng/maverick-backports

« back to all changes in this revision

Viewing changes to scribus/units.h

  • Committer: Bazaar Package Importer
  • Author(s): Oleksandr Moskalenko
  • Date: 2007-08-11 17:41:51 UTC
  • mfrom: (0.1.1 upstream) (4.1.2 feisty)
  • Revision ID: james.westby@ubuntu.com-20070811174151-tmkgjvjuc0mtk8ul
Tags: 1.3.4.dfsg+svn20071115-1
* Upstream svn update (Closes: #447480, #448949).
* debian/NEWS: Added a note for users wanting stable Scribus to switch to
  the "scribus" package (Closes: #427638).
* debian/watch: Updated the watch regex to properly track sourceforge
  releases for this branch (Closes: #449700).

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#define UNITMIN 0
30
30
#define UNITMAX 5
31
31
 
32
 
enum Unit {
 
32
enum scUnit {
33
33
        SC_POINTS      = 0,
34
34
        SC_PT          = 0,
35
35
        SC_MILLIMETERS = 1,
51
51
const int SCRIBUS_API unitGetDecimalsFromIndex(const int index);
52
52
const int SCRIBUS_API unitGetPrecisionFromIndex(const int index);
53
53
const double SCRIBUS_API unitValueFromString(const QString& value);
54
 
const Unit SCRIBUS_API unitIndexFromString(const QString& value);
 
54
const scUnit SCRIBUS_API unitIndexFromString(const QString& value);
55
55
const QStringList SCRIBUS_API unitGetTextUnitList();
56
56
const int SCRIBUS_API unitGetMaxIndex();
57
57
const double SCRIBUS_API mm2pts(double mm);