params:ViewInfo , global view variable defined in viewport.c
return value:none
*/
-void drawtestpoly()
+void drawtestpoly(void)
{
glEnable(GL_TEXTURE_2D);
glTexEnvf (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
return 0;
}
-void drawRotatingTools()
+void drawRotatingTools(void)
{
float x,y;
float x1,y1,z1;
static float dz = 0.0;
/* Forward declarations */
-static glCompSet *glcreate_gl_topview_menu();
+static glCompSet *glcreate_gl_topview_menu(void);
static void set_boundaries(topview * t);
static void set_topview_options(void);
static int draw_topview_label(topview_node * v, float zdepth);
return 0;
}
-static int draw_node_hint_boxes()
+static int draw_node_hint_boxes(void)
{
int ind;
char buf[512];
-static void set_topview_options()
+static void set_topview_options(void)
{
if ((view->mouse.mouse_mode == 10) && (view->mouse.mouse_down == 1)) //selected, if there is move move it, experimental
return OD_Visible(n);
}
-int move_TVnodes()
+int move_TVnodes(void)
{
topview_node *v;
int ind = 0;
}
#if 0
-void test_callback()
+void test_callback(void)
{
}
#endif
static char *smyrna_icon_fisheye;
static char *smyrna_icon_rotate;
-static glCompSet *glcreate_gl_topview_menu()
+static glCompSet *glcreate_gl_topview_menu(void)
{
glCompSet *s = glCompSetNew();
void preparetopview(Agraph_t * g, topview * t);
void drawTopViewGraph(Agraph_t * g);
int set_update_required(topview * t);
-int move_TVnodes();
+int move_TVnodes(void);
void local_zoom(topview * t);
void originate_distorded_coordinates(topview * t);
float calcfontsize(float totaledgelength,int totallabelsize,int edgecount,int totalnodecount);