Commit e825af6d authored by Dwight Perry's avatar Dwight Perry

Removing files again

parent e2b9693a
*.la
*.lo
.deps
.libs
po
graphviz*.tar.gz
graphviz_version.h
Makefile
Makefile.in
Doxyfile
doxygen
COPYING
FEATURE
INSTALL
aclocal.m4
ast_common.h
autom4te-2.53.cache
autom4te.cache
builddate.h
config.cache
config.guess
config.h
config.h.in
config.log
config.status
config.sub
configure
depcomp
graphviz.spec
install-sh
libtool
libltdl
ltmain.sh
missing
mkinstalldirs
pkgIndex.tcl
stamp-h1
ylwrap
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
cmake_uninstall.cmake
*.la
*.lo
*.o
*.pc
*.pdf
*Makefile
*Makefile.in
*/*/.deps/
*/*/*/.deps/
*/*/*/*/.deps/
*/*/*/*/*/.deps/
*/*/.libs/
*/*/*/.libs/
*/*/*/*/.libs/
*/*/*/*/*/.libs/
aclocal.m4
ast_common.h
autom4te.cache/
builddate.h
cmd/dot/dot
cmd/dot/dot_builtins
cmd/dot/dot_static
cmd/dotty/dotty
cmd/gvpr/gdefs.h
cmd/gvpr/gvpr
cmd/gvpr/mkdefs
cmd/lefty/dot2l/dotparse.c
cmd/lefty/dot2l/dotparse.h
cmd/lefty/dot2l/y.output
cmd/lefty/dot2l/y.tab.c
cmd/lefty/dot2l/y.tab.h
cmd/lefty/dotparse.c
cmd/lefty/dotparse.h
cmd/lefty/lefty
cmd/lneato/lneato
cmd/smyrna/smyrna
cmd/tools/acyclic
cmd/tools/bcomps
cmd/tools/ccomps
cmd/tools/dijkstra
cmd/tools/dot2gxl
cmd/tools/dot2gxl.1
cmd/tools/gc
cmd/tools/gml2gv
cmd/tools/gmlparse.c
cmd/tools/gmlparse.h
cmd/tools/gmlscan.c
cmd/tools/gvcolor
cmd/tools/gvgen
cmd/tools/gvpack
cmd/tools/gxl2dot
cmd/tools/gxl2gv
cmd/tools/mm2gv
cmd/tools/nop
cmd/tools/sccmap
cmd/tools/tred
cmd/tools/unflatten
cmd/tools/y.output
cmd/tools/y.tab.c
cmd/tools/y.tab.h
config/
config.cache
config.h
config.h.in
config.log
config.status
configure
contrib/diffimg/diffimg
contrib/prune/prune
COPYING
debian/changelog
dot.demo/demo
dot.demo/dot
dot.demo/simple
Doxyfile
doxygen/
FEATURE/
graphs/*/*.gv.*
graphs/*/node*.png
graphviz-*/
graphviz.spec
graphviz-*.tar.gz
INSTALL
lib/agraph/grammar.c
lib/agraph/grammar.h
lib/agraph/scan.c
lib/agraph/y.output
lib/agraph/y.tab.c
lib/agraph/y.tab.h
lib/cgraph/grammar.c
lib/cgraph/grammar.h
lib/cgraph/scan.c
lib/cgraph/y.output
lib/cgraph/y.tab.c
lib/cgraph/y.tab.h
lib/common/brewer_lib
lib/common/color_lib
lib/common/colortbl.h
lib/common/gvc.c
lib/common/htmlparse.c
lib/common/htmlparse.h
lib/common/ps_font_equiv.h
lib/common/svgcolor_lib
lib/common/y.output
lib/common/y.tab.c
lib/common/y.tab.h
lib/expr/exop.h
lib/expr/exparse.c
lib/expr/exparse.h
lib/expr/y.output
lib/expr/y.tab.c
lib/expr/y.tab.h
lib/gd/annotate
lib/gd/circletexttest
lib/gd/fontconfigtest
lib/gd/fontsizetest
lib/gd/fontwheeltest
lib/gd/gd2copypal
lib/gd/gd2time
lib/gd/gd2togif
lib/gd/gd2topng
lib/gd/gdcmpgif
lib/gd/gddemo
lib/gd/gd.html
lib/gd/gdparttopng
lib/gd/gdtest
lib/gd/gdtestft
lib/gd/gdtopng
lib/gd/gifanimtest
lib/gd/giftogd2
lib/gd/pngtogd
lib/gd/pngtogd2
lib/gd/testac
lib/gd/testtr
lib/gd/webpng
lib/graph/parser.c
lib/graph/parser.h
lib/graph/y.output
lib/graph/y.tab.c
lib/graph/y.tab.h
lib/gvpr/gdefs.h
lib/gvpr/mkdefs
libltdl/
lib/sfio/FEATURE/
libtool
lib/vmalloc/FEATURE/
m4/
macosx/build/graphviz.pmdoc/01local.xml
macosx/build/graphviz.pmdoc/02graphviz.xml
macosx/Info.plist
plugin/core/ps.h
plugin/lasi/ps.h
plugin/xlib/vimdot
stamp-h1
tclpkg/gdtclft/pkgIndex.tcl
tclpkg/gv/gv.3guile
tclpkg/gv/gv.3io
tclpkg/gv/gv.3java
tclpkg/gv/gv.3lua
tclpkg/gv/gv.3ocaml
tclpkg/gv/gv.3perl
tclpkg/gv/gv.3php
tclpkg/gv/gv.3python
tclpkg/gv/gv.3r
tclpkg/gv/gv.3ruby
tclpkg/gv/gv.3sharp
tclpkg/gv/gv.3tcl
tclpkg/gv/gv.a
tclpkg/gv/gv.cma
tclpkg/gv/gv.cmi
tclpkg/gv/gv.cmo
tclpkg/gv/gv.cmx
tclpkg/gv/gv.cmxa
tclpkg/gv/gv.cs
tclpkg/gv/gv_csharp.cpp
tclpkg/gv/gv_guile.cpp
tclpkg/gv/gv.java
tclpkg/gv/gv_java.cpp
tclpkg/gv/gvJNI.java
tclpkg/gv/gv_lua.cpp
tclpkg/gv/gv_lua.cpp.orig
tclpkg/gv/gv.ml
tclpkg/gv/gv.mli
tclpkg/gv/gv_ocaml.cpp
tclpkg/gv/gv_perl.cpp
tclpkg/gv/gv.php
tclpkg/gv/gv_php.cpp
tclpkg/gv/gvPINVOKE.cs
tclpkg/gv/gv.pm
tclpkg/gv/gv.py
tclpkg/gv/gv.pyc
tclpkg/gv/gv_python.cpp
tclpkg/gv/gv.R
tclpkg/gv/gv_R.cpp
tclpkg/gv/gv_ruby.cpp
tclpkg/gv/gv_sharp.cpp
tclpkg/gv/gv_tcl.cpp
tclpkg/gv/META.gv
tclpkg/gv/php_gv.h
tclpkg/gv/pkgIndex.tcl
tclpkg/gv/swig.cmi
tclpkg/gv/swig.cmo
tclpkg/gv/swig.ml
tclpkg/gv/swig.mli
tclpkg/gv/SWIGTYPE_p_Agedge_t.cs
tclpkg/gv/SWIGTYPE_p_Agedge_t.java
tclpkg/gv/SWIGTYPE_p_Agnode_t.cs
tclpkg/gv/SWIGTYPE_p_Agnode_t.java
tclpkg/gv/SWIGTYPE_p_Agraph_t.cs
tclpkg/gv/SWIGTYPE_p_Agraph_t.java
tclpkg/gv/SWIGTYPE_p_Agsym_t.cs
tclpkg/gv/SWIGTYPE_p_Agsym_t.java
tclpkg/gv/SWIGTYPE_p_FILE.cs
tclpkg/gv/SWIGTYPE_p_FILE.java
tclpkg/gv/SWIGTYPE_p_p_void.cs
tclpkg/gv/SWIGTYPE_p_p_void.java
tclpkg/gv/test_*
tclpkg/pkgIndex.tcl
tclpkg/tcldot/pkgIndex.tcl
tclpkg/tclpathplan/pkgIndex.tcl
tclpkg/tkspline/pkgIndex.tcl
windows/build/graphviz.wxs
windows/Properties/AssemblyInfo.cs
Makefile.in
Makefile
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
*.la
*.lo
.deps
.libs
Makefile
Makefile.in
dot dot_static dot_builtins
*.pdf
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
.deps
Makefile
Makefile.in
dotty
*.pdf
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
Makefile.in
Makefile
qMakefile
moc_*
qrc_mdi.cpp
gvedit.pro
gvedit
.deps
.libs
attrs.txt
*.pdf
Makefile.in
Makefile
*.1.pdf
gvmap
cluster
.deps
.libs
*.la
*.lo
.deps
.libs
Makefile
Makefile.in
gdefs.h
gvpr
gvpr_static
mkdefs
*.pdf
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
*.la
*.lo
.deps
.libs
Makefile
Makefile.in
lefty
*.pdf
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
*.la
*.lo
.deps
.libs
Makefile
Makefile.in
*.la
*.lo
.deps
.libs
Makefile
Makefile.in
dotparse.c
dotparse.h
dotparse.output
y.tab.h
y.tab.c
y.output
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
Makefile
Makefile.in
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
*.la
*.lo
.deps
.libs
Makefile
Makefile.in
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
.deps
.libs
Makefile
Makefile.in
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
*.la
*.lo
.deps
.libs
Makefile
Makefile.in
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
*.la
*.lo
.deps
.libs
Makefile
Makefile.in
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
Makefile.in
Makefile
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
.deps
.libs
Makefile
Makefile.in
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
Makefile.in
Makefile
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
*.la
*.lo
.deps
.libs
Makefile
Makefile.in
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
*.la
*.lo
.deps
.libs
Makefile
Makefile.in
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
Makefile
Makefile.in
lneato
*.pdf
CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
.deps
*.la
*.lo
*.pc
.deps
.libs
Makefile
Makefile.in
smyrna
smyrna_static
*.pdf
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <gtk/gtk.h>
#include "callbacks.h"
#include "topview.h"
GtkMessageDialog* Dlg;
int respond;
//Menu Items
void
new_graph_clicked (GtkWidget *widget,
gpointer user_data)
{
g_print ("new graph button fired\n");
}
void
open_graph_clicked (GtkWidget *widget,
gpointer user_data)
{
}
void
save_graph_clicked (GtkWidget *widget,
gpointer user_data)
{
if(view.activeGraph > -1)
save_graph(view.g[view.activeGraph],NULL);
}
void
save_as_graph_clicked (GtkWidget *widget,
gpointer user_data)
{
GtkWidget *dialog;
dialog = gtk_file_chooser_dialog_new ("Save File",
NULL,
GTK_FILE_CHOOSER_ACTION_SAVE,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,
NULL);
gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog), TRUE);
if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT)
{
char *filename;
filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));
save_graph(view.g[view.activeGraph],filename);
g_free (filename);
}
gtk_widget_destroy (dialog);
}
void
remove_graph_clicked (GtkWidget *widget,
gpointer user_data)
{
g_print ("remove graph button fired\n");
}
void
btn_dot_clicked (GtkWidget *widget,
gpointer user_data)
{
GdkCursor* cursor;
GdkWindow* w;
Dlg = gtk_message_dialog_new (NULL,
GTK_DIALOG_MODAL,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_YES_NO,
"This will change the graph layout\n all your position changes will be lost\n Are you sure?");
respond=gtk_dialog_run (Dlg);
if (respond == GTK_RESPONSE_YES)
do_graph_layout(view.g[view.activeGraph],0,0);
gtk_object_destroy (Dlg);
cursor = gdk_cursor_new(GDK_HAND2);
w=glade_xml_get_widget(xml, "frmMain");
// gdk_window_set_cursor(w, cursor);
gdk_window_set_cursor ((GTK_WIDGET(drawing_area)->window), cursor);
// gdk_window_set_title((GTK_WIDGET(widget)->window),"adasdasdasdassada");
gdk_cursor_destroy(cursor);
}
void
btn_neato_clicked (GtkWidget *widget,
gpointer user_data)
{
Dlg = gtk_message_dialog_new (NULL,
GTK_DIALOG_MODAL,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_YES_NO,
"This will change the graph layout\n all your position changes will be lost\n Are you sure?");
respond=gtk_dialog_run (Dlg);
if (respond == GTK_RESPONSE_YES)
do_graph_layout(view.g[view.activeGraph],1,0);
gtk_object_destroy (Dlg);
gtk_button_set_image(GTK_BUTTON(glade_xml_get_widget(xml, "btn_neato")), gtk_image_new_from_file("c:\fonts.png"));
}
void
btn_twopi_clicked (GtkWidget *widget,
gpointer user_data)
{
Dlg = gtk_message_dialog_new (NULL,
GTK_DIALOG_MODAL,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_YES_NO,
"This will change the graph layout\n all your position changes will be lost\n Are you sure?");
respond=gtk_dialog_run (Dlg);
if (respond == GTK_RESPONSE_YES)
do_graph_layout(view.g[view.activeGraph],2,0);
gtk_object_destroy (Dlg);
}
void
btn_circo_clicked (GtkWidget *widget,
gpointer user_data)
{
Dlg = gtk_message_dialog_new (NULL,
GTK_DIALOG_MODAL,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_YES_NO,
"This will change the graph layout\n all your position changes will be lost\n Are you sure?");
respond=gtk_dialog_run (Dlg);
if (respond == GTK_RESPONSE_YES)
do_graph_layout(view.g[view.activeGraph],3,0);
gtk_object_destroy (Dlg);
}
void
btn_fdp_clicked (GtkWidget *widget,
gpointer user_data)
{
int ind=0;
Dlg = gtk_message_dialog_new (NULL,
GTK_DIALOG_MODAL,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_YES_NO,
"This will change the graph layout\n all your position changes will be lost\n Are you sure?");
respond=gtk_dialog_run (Dlg);
if (respond == GTK_RESPONSE_YES)
do_graph_layout(view.g[view.activeGraph],4,0);
gtk_object_destroy (Dlg);
}
//test call back function delete later
static void callback( GtkWidget *widget,
gpointer data )
{
g_print ("Hello again - %s was pressed\n", (char *) data);
}
void
on_newNode (GtkWidget *button,
gpointer user_data)
{
int* a;
int* b;
a=(int*) malloc (sizeof(int));
b=(int*) malloc (sizeof(int));
if(gdk_gl_query_version(a,b))
{
printf ("min ver:%i\n",a);
printf ("min ver:%i\n",b);
}
}
void dlgOpenGraph_OK_Clicked( GtkWidget *button,
gpointer data )
{
g_print ("ok is pressed - %i was pressed\n",*(int*)data);
}
void graph_select_change (GtkWidget *widget,
gpointer user_data)
{
gint active_graph;
if(!SignalBlock)
{
active_graph=gtk_combo_box_get_active(widget);
if (active_graph > -1)
{
view.activeGraph=active_graph;
refreshControls(&view);
}
}
}
//dlgOpenGraph btnOK clicked
void on_dlgOpenGraph_btnOK_clicked (GtkWidget *widget,
gpointer user_data)
{
/* GTK_RESPONSE_OK = -5,
GTK_RESPONSE_CANCEL = -6,
GTK_RESPONSE_CLOSE = -7,
GTK_RESPONSE_YES = -8,
GTK_RESPONSE_NO = -9,
GTK_RESPONSE_APPLY = -10,
GTK_RESPONSE_HELP = -11 */
if(update_graph_properties(view.g[view.activeGraph]))
gtk_dialog_response(glade_xml_get_widget(xml, "dlgOpenGraph"),GTK_RESPONSE_OK);
}
//dlgOpenGraph btncancelclicked
void on_dlgOpenGraph_btncancel_clicked (GtkWidget *widget,
gpointer user_data)
{
gtk_dialog_response(glade_xml_get_widget(xml, "dlgOpenGraph"),GTK_RESPONSE_CANCEL);
}