home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Graphics / Graphics.zip / xfitsvew.zip / XFITSview / menu.h < prev    next >
C/C++ Source or Header  |  1998-04-02  |  2KB  |  38 lines

  1. /* headers for XFITSview menu routines  */
  2. /*-----------------------------------------------------------------------
  3. *  Copyright (C) 1996
  4. *  Associated Universities, Inc. Washington DC, USA.
  5. *  This program is free software; you can redistribute it and/or
  6. *  modify it under the terms of the GNU General Public License as
  7. *  published by the Free Software Foundation; either version 2 of
  8. *  the License, or (at your option) any later version.
  9. *
  10. *  This program is distributed in the hope that it will be useful,
  11. *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. *  GNU General Public License for more details.
  14. *-----------------------------------------------------------------------*/
  15.  
  16. #ifndef MENU_H
  17. #define MENU_H
  18. /* create main menu */
  19. Widget MakeMainMenu (Widget mainWindow, XtPointer image, XtPointer IDdata);
  20.  
  21. /* set Zoom menu labels to indicate which zoom is on */
  22. /* number is the menu item number 0 = 25% to 6=1600% */
  23. void MenuMarkZoom (int number);
  24.  
  25. /* set position logging menu label to indicate if hitting it will */
  26. /* start or stop position logging, 1 = turn on, 2 = turn off */
  27. void MenuMarkLogger (int onoff);
  28.  
  29. /* callback prototypes */
  30. void QuitCB (Widget w, XtPointer clientData, XtPointer callData);
  31. void OpenCB (Widget w, XtPointer clientData, XtPointer callData);
  32. void PreviewCB (Widget w, XtPointer clientData, XtPointer callData);
  33. void FileCancelCB (Widget filebox, XtPointer clientData, XtPointer callData);
  34. void FileOKCB (Widget filebox, XtPointer clientData, XtPointer callData);
  35. void SaveAsCB (Widget w, XtPointer clientData, XtPointer callData);
  36.  
  37. #endif
  38.