Root/
| 1 | /* |
| 2 | * gui_meas.c - GUI, measurements |
| 3 | * |
| 4 | * Written 2009 by Werner Almesberger |
| 5 | * Copyright 2009 by 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 | |
| 14 | #ifndef GUI_MEAS_H |
| 15 | #define GUI_MEAS_H |
| 16 | |
| 17 | #include "gui_tool.h" |
| 18 | |
| 19 | |
| 20 | extern struct tool_ops tool_meas_ops; |
| 21 | extern struct tool_ops tool_meas_ops_x; |
| 22 | extern struct tool_ops tool_meas_ops_y; |
| 23 | |
| 24 | |
| 25 | void begin_drag_move_meas(struct inst *inst, int i); |
| 26 | struct inst *find_point_meas_move(struct inst *inst, struct coord pos); |
| 27 | void end_drag_move_meas(void); |
| 28 | void do_move_to_meas(struct inst *inst, struct inst *to, int i); |
| 29 | |
| 30 | #endif /* !GUI_MEAS_H */ |
| 31 |
Branches:
master
