diff --git a/gui_internals.c b/gui_internals.c index dc07f7c..fdfe8c5 100644 --- a/gui_internals.c +++ b/gui_internals.c @@ -50,8 +50,10 @@ int update_internals(WINDOW *win,struct simdata_t *simdata){ boxwidth=50; /* FETCH BOX */ + wattron(win,A_BOLD); drawbox(win,startx+20+boxwidth/2-50/2,starty,startx+20+boxwidth/2-50/2+50,starty+6); mvwprintw(win,starty,startx+20+boxwidth/2-4,"[ FETCH ]"); + wattroff(win,A_BOLD); starty+=2; mvwprintw(win,starty,startx+20+boxwidth/2-27/2,"wait_for_exec=%d exec_done=%d",simdata->fetch_data->wait_for_exec,simdata->fetch_data->exec_done); starty+=2; @@ -70,8 +72,10 @@ int update_internals(WINDOW *win,struct simdata_t *simdata){ starty+=1; /* DECODE BOX */ + wattron(win,A_BOLD); drawbox(win,startx+20+boxwidth/2-50/2,starty,startx+20+boxwidth/2-50/2+50,starty+6); mvwprintw(win,starty,startx+20+boxwidth/2-5,"[ DECODE ]"); + wattroff(win,A_BOLD); starty+=2; mvwprintw(win,starty,startx+20+boxwidth/2-19/2,"valid=%d exec_done=%d",simdata->decode_data->valid,simdata->decode_data->exec_done); decode_arrow_exit_y=starty; @@ -90,8 +94,10 @@ int update_internals(WINDOW *win,struct simdata_t *simdata){ starty+=1; /* EXECUTE BOX */ + wattron(win,A_BOLD); drawbox(win,startx+20+boxwidth/2-50/2,starty,startx+20+boxwidth/2-50/2+50,starty+21); mvwprintw(win,starty,startx+20+boxwidth/2-8,"[ EXECUTE UNIT ]"); + wattroff(win,A_BOLD); starty+=2; char *tofree;