diff src/X_main.c @ 58:1ca417f741f1

-
author Thinker K.F. Li <thinker@branda.to>
date Sun, 10 Aug 2008 21:32:42 +0800
parents ab028c9f0930
children 9ab15ebc9061
line wrap: on
line diff
--- a/src/X_main.c	Sun Aug 10 20:25:14 2008 +0800
+++ b/src/X_main.c	Sun Aug 10 21:32:42 2008 +0800
@@ -205,6 +205,7 @@
 
     tman = mb_tman_new();
     if(tman) {
+	/* Prepare an animation program. */
 	progm = mb_progm_new(10, &rdman);
 	
 	MB_TIMEVAL_SET(&start, 0, 0);
@@ -232,6 +233,7 @@
 	act = mb_chgcolor_new(1, 0, 0, 0.5, fill2, word);
 	act = mb_visibility_new(VIS_VISIBLE, coord3, word);
 	
+	/* Start playing the program. */
 	gettimeofday(&tv, NULL);
 	MB_TIMEVAL_SET(&mbtv, tv.tv_sec, tv.tv_usec);
 	mb_progm_start(progm, tman, &mbtv);