// create windows but don't show them yet void gtk_debugger_preload(void) { dbgw.regs = dbgregs_create_window(); dbgw.mem = dbgmem_create_window(); dbgw.bkpts = dbgbkpts_create_window(); dbgw.pclog = dbgpclog_create_window(); dbgw.stack = dbgstack_create_window(); dbgw.heap = dbgheap_create_window(); //dbgw.iop = dbgiop_create_window(); dbgw.code = dbgcode_create_window(); }
// create windows but don't show them yet void gtk_debugger_preload(void) { WND_TMR_START(); dbgw.regs = dbgregs_create_window(); dbgw.mem = dbgmem_create_window(); dbgw.bkpts = dbgbkpts_create_window(); dbgw.pclog = dbgpclog_create_window(); dbgw.stack = dbgstack_create_window(); dbgw.heap = dbgheap_create_window(); dbgw.iop = dbgiop_create_window(); dbgw.code = dbgcode_create_window(); if(options3.dbg_dock) //must be launched as last dbgw.dock = dbgdock_create_window(); dbg_load = !0; WND_TMR_STOP("Debugger Preload Time"); }
GtkWidget* dbgheap_display_window(void) { if(!already_open) wnd = dbgheap_create_window(); #ifdef WND_STATE if(!options3.heap.minimized) { gtk_window_resize(GTK_WINDOW(wnd), options3.heap.rect.w, options3.heap.rect.h); gtk_window_move(GTK_WINDOW(wnd), options3.heap.rect.x, options3.heap.rect.y); } else gtk_window_iconify(GTK_WINDOW(wnd)); #endif clist_refresh(store); gtk_widget_show(wnd); return wnd; }