diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-08-06 20:20:50 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-08-06 20:20:50 +0200 |
commit | f7e78b21e9655604ba6fba1d068a9bf7f00b85a5 (patch) | |
tree | 51c54103d52ea420ea21608cdc9f9163959eb7bd /src/math | |
parent | 61bfb22f27f5216f989c023a5e39fad7e356d2d6 (diff) | |
download | colobot-f7e78b21e9655604ba6fba1d068a9bf7f00b85a5.tar.gz colobot-f7e78b21e9655604ba6fba1d068a9bf7f00b85a5.tar.bz2 colobot-f7e78b21e9655604ba6fba1d068a9bf7f00b85a5.zip |
Font rendering
- implemented rest of CText interface excluding some minor features
Diffstat (limited to 'src/math')
-rw-r--r-- | src/math/intpoint.h | 6 | ||||
-rw-r--r-- | src/math/intsize.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/math/intpoint.h b/src/math/intpoint.h index a760bc2..476e67b 100644 --- a/src/math/intpoint.h +++ b/src/math/intpoint.h @@ -32,11 +32,11 @@ namespace Math { struct IntPoint { //! X coord - long x; + int x; //! Y coord - long y; + int y; - IntPoint(long aX = 0, long aY = 0) : x(aX), y(aY) {} + IntPoint(int aX = 0, int aY = 0) : x(aX), y(aY) {} }; /* @} */ // end of group diff --git a/src/math/intsize.h b/src/math/intsize.h index d53de85..c88f09b 100644 --- a/src/math/intsize.h +++ b/src/math/intsize.h @@ -34,9 +34,9 @@ namespace Math struct IntSize { //! Width - long w; + int w; //! Height - long h; + int h; //! Constructs a zero size: (0,0) inline IntSize() @@ -45,7 +45,7 @@ struct IntSize } //! Constructs a size from given dimensions: (w,h) - inline explicit IntSize(long w, long h) + inline explicit IntSize(int w, int h) { this->w = w; this->h = h; |