Some cleanup/restructuring of Frame and its subclasses.

This commit is contained in:
Jim Evins
2013-10-31 18:59:23 -04:00
parent a11b498e9a
commit be55bebc50
10 changed files with 99 additions and 146 deletions
+5 -4
View File
@@ -40,16 +40,15 @@ namespace libglabels
{
}
inline double w() const { return mW; }
inline double h() const { return mH; }
inline double r() const { return mR; }
inline double xWaste() const { return mXWaste; }
inline double yWaste() const { return mYWaste; }
double w() const { return mW; }
double h() const { return mH; }
void getSize( double *w, double *h ) const;
const QString &sizeDescription( Units *units );
bool isSimilar( Frame *b ) const;
QString &getSizeDescription( Units *units ) const;
private:
@@ -59,6 +58,8 @@ namespace libglabels
double mXWaste;
double mYWaste;
QString mSizeDescription;
};
}