GUI: Made the main boxes bold

This commit is contained in:
(Tim) Efthimis Kritikos 2024-03-06 02:46:43 +00:00
parent c59791e7e2
commit e3d2a1d2c1

View File

@ -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;