From e3d2a1d2c167f5516d9c69cb3e238e564a7b5080 Mon Sep 17 00:00:00 2001 From: "(Tim) Efthimis Kritikos" Date: Wed, 6 Mar 2024 02:46:43 +0000 Subject: [PATCH] GUI: Made the main boxes bold --- gui_internals.c | 6 ++++++ 1 file changed, 6 insertions(+) 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;