From: ellson Date: Sat, 2 Aug 2008 15:16:42 +0000 (+0000) Subject: replacing agraph with cgraph X-Git-Tag: LAST_LIBGRAPH~32^2~3705 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae0fb3fed88bee1ac2f9d56754e3d6e531ce5e11;p=graphviz replacing agraph with cgraph convince smyrna to at least compile --- diff --git a/cmd/smyrna/glexpose.c b/cmd/smyrna/glexpose.c index dd136633e..04539f889 100644 --- a/cmd/smyrna/glexpose.c +++ b/cmd/smyrna/glexpose.c @@ -146,7 +146,7 @@ int glexpose_drawgraph(ViewInfo * view) if(!view->Topview->is_top_fisheye) drawTopViewGraph(view->g[view->activeGraph]); //view->Topview style dots and straight lines else { - drawtopologicalfisheye(view->Topview); + drawtopologicalfisheye2(view->Topview); } glCompSetDraw(view->Topview->topviewmenu); } diff --git a/cmd/smyrna/gui/gui.h b/cmd/smyrna/gui/gui.h index cd526f966..85f8396c7 100644 --- a/cmd/smyrna/gui/gui.h +++ b/cmd/smyrna/gui/gui.h @@ -23,11 +23,7 @@ #include #include #include "callbacks.h" -#include "agraph.h" - - - - +#include "cgraph.h" #define MAXIMUM_WIDGET_COUNT 97 diff --git a/cmd/smyrna/topfisheyeview.c b/cmd/smyrna/topfisheyeview.c index 36e978f8e..68466e70b 100644 --- a/cmd/smyrna/topfisheyeview.c +++ b/cmd/smyrna/topfisheyeview.c @@ -419,9 +419,6 @@ int get_temp_coords(topview* t,int level,int v,double* coord_x,double* coord_y,f } - - -`2 /* In loop, * update fs. * For example, if user clicks mouse at (p.x,p.y) to pick a single new focus,