gui_meas.h 809 B

12345678910111213141516171819202122232425262728293031
  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. #ifndef GUI_MEAS_H
  13. #define GUI_MEAS_H
  14. #include "gui_tool.h"
  15. extern struct tool_ops tool_meas_ops;
  16. extern struct tool_ops tool_meas_ops_x;
  17. extern struct tool_ops tool_meas_ops_y;
  18. void begin_drag_move_meas(struct inst *inst, int i);
  19. struct inst *find_point_meas_move(struct inst *inst, struct coord pos);
  20. void end_drag_move_meas(void);
  21. void do_move_to_meas(struct inst *inst, struct inst *to, int i);
  22. #endif /* !GUI_MEAS_H */