X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42cfaf8cd4464466398ed888cb2caa5ee360c7ef..31811e1acaf3dd16403b94f5ff93c41e4e4ca9bb:/utils/ogl/src/composit.h diff --git a/utils/ogl/src/composit.h b/utils/ogl/src/composit.h index 85dc9c1292..505667c2bd 100644 --- a/utils/ogl/src/composit.h +++ b/utils/ogl/src/composit.h @@ -17,7 +17,7 @@ #endif class wxDivisionShape; -class OGLConstraint; +class wxOGLConstraint; /* * A composite object is an invisible rectangle surrounding all children @@ -51,11 +51,11 @@ public: void AddChild(wxShape *child, wxShape *addAfter = NULL); void RemoveChild(wxShape *child); - OGLConstraint *AddConstraint(OGLConstraint *constraint); - OGLConstraint *AddConstraint(int type, wxShape *constraining, wxList& constrained); - OGLConstraint *AddConstraint(int type, wxShape *constraining, wxShape *constrained); + wxOGLConstraint *AddConstraint(wxOGLConstraint *constraint); + wxOGLConstraint *AddConstraint(int type, wxShape *constraining, wxList& constrained); + wxOGLConstraint *AddConstraint(int type, wxShape *constraining, wxShape *constrained); - void DeleteConstraint(OGLConstraint *constraint); + void DeleteConstraint(wxOGLConstraint *constraint); // Delete constraints that involve this child. void DeleteConstraintsInvolvingChild(wxShape *child); @@ -66,7 +66,7 @@ public: // Find constraint, also returning actual composite the constraint was in, // in case it had to find it recursively. - OGLConstraint *FindConstraint(long id, wxCompositeShape **actualComposite = NULL); + wxOGLConstraint *FindConstraint(long id, wxCompositeShape **actualComposite = NULL); // Returns TRUE if something changed bool Constrain(); @@ -78,9 +78,8 @@ public: void CalculateSize(); #ifdef PROLOGIO - // Prolog database stuff - void WritePrologAttributes(wxExpr *clause); - void ReadPrologAttributes(wxExpr *clause); + void WriteAttributes(wxExpr *clause); + void ReadAttributes(wxExpr *clause); // In case the object has constraints it needs to read in in a different pass void ReadConstraints(wxExpr *clause, wxExprDatabase *database); #endif @@ -154,9 +153,8 @@ class wxDivisionShape: public wxCompositeShape void ResetMandatoryControlPoints(); #ifdef PROLOGIO - // Prolog database stuff - void WritePrologAttributes(wxExpr *clause); - void ReadPrologAttributes(wxExpr *clause); + void WriteAttributes(wxExpr *clause); + void ReadAttributes(wxExpr *clause); #endif // Does the copying for this object void Copy(wxShape& copy);