};
-extern wxList OGLConstraintTypes;
+extern wxList* OGLConstraintTypes;
#define gyCONSTRAINT_CENTRED_VERTICALLY 1
#define gyCONSTRAINT_CENTRED_HORIZONTALLY 2
// Returns TRUE if anything changed
bool Evaluate();
- inline void SetSpacing(float x, float y) { m_xSpacing = x; m_ySpacing = y; };
- bool Equals(float a, float b);
+ inline void SetSpacing(double x, double y) { m_xSpacing = x; m_ySpacing = y; };
+ bool Equals(double a, double b);
- float m_xSpacing;
- float m_ySpacing;
+ double m_xSpacing;
+ double m_ySpacing;
int m_constraintType;
wxString m_constraintName;
long m_constraintId;
};
void OGLInitializeConstraintTypes();
+void OGLCleanUpConstraintTypes();
#endif
// _OGL_CONSTRNT_H_