~ubuntu-branches/ubuntu/lucid/graphviz/lucid-updates

« back to all changes in this revision

Viewing changes to cmd/smyrna/topview.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2008-06-19 20:23:23 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080619202323-ls23h96ntj9ny94m
Tags: 2.18-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Build depend on liblualib50-dev instead of liblua5.1-0-dev.
  - Drop libttf-dev (libttf-dev is in universe) (LP: #174749).
  - Replace gs-common with ghostscript.
  - Build-depend on python-dev instead of python2.4-dev or python2.5-dev.
  - Mention the correct python version for the python bindings in the
    package description.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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: */
 
3
 
 
4
/**********************************************************
 
5
*      This software is part of the graphviz package      *
 
6
*                http://www.graphviz.org/                 *
 
7
*                                                         *
 
8
*            Copyright (c) 1994-2004 AT&T Corp.           *
 
9
*                and is licensed under the                *
 
10
*            Common Public License, Version 1.0           *
 
11
*                      by AT&T Corp.                      *
 
12
*                                                         *
 
13
*        Information and Software Systems Research        *
 
14
*              AT&T Research, Florham Park NJ             *
 
15
**********************************************************/
 
16
 
 
17
#ifndef TOPVIEW_H
 
18
#define TOPVIEW_H
 
19
 
 
20
 
 
21
#include "smyrnadefs.h"
 
22
#ifdef  WIN32   //this is needed on WIN32 to get libglade see the callback
 
23
#define _BB  __declspec(dllexport)
 
24
#else
 
25
#define _BB  
 
26
#endif
 
27
 
 
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);
 
41
int move_TVnodes();
 
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);
 
46
double G(double x);
 
47
glCompSet* glcreate_gl_topview_menu();
 
48
void fisheye_polar(double x_focus, double y_focus,topview* t);
 
49
 
 
50
 
 
51
#endif