/[smarc]/smarc/src/smarcgui/src/main.cc
ViewVC logotype

Diff of /smarc/src/smarcgui/src/main.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by misto, Fri Jan 3 17:05:45 2003 UTC revision 1.7 by misto, Fri Jan 3 22:20:52 2003 UTC
# Line 346  void refresh_codelist( void ) Line 346  void refresh_codelist( void )
346          gdk_colormap_alloc_colors( sys, colors, 6, FALSE, TRUE, dummy );          gdk_colormap_alloc_colors( sys, colors, 6, FALSE, TRUE, dummy );
347    
348    
349          gtk_clist_set_background(codelist, vm.get_ppppPC()/4, &(colors[0]) );          int rows = bin_loader.get_instr().size();
350            for( int i = 0; i < rows ; i++)
351                    gtk_clist_set_background(codelist, i, &(colors[0]) );
352    
353          if (vm.is_active(vmachine::WB))          if (vm.is_active(vmachine::WB))
354                  gtk_clist_set_background(codelist,                  gtk_clist_set_background(codelist,
355                                  vm.get_pppPC()/4, &(colors[5]) );                                  vm.get_pppPC()/4, &(colors[5]) );

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26