local_proto.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /****************************************************************************
  2. *
  3. * MODULE: r.digit
  4. *
  5. * AUTHOR(S): Michael Shapiro - CERL
  6. *
  7. * PURPOSE: Interactive tool used to draw and save vector features
  8. * on a graphics monitor using a pointing device (mouse)
  9. * and save to a raster map.
  10. *
  11. * COPYRIGHT: (C) 2006 by the GRASS Development Team
  12. *
  13. * This program is free software under the GNU General Public
  14. * License (>=v2). Read the file COPYING that comes with GRASS
  15. * for details.
  16. *
  17. ***************************************************************************/
  18. #ifndef LOCAL_PROTO_H
  19. #define LOCAL_PROTO_H
  20. /* bnw_line.c */
  21. int black_and_white_line(int, int, int, int);
  22. /* create_map.c */
  23. int create_map(char *, char *);
  24. /* digitize.c */
  25. int digitize(FILE *);
  26. /* get_en.c */
  27. int get_east_north(int, int, char *, char *);
  28. /* get_point.c */
  29. int get_point(int *, int *, char *, char *);
  30. /* get_type.c */
  31. int get_type(void);
  32. /* instruct.c */
  33. int instructions(int);
  34. int reset_instructions(void);
  35. int left_button(char *);
  36. int middle_button(char *);
  37. int right_button(char *);
  38. /* setup_graph.c */
  39. int move(int, int);
  40. int cont(int, int);
  41. int setup_graphics(void);
  42. #ifdef GRASS_GIS_H
  43. /* get_area.c */
  44. int get_area(FILE *, struct Categories *);
  45. /* get_circle.c */
  46. int get_circle(FILE *, struct Categories *);
  47. int draw_and_record(FILE *, int, int, int, int);
  48. /* get_label.c */
  49. long get_cat(char *);
  50. char *get_label(long, struct Categories *);
  51. int get_category(FILE *, char *, struct Categories *);
  52. /* get_line.c */
  53. int get_line(FILE *, struct Categories *);
  54. #endif
  55. #endif