diff --git a/gui.c b/gui.c index 906e02f..835f0ec 100644 --- a/gui.c +++ b/gui.c @@ -18,6 +18,8 @@ along with this program. If not, see . */ #include +#include +#include "simdata.h" int terminal_width; int terminal_height; @@ -43,22 +45,74 @@ int gui_ncurses_refresh(){ return 0; } +char *tab_name[]={"Overview","Memory","Test"}; + +unsigned int CURRENT_TAB=0; + +enum CPU_STATE_t CPU_STATE=STOPPED; + +void update_tabs(){ + wattron(tabs,COLOR_PAIR(2)); + for(int i=0;i