diff src/X_main.c @ 31:da770188a44d

resize font size for changige of coord.
author Thinker K.F. Li <thinker@branda.to>
date Tue, 05 Aug 2008 16:38:04 +0800
parents e06a4a667ce2
children 69c8e264890d
line wrap: on
line diff
--- a/src/X_main.c	Tue Aug 05 12:40:45 2008 +0800
+++ b/src/X_main.c	Tue Aug 05 16:38:04 2008 +0800
@@ -143,7 +143,7 @@
     }
 
     for(i = 0; i < 5; i++) {
-	usleep(500000);
+	usleep(100000);
 	paint_color_set(fill1, 1, i % 2, 0, 0.5);
 	paint_color_set(fill2, 0, i % 2, 1, 0.5);
 	rdman_paint_changed(&rdman, fill1);
@@ -153,7 +153,7 @@
     }
 
     for(i = 0; i < 4; i++) {
-	usleep(500000);
+	usleep(100000);
 	path1->stroke_width -= 1;
 	path2->stroke_width -= 1;
 	rdman_shape_changed(&rdman, path1);
@@ -162,7 +162,7 @@
 	XFlush(display);
     }
     for(i = 0; i < 4; i++) {
-	usleep(500000);
+	usleep(100000);
 	path1->stroke_width += 1;
 	path2->stroke_width += 1;
 	rdman_shape_changed(&rdman, path1);
@@ -172,7 +172,7 @@
     }
 
     for(i = 0; i < 4; i++) {
-	usleep(500000);
+	usleep(100000);
 	text->stroke_width += 1;
 	rdman_shape_changed(&rdman, text);
 	coord3->matrix[2] += 5;
@@ -181,7 +181,7 @@
 	XFlush(display);
     }
     for(i = 0; i < 4; i++) {
-	usleep(500000);
+	usleep(100000);
 	text->stroke_width -= 1;
 	rdman_shape_changed(&rdman, text);
 	coord3->matrix[2] -= 5;
@@ -191,7 +191,7 @@
     }
 
     for(i = 0; i < 4; i++) {
-	usleep(500000);
+	usleep(100000);
 	text->stroke_width += 1;
 	rdman_shape_changed(&rdman, text);
 	coord3->matrix[5] += 5;
@@ -200,7 +200,7 @@
 	XFlush(display);
     }
     for(i = 0; i < 4; i++) {
-	usleep(500000);
+	usleep(100000);
 	text->stroke_width -= 1;
 	rdman_shape_changed(&rdman, text);
 	coord3->matrix[5] -= 5;