+ /* color of text : status of the process */
+ if(process_out->state->s == LTTV_STATE_UNNAMED)
+ {
+ prop_text_out.foreground->red = 0xffff;
+ prop_text_out.foreground->green = 0xffff;
+ prop_text_out.foreground->blue = 0xffff;
+ }
+ else if(process_out->state->s == LTTV_STATE_WAIT_FORK)
+ {
+ prop_text_out.foreground->red = 0x0fff;
+ prop_text_out.foreground->green = 0x0000;
+ prop_text_out.foreground->blue = 0x0fff;
+ }
+ else if(process_out->state->s == LTTV_STATE_WAIT_CPU)
+ {
+ prop_text_out.foreground->red = 0xffff;
+ prop_text_out.foreground->green = 0xffff;
+ prop_text_out.foreground->blue = 0x0000;
+ }
+ else if(process_out->state->s == LTTV_STATE_EXIT)
+ {
+ prop_text_out.foreground->red = 0xffff;
+ prop_text_out.foreground->green = 0x0000;
+ prop_text_out.foreground->blue = 0xffff;
+ }
+ else if(process_out->state->s == LTTV_STATE_WAIT)
+ {
+ prop_text_out.foreground->red = 0xffff;
+ prop_text_out.foreground->green = 0x0000;
+ prop_text_out.foreground->blue = 0x0000;
+ }
+ else if(process_out->state->s == LTTV_STATE_RUN)
+ {
+ prop_text_out.foreground->red = 0x0000;
+ prop_text_out.foreground->green = 0xffff;
+ prop_text_out.foreground->blue = 0x0000;
+ }
+ else
+ {
+ prop_text_out.foreground->red = 0xffff;
+ prop_text_out.foreground->green = 0xffff;
+ prop_text_out.foreground->blue = 0xffff;
+ }
+