Updated comments. Added err and ftface to initialosation list
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
diff --git a/include/FTSize.h b/include/FTSize.h
index 52dc700..774c8d9 100755
--- a/include/FTSize.h
+++ b/include/FTSize.h
@@ -16,8 +16,6 @@
class FTSize
{
public:
- // methods
-
/**
* Default Constructor
*/
@@ -80,7 +78,7 @@ class FTSize
int Width() const;
/**
- * Gets the underline posiotn for the face.
+ * Gets the underline position for the face.
*
* @return underline position in pixels
*/
@@ -94,13 +92,7 @@ class FTSize
*/
FT_Error Error() const { return err; }
- // attributes
-
private:
- // methods
-
- // attributes
-
/**
* The current Freetype face that this FTSize object relates to.
*/
diff --git a/src/FTSize.cpp b/src/FTSize.cpp
index a6b7917..fae38b2 100755
--- a/src/FTSize.cpp
+++ b/src/FTSize.cpp
@@ -3,7 +3,9 @@
FTSize::FTSize()
-: size(0)
+: size(0),
+ ftFace(0),
+ err(0)
{}