Commit 9b97a67a authored by Thomas White's avatar Thomas White Committed by Thomas White
Browse files

hdfsee: More rings, and fix a simple bug

parent b26221fd
......@@ -255,10 +255,15 @@ static int draw_stuff(cairo_surface_t *surf, DisplayWindow *dw)
show_ring(cr, dw, 5.0e-10, "5A", &basic_m,
0.0, 1.0, 0.0);
show_ring(cr, dw, 4.0e-10, "4A", &basic_m,
0.0, 1.0, 0.0);
//show_ring(cr, dw, 3.0e-10, "3A", &basic_m);
//show_ring(cr, dw, 2.0e-10, "2A", &basic_m);
//show_ring(cr, dw, 1.0e-10, "1A", &basic_m);
0.2, 1.0, 0.2);
show_ring(cr, dw, 3.0e-10, "3A", &basic_m,
0.4, 1.0, 0.4);
show_ring(cr, dw, 2.0e-10, "2A", &basic_m,
0.6, 1.0, 0.6);
show_ring(cr, dw, 1.0e-10, "1A", &basic_m,
0.8, 1.0, 0.8);
show_ring(cr, dw, 1.0e-10, "0.5A", &basic_m,
1.0, 1.0, 1.0);
} else {
int i;
for ( i=0; i<dw->n_rings; i++ ) {
......
......@@ -126,7 +126,7 @@ int main(int argc, char *argv[])
gtk_init(&argc, &argv);
/* Short options */
while ((c = getopt_long(argc, argv, "hp:b:i:c:e:g:2:",
while ((c = getopt_long(argc, argv, "hp:b:i:c:e:g:2:r:",
longopts, NULL)) != -1) {
char *test;
......@@ -175,6 +175,7 @@ int main(int argc, char *argv[])
ERROR("Ring size must be numerical.\n");
return 1;
}
break;
case 'r' :
config_showrings = 1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment