diff src/redraw_man.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/redraw_man.c	Sun Aug 10 20:25:14 2008 +0800
+++ b/src/redraw_man.c	Sun Aug 10 21:32:42 2008 +0800
@@ -231,8 +231,8 @@
     STAILQ_INS_TAIL(rdman->all_geos, geo_t, next, geo);
     rdman->n_geos++;
 
+    /*! \todo remove order number. */
 #ifdef GEO_ORDER
-    /* TODO: remove order number. */
     geo->order = ++rdman->next_geo_order;
     if(geo->order == 0) {
 	next_order = 0;
@@ -257,7 +257,7 @@
 
 /*! \brief Remove a shape object from redraw manager.
  *
- * TODO: redraw shape objects that overlaid with removed one.
+ * \todo redraw shape objects that overlaid with removed one.
  */
 int rdman_remove_shape(redraw_man_t *rdman, shape_t *shape) {
     STAILQ_REMOVE(rdman->all_geos, geo_t, next, shape->geo);
@@ -614,7 +614,7 @@
 
 #ifndef UNITTEST
 static void clean_canvas(cairo_t *cr) {
-    /* TODO: clean to background color. */
+    /*! \todo clean to background color. */
     cairo_set_source_rgb(cr, 0, 0, 0);
     cairo_paint(cr);
 }