summaryrefslogtreecommitdiff
path: root/graphics.h
blob: e30782218903e744a9c470eba5f5cf0d9bdae5d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*--------------------------------------------------------------*/
/* graphics.h -- graphics routines                             	*/
/*--------------------------------------------------------------*/

#ifndef GRAPHICS_H

#include <tk.h>

/* TODO: Can we make this include independent from qrouter.h ? */
#include "qrouter.h"

void   highlight(int, int);
void   highlight_source(void);
void   highlight_dest(void);
void   highlight_starts(POINT glist);
void   highlight_mask(void);

void   draw_net(NET net, u_char single, int *lastlayer);
void   draw_layout(void);

int    GUI_init(Tcl_Interp *interp);
void   expose(Tk_Window tkwind);
int    redraw(ClientData clientData, Tcl_Interp *interp, int objc,
              Tcl_Obj *CONST objv[]);
int    recalc_spacing(void);
void   resize(Tk_Window tkwind, int locwidth, int locheight);

#define GRAPHICS_H
#endif