home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Examples / MiscGISMapCoord / Controller.h < prev    next >
Encoding:
Text File  |  1993-04-14  |  1.1 KB  |  57 lines

  1. /*============================= Controller.h ================================*/
  2. /* Class controls a demo panel. The panel shows one geographic coordinate
  3.    in World Coordinates and various local UTM grid systems. It allows up to
  4.    10 such points to be selected and edited.
  5.  
  6. HISTORY
  7. 7-Feb-93  Dale Amon at GPL
  8.       Created
  9. */
  10.  
  11. #import <appkit/appkit.h>
  12.  
  13. #define    LATITUDE_DEGREES    0
  14. #define    LATITUDE_MINUTES    1
  15. #define    LATITUDE_SECONDS    2
  16.  
  17. #define LONGITUDE_DEGREES    3
  18. #define LONGITUDE_MINUTES    4
  19. #define LONGITUDE_SECONDS    5
  20.  
  21. #define    EASTING            0
  22. #define NORTHING        1
  23.  
  24. #define    METERS_DIGITS        8
  25. #define METER_FRACTION_DIGITS    3
  26.  
  27. #define    VERSION_ID        1
  28.  
  29. @interface Controller:Object
  30. {
  31.     id    igCoord;
  32.     id    igInput;
  33.     id    igOldCoord;
  34.     id    igOldInput;
  35.     id    ukngCoord;
  36.     id    ukngInput;
  37.     id    ukz30Coord;
  38.     id    ukz30Input;
  39.     id    ukz31Coord;
  40.     id    ukz31Input;
  41.     id    worldCoord;
  42.     id    worldInput;
  43.     id  index;
  44.  
  45.     const char *autoLaunch;
  46. }
  47.  
  48. - indexChanged: sender;
  49. - worldChanged: sender;
  50. - ukngChanged:  sender;
  51. - ukz30Changed: sender;
  52. - ukz31Changed: sender;
  53. - igChanged:    sender;
  54. - igOldChanged: sender;
  55.  
  56. @end
  57.