From 2670e3d751b8c99502ab80b6e5e45c37731603ee Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 2 Jul 2003 02:32:47 +0000 Subject: "" svn path=/trunk/; revision=743 --- externals/grill/flext/source/flsupport.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'externals/grill/flext/source/flsupport.h') diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h index 72bfcf3e..0ea42442 100644 --- a/externals/grill/flext/source/flsupport.h +++ b/externals/grill/flext/source/flsupport.h @@ -132,7 +132,15 @@ public: \param refr: if true forces immediate graphics refresh */ void Dirty(bool refr = false); - + + //! Clear the dirty flag. + void ClearDirty(); + + /*! Query whether the buffer content has been changed since the last ClearDirty() + \note With mainstream versions of PD this will always return true, since the dirtiness can't be judged + */ + bool IsDirty() const; + //! Get symbol of buffer t_symbol *Symbol() const { return const_cast(sym); } @@ -174,10 +182,15 @@ public: bool ticking; //! update clock t_clock *tick; + //! last time the dirty flag was cleared (using the clock_getlogicaltime function) + double cleantime; private: //! update clock callback static void cb_tick(buffer *b); +#elif FLEXT_SYS == FLEXT_SYS_MAX + //! last time the dirty flag was cleared (using the gettime function) + long cleantime; #endif }; -- cgit v1.2.1