]> granicus.if.org Git - graphviz/commitdiff
*** empty log message ***
authorarif <devnull@localhost>
Tue, 18 Mar 2008 14:07:37 +0000 (14:07 +0000)
committerarif <devnull@localhost>
Tue, 18 Mar 2008 14:07:37 +0000 (14:07 +0000)
cmd/smyrna/gui/topviewsettings.c [new file with mode: 0644]
cmd/smyrna/gui/topviewsettings.h [new file with mode: 0644]

diff --git a/cmd/smyrna/gui/topviewsettings.c b/cmd/smyrna/gui/topviewsettings.c
new file mode 100644 (file)
index 0000000..5dec9b0
--- /dev/null
@@ -0,0 +1,30 @@
+#include "topviewsettings.h"
+#include "gui.h"
+
+
+void on_settingsOKBtn_clicked (GtkWidget *widget,gpointer user_data)
+{
+
+
+}
+void on_settingsCancelBtn_clicked (GtkWidget *widget,gpointer user_data)
+{
+
+}
+int load_settings_from_graph(Agraph_t *g)
+{
+
+       return 1;
+}
+int update_graph_from_settings(Agraph_t *g)
+{
+
+       return 1;
+}
+
+int show_settings_form()
+{
+               gtk_widget_hide(glade_xml_get_widget(xml, "dlgSettings"));
+               gtk_widget_show(glade_xml_get_widget(xml, "dlgSettings"));
+               gtk_window_set_keep_above           ((GtkWindow*)glade_xml_get_widget(xml, "dlgSettings"),1);
+}
diff --git a/cmd/smyrna/gui/topviewsettings.h b/cmd/smyrna/gui/topviewsettings.h
new file mode 100644 (file)
index 0000000..3c120f1
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef TOPVIEWSETTINGS_H
+#define TOPVIEWSETTINGS_H
+
+
+#include "smyrnadefs.h"
+
+
+_BB void on_settingsOKBtn_clicked (GtkWidget *widget,gpointer user_data);
+_BB void on_settingsCancelBtn_clicked (GtkWidget *widget,gpointer user_data);
+int load_settings_from_graph(Agraph_t *g);
+int update_graph_from_settings(Agraph_t *g);
+int show_settings_form();
+
+
+
+
+#endif