X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/335a8b43e952afe037ce77bc4d52e5a688086853..f93ce4dadc287261babbd21a29aae59a8efbed2b:/utils/ogl/src/ogldiag.h diff --git a/utils/ogl/src/ogldiag.h b/utils/ogl/src/ogldiag.h index 1654831f8e..485857e440 100644 --- a/utils/ogl/src/ogldiag.h +++ b/utils/ogl/src/ogldiag.h @@ -56,15 +56,18 @@ public: virtual void DeleteAllShapes(); virtual void ShowAll(bool show); + // Find a shape by its id + wxShape* FindShape(long id) const; + inline void SetMouseTolerance(int tol) { m_mouseTolerance = tol; } inline int GetMouseTolerance() const { return m_mouseTolerance; } inline wxList *GetShapeList() const { return m_shapeList; } + inline int GetCount() const { return m_shapeList->Number(); } // Make sure all text that should be centred, is centred. void RecentreAll(wxDC& dc); #ifdef PROLOGIO - // Prolog database stuff virtual bool SaveFile(const wxString& filename); virtual bool LoadFile(const wxString& filename);