#define SAFETY 50 // safety pixels at right and bottom of pixmap buffer
+
+typedef enum _draw_color { COL_BLACK,
+ COL_WHITE,
+ COL_WAIT_FORK,
+ COL_WAIT_CPU,
+ COL_ZOMBIE,
+ COL_WAIT,
+ COL_RUN,
+ NUM_COLORS } draw_color;
+
+extern GdkColor drawing_colors[NUM_COLORS];
+
/* This part of the viewer does :
* Draw horizontal lines, getting graphic context as arg.
* Copy region of the screen into another.
gint height, width, depth;
/* X coordinate of damaged region */
- gint damage_begin, damage_end;
- LttTime last_start;
+ gint damage_begin, damage_end; /* damaged region to be exposed,
+ updated per chunk */
+ LttTime last_start;
GdkGC *dotted_gc;
GdkGC *gc;
};