url: http://paste.minad.de/index.php?nid=390
Notizname: papierschub und sampling von: - Sprache:

  1. static void drawCh1 ( void ) {
  2.  
  3. unsigned long wait;
  4.  
  5. static float scrollVal[2];
  6.  
  7. scrollVal[0] = ch1Scroll;
  8. scrollVal[1] = ch1Val;
  9.  
  10. XwScrollcurve (HauptD_WS1, 0, scrollVal, 1);
  11.  
  12. wait = 1000/ MTextGetInt (HauptD_ch1_smpl);
  13.  
  14. ch1TId = XtAppAddTimeOut(app_context, wait, (XtTimerCallbackProc) drawCh1, NULL);
  15. }
  16.  
  17.  
  18. static void paperCh1 ( void ) {
  19.  
  20. unsigned long wait;
  21.  
  22. ch1Scroll++;
  23. wait = 100 / MScaleGetFloat(ch1_paper);
  24.  
  25. ch1TIdP = XtAppAddTimeOut(app_context, wait, (XtTimerCallbackProc) paperCh1, NULL);
  26. }
  27.  
Pastelog:
erstellt 2013.06.16 19:26:10
Hits
740




© 2009-2010 rellig