Root/tools/atrf-path/gui.h

Source at commit 1f003f1c2100f7f3670106fd13df0eaec7a0e4e1 created 7 years 3 months ago.
By Werner Almesberger, atusb/atusb.kicad_pcb: grow RF feed trace to 1.9 mm, for 1.0 mm PCB
1/*
2 * atrf-path/gui.h - Graphical output for atrf-path
3 *
4 * Written 2011 by Werner Almesberger
5 * Copyright 2011 Werner Almesberger
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 */
12
13#ifndef GUI_H
14#define GUI_H
15
16#include <stdlib.h>
17
18#include "sweep.h"
19
20
21/*
22 * gui returns one of the following values:
23 *
24 * -1 fail
25 * 0 no decision taken
26 * 1 pass
27 */
28
29#ifdef HAVE_GFX
30int gui(const struct sweep *sweep, int sweeps);
31#else
32#define gui(sweep, sweeps) ({ abort(); 0; })
33#endif
34
35#endif /* !GUI_H */
36

Archive Download this file



interactive