1
/* $Id: topview.h,v 1.5 2008/03/03 23:03:38 arif Exp $ $Revision: 1.5 $ */
2
/* vim:set shiftwidth=4 ts=8: */
4
/**********************************************************
5
* This software is part of the graphviz package *
6
* http://www.graphviz.org/ *
8
* Copyright (c) 1994-2004 AT&T Corp. *
9
* and is licensed under the *
10
* Common Public License, Version 1.0 *
13
* Information and Software Systems Research *
14
* AT&T Research, Florham Park NJ *
15
**********************************************************/
21
#include "smyrnadefs.h"
22
#ifdef WIN32 //this is needed on WIN32 to get libglade see the callback
23
#define _BB __declspec(dllexport)
28
void cleartopview(topview* t);
29
void preparetopview(Agraph_t *g,topview* t);
30
void drawTopViewGraph(Agraph_t *g);
31
int select_topview_node(topview_node *n);
32
int select_topview_edge(topview_edge *e);
33
int update_topview_node_from_cgraph(topview_node* Node);
34
int update_topview_edge_from_cgraph(topview_edge* Edge);
35
int set_update_required(topview* t);
36
int draw_topview_label(topview_node* v,float zdepth);
37
void set_topview_options();
38
void set_boundries(topview* t);
39
int get_color_from_edge(topview_edge *e);
40
int node_visible(Agnode_t* n);
42
void local_zoom(topview* t);
43
void originate_distorded_coordinates(topview* t);
44
_BB void on_host_alpha_change (GtkWidget *widget,gpointer user_data);
45
double dist(double x1, double y1, double x2, double y2);
47
glCompSet* glcreate_gl_topview_menu();
48
void fisheye_polar(double x_focus, double y_focus,topview* t);