From: arif Date: Tue, 18 Mar 2008 14:07:37 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: LAST_LIBGRAPH~32^2~4492 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ec42ca6571e4e93a9d54123033e6351e80c6ca3;p=graphviz *** empty log message *** --- diff --git a/cmd/smyrna/gui/topviewsettings.c b/cmd/smyrna/gui/topviewsettings.c new file mode 100644 index 000000000..5dec9b08d --- /dev/null +++ b/cmd/smyrna/gui/topviewsettings.c @@ -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 index 000000000..3c120f103 --- /dev/null +++ b/cmd/smyrna/gui/topviewsettings.h @@ -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