X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0fc1a7137cccc829a34b3527c768db7d7ac83437..d6d1892b8906380cb70c4bd3c88328f1c4851dc6:/utils/ogl/src/constrnt.h?ds=sidebyside diff --git a/utils/ogl/src/constrnt.h b/utils/ogl/src/constrnt.h index 36538803c9..ef35bd03c3 100644 --- a/utils/ogl/src/constrnt.h +++ b/utils/ogl/src/constrnt.h @@ -35,7 +35,7 @@ public: }; -extern wxList OGLConstraintTypes; +extern wxList* OGLConstraintTypes; #define gyCONSTRAINT_CENTRED_VERTICALLY 1 #define gyCONSTRAINT_CENTRED_HORIZONTALLY 2 @@ -67,11 +67,11 @@ class OGLConstraint: public wxObject // 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; @@ -81,6 +81,7 @@ class OGLConstraint: public wxObject }; void OGLInitializeConstraintTypes(); +void OGLCleanUpConstraintTypes(); #endif // _OGL_CONSTRNT_H_