[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Fri Apr 9 01:43:28 CEST 2004


CVS commit by arwalker: 

Event monitoring (in draft form) are now working:

- all output is to the debug log
- may want to add e-mail notification
- may want to add visual feedback on curve, but it seems
if this is the intent it could be done via the creation of an
equation curve


  M +2 -3      kstvector.cpp   1.64


--- kdeextragear-2/kst/kst/kstvector.cpp  #1.63:1.64
@@ -379,14 +379,13 @@ KstObject::UpdateType KstVector::update(
     // check for events...
     //
-/*    
     for( i=0; i<(int)_eventMonitors.size(); i++ ) {      
       if( _eventMonitors[i].compile() ) {
         for (ctx.i = i0; ctx.i < _size; ++ctx.i) {
-          ctx.x = 3.0;//iv->interpolate(ctx.i, NS);
+          ctx.x = (double)ctx.i;
           _eventMonitors[i].evaluate( ctx );
         }
       }
     }
-*/    
+    
     return UPDATE;
   }





More information about the Kst mailing list