save the position of the sensors in the list
[psensor.git] / src / ui.h
index 0caf727..048d23c 100644 (file)
--- a/src/ui.h
+++ b/src/ui.h
@@ -59,10 +59,11 @@ struct ui_psensor {
         * The box which contains the sensors graph and the sensors
         * information list.
         */
-       GtkWidget *sensor_box;
+       GtkPaned *sensor_box;
 
        GtkListStore *sensors_store;
        GtkTreeView *sensors_tree;
+       GtkScrolledWindow *sensors_scrolled_tree;
 
        int graph_update_interval;
 };
@@ -96,4 +97,6 @@ void ui_cb_preferences(GtkMenuItem *mi, gpointer data);
 void ui_cb_about(GtkMenuItem *mi, gpointer data);
 void ui_cb_menu_quit(GtkMenuItem *mi, gpointer data);
 void ui_cb_sensor_preferences(GtkMenuItem *mi, gpointer data);
+
+struct psensor **ui_get_sensors_ordered_by_position(struct ui_psensor *);
 #endif