File: graphics.h

package info (click to toggle)
qrouter 1.4.71-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,620 kB
  • sloc: ansic: 19,446; sh: 7,504; makefile: 149; tcl: 3
file content (29 lines) | stat: -rw-r--r-- 860 bytes parent folder | download | duplicates (3)
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