home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / fontutils-0.6-base.tgz / fontutils-0.6-base.tar / fsf / fontutils / xbfe / commands.h < prev    next >
C/C++ Source or Header  |  1992-03-27  |  2KB  |  49 lines

  1. /* commands.h: declarations for the operations.
  2.  
  3. Copyright (C) 1992 Free Software Foundation, Inc.
  4.  
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. 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. You should have received a copy of the GNU General Public License
  16. along with this program; if not, write to the Free Software
  17. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  18.  
  19. #ifndef COMMANDS_H
  20. #define COMMANDS_H
  21.  
  22. #include "xt-common.h"
  23.  
  24.  
  25. /* Where the output goes.  */
  26. extern string output_name;
  27.  
  28. /* Exit the program, first closing FONT_NAME.  */
  29. extern void exit_command (Widget, XtPointer font_name, XtPointer);
  30.  
  31. /* Go to the next, previous, current, or specified character in FONT.  */
  32. extern void next_command (Widget, XtPointer font, XtPointer);
  33. extern void prev_command (Widget, XtPointer font, XtPointer);
  34. extern void revert_command (Widget, XtPointer font, XtPointer);
  35. extern void char_change_callback (Widget, XtPointer font, XtPointer charcode);
  36.  
  37. /* Change the side bearing values for the current character in FONT to
  38.    VALUE.  */ 
  39. extern void lsb_change_callback (Widget, XtPointer font, XtPointer value);
  40. extern void rsb_change_callback (Widget, XtPointer font, XtPointer value);
  41.  
  42. /* Expand the bitmap by one pixel in all dimensions.  */
  43. extern void expand_command (Widget, XtPointer font, XtPointer);
  44.  
  45. /* Write the current font, passed as FONT, to disk.  */
  46. extern void save_command (Widget, XtPointer font, XtPointer);
  47.  
  48. #endif /* not COMMANDS_H */
  49.