home *** CD-ROM | disk | FTP | other *** search
/ YPA: Your Privacy Assured / YPA.ISO / other_goodies / utilities / memomaster.lha / MM2.1 / source / helpmode.c < prev    next >
C/C++ Source or Header  |  1994-09-12  |  3KB  |  110 lines

  1. #include <exec/types.h>
  2. #include <intuition/intuition.h>
  3.  
  4. #include "mm2.h"
  5.  
  6. /* Prototypes */
  7.  
  8. Prototype void Mode_Help(void);
  9. Prototype BOOL helpmode;
  10. Prototype char *Help_display[];
  11. Prototype char *Help_close[];
  12. Prototype char *Help_add[];
  13. Prototype char *Help_del[];
  14. Prototype char *Help_edi[];
  15. Prototype char *Help_chk[];
  16. Prototype char *Help_shr[];
  17. Prototype char *Help_beg[];
  18. Prototype char *Help_bkb[];
  19. Prototype char *Help_bki[];
  20. Prototype char *Help_fwi[];
  21. Prototype char *Help_fwb[];
  22. Prototype char *Help_eol[];
  23.  
  24. extern struct IntuitionBase *IntuitionBase;
  25. extern struct Window *mm_w;
  26.  
  27. BOOL helpmode = FALSE;
  28.  
  29. char *Help_display[]= {
  30.     "      Select a memo for action by clicking on it here.   ",
  31.     "   The Edit and Delete routines process all selected memos.   ",
  32.     "       Any number of memos may be selected at any time.",
  33.     '\0' };
  34.  
  35. char *Help_close[]= {
  36.     "   Click on close gadget to exit MemoMaster, ",
  37.     "     saving list of memos back to disk if",
  38.     "              any have changed.  ",
  39.     '\0' };
  40.  
  41. char *Help_add[]= {
  42.     "   Displays a requester allowing you to add a memo item   ",
  43.     "                      to the list.",
  44.     '\0' };
  45.  
  46. char *Help_del[]= {
  47.     "    Removes selected memos from the list in memory.   ",
  48.     "    The memos you want to delete must be selected",
  49.     "    in the display window first. The program will  ",
  50.     "    ask for confirmation that each selected memo",
  51.     "                    be deleted.",
  52.     '\0' };
  53.  
  54. char *Help_edi[]= {
  55.     "   Displays a requester allowing you to   ",
  56.     "   edit an existing memo. The memos you",
  57.     "   want to edit must be selected in the",
  58.     "   display window first.",
  59.     '\0' };
  60.  
  61. char *Help_chk[]= {
  62.     "   Checks the list of memos in memory for any to be   ",
  63.     "                  displayed today.",
  64.     '\0' };
  65.  
  66. char *Help_shr[]= {
  67.     "   Close main window but keep process in memory. A small",
  68.     "   window will open with a gadget marked EXPAND. Clicking",
  69.     "   inside the small window (not the border) will reopen",
  70.     "   the main window in the same state as when suspended.",
  71.     "   While the main window is closed, the process will be",
  72.     "   in a WAIT state therefore taking minimal processor",
  73.     "        resource from your other applications.",
  74.     '\0' };
  75.  
  76. char *Help_beg[]= {
  77.     "   The first memos in the list   ",
  78.     "     in memory are displayed.",
  79.     '\0' };
  80.  
  81. char *Help_bkb[]= {
  82.     "   Move the display back one block of 6   ",
  83.     "                  memos.",
  84.     '\0' };
  85.  
  86. char *Help_bki[]= {
  87.     "   Move memos 1 back toward start of list.   ",
  88.     '\0' };
  89.  
  90. char *Help_fwi[]= {
  91.     "   Move memos 1 on toward end of list.   ",
  92.     '\0' };
  93.  
  94. char *Help_fwb[]= {
  95.     "   Moves memos in display window one block   ",
  96.     "              of 6 forwards.",
  97.     '\0' };
  98.  
  99. char *Help_eol[]= {
  100.     "   Click here to move display to end of list.   ",
  101.     '\0' };
  102.  
  103.  
  104. void Mode_Help()
  105. {
  106.   helpmode = !helpmode;
  107. }
  108.  
  109. /*=====================================================================*/
  110.