]> Pileus Git - grits/commitdiff
moving roadplan to todo
authorAndy Spencer <andy753421@gmail.com>
Sat, 23 May 2009 22:37:01 +0000 (22:37 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sat, 23 May 2009 22:37:01 +0000 (22:37 +0000)
HACKING
TODO
src/plugin-radar.c

diff --git a/HACKING b/HACKING
index 94e5c6c2b064ee7609e959aeb83a18203608bf3c..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -1,28 +0,0 @@
-Road plan
----------
-0.1 - Working
-  * Fix all memory leaks
-  * Asynchronous IO and data loading
-  * Pre-load textures and polys in OpenGL
-  * GObject integration (plugin object/interface)
-
-0.x - Volume scans
-  * Display iso surfaces of volume scans
-
-0.x - GIS
-  * Replace RIDGE overlays with GIS images
-  * Set up LLH coordinate system
-  * Generic Time/Location selection
-    (not dependent on level 2 listings)
-
-0.x - More data
-  * Derived from Level 2:
-    * Composite reflectivity
-    * Storm relative motion
-    * Echo tops
-  * Warning/watch boxes
-  * Fronts
-  * Air pressure
-
-0.x - Animation
-  * Loop though times
diff --git a/TODO b/TODO
index 899fc6f1b06e5bdcd7a58a76e6cb270c2b6635a6..94e5c6c2b064ee7609e959aeb83a18203608bf3c 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,8 +1,28 @@
-See also: wiki
+Road plan
+---------
+0.1 - Working
+  * Fix all memory leaks
+  * Asynchronous IO and data loading
+  * Pre-load textures and polys in OpenGL
+  * GObject integration (plugin object/interface)
 
-Depth sorting
-  - Need to draw objects from lowest to highest when using transparency
+0.x - Volume scans
+  * Display iso surfaces of volume scans
 
-Fix memory leaks
+0.x - GIS
+  * Replace RIDGE overlays with GIS images
+  * Set up LLH coordinate system
+  * Generic Time/Location selection
+    (not dependent on level 2 listings)
 
-Add better color charts
+0.x - More data
+  * Derived from Level 2:
+    * Composite reflectivity
+    * Storm relative motion
+    * Echo tops
+  * Warning/watch boxes
+  * Fronts
+  * Air pressure
+
+0.x - Animation
+  * Loop though times
index cce0c3e6a70d3155490326ce6d6b6c724235ab8b..5c1c46ef850a8df5eb7b58c21604887f06c674d6 100644 (file)
@@ -115,12 +115,11 @@ static void load_radar_gui(Radar *radar)
        if (child)
                gtk_widget_destroy(child);
 
-       /* Get table size */
-
        guint rows = 1, cols = 1, cur_cols;
        gchar row_label_str[64], col_label_str[64], button_str[64];
        GtkWidget *row_label, *col_label, *button = NULL;
        GtkWidget *table = gtk_table_new(rows, cols, FALSE);
+
        for (guint vi = 0; vi < radar->h.nvolumes; vi++) {
                Volume *vol = radar->v[vi];
                if (vol == NULL) continue;
@@ -131,7 +130,8 @@ static void load_radar_gui(Radar *radar)
                row_label = gtk_label_new(row_label_str);
                gtk_label_set_use_markup(GTK_LABEL(row_label), TRUE);
                gtk_misc_set_alignment(GTK_MISC(row_label), 1, 0.5);
-               gtk_table_attach(GTK_TABLE(table), row_label, 0,1, rows-1,rows, GTK_FILL,GTK_FILL, 5,0);
+               gtk_table_attach(GTK_TABLE(table), row_label,
+                               0,1, rows-1,rows, GTK_FILL,GTK_FILL, 5,0);
 
                for (guint si = 0; si < vol->h.nsweeps; si++) {
                        Sweep *sweep = vol->sweep[si];
@@ -145,18 +145,20 @@ static void load_radar_gui(Radar *radar)
                                col_label = gtk_label_new(col_label_str);
                                gtk_label_set_use_markup(GTK_LABEL(col_label), TRUE);
                                gtk_widget_set_size_request(col_label, 40, -1);
-                               gtk_table_attach(GTK_TABLE(table), col_label, cols-1,cols, 0,1, GTK_FILL,GTK_FILL, 0,0);
+                               gtk_table_attach(GTK_TABLE(table), col_label,
+                                               cols-1,cols, 0,1, GTK_FILL,GTK_FILL, 0,0);
                        }
 
                        /* Button */
-                       //g_snprintf(button_str, 64, "%c: %.2f", vol->h.type_str[0], sweep->h.elev);
-                       //button = gtk_radio_button_new_with_label_from_widget(GTK_RADIO_BUTTON(button), button_str);
                        button = gtk_radio_button_new_from_widget(GTK_RADIO_BUTTON(button));
                        gtk_widget_set_size_request(button, -1, 22);
                        g_object_set(button, "draw-indicator", FALSE, NULL);
-                       g_signal_connect_swapped(button, "clicked", G_CALLBACK(load_color_table), vol->h.type_str);
-                       g_signal_connect_swapped(button, "clicked", G_CALLBACK(load_sweep), sweep);
-                       gtk_table_attach(GTK_TABLE(table), button, cols-1,cols, rows-1,rows, GTK_FILL,GTK_FILL, 0,0);
+                       g_signal_connect_swapped(button, "clicked",
+                                       G_CALLBACK(load_color_table), vol->h.type_str);
+                       g_signal_connect_swapped(button, "clicked",
+                                       G_CALLBACK(load_sweep), sweep);
+                       gtk_table_attach(GTK_TABLE(table), button,
+                                       cols-1,cols, rows-1,rows, GTK_FILL,GTK_FILL, 0,0);
                }
        }
        gtk_container_add(GTK_CONTAINER(config_body), table);