From a5956feff11a1c09813b12a41bfffc4c96005114 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Fri, 1 Jul 2011 17:10:22 +0200 Subject: [PATCH] selected actor is bold --- star.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/star.c b/star.c index 98f825b..be696db 100644 --- a/star.c +++ b/star.c @@ -402,10 +402,22 @@ void display_level( struct state *s ) mvprintw( i+1, j*2, " " ); break; case BALL: + if ( s->moving == BALL ) { + attron( A_BOLD ); + } mvprintw( i+1, j*2, "()" ); + if ( s->moving == BALL ) { + attroff( A_BOLD ); + } break; case CUBE: + if ( s->moving == CUBE ) { + attron( A_BOLD ); + } mvprintw( i+1, j*2, "[]" ); + if ( s->moving == CUBE ) { + attroff( A_BOLD ); + } break; case GIFT: mvprintw( i+1, j*2, "<>" );