home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / internet / fidomail_1 / !FidoMail / Dox / Summary < prev    next >
Text File  |  1993-08-10  |  3KB  |  61 lines

  1. Customising the Summary window
  2. ------------------------------
  3.  
  4. It is possible to make the summary window show other things than the default
  5. contents. This has to be done using a template editor (eg. FormEd), and I will
  6. assume you're able to use that program.
  7.  
  8. There are certain rules about the window:
  9. * The icons must be numbered from 0 upwards, with _no_ missing icon numbers.
  10. * Somewhere you must have an indirected icon containing the word 'Areas'. I'll
  11.   call this icons number 'A'.
  12. * The icons from 0 to A-1 can be anything.
  13. * The icons from A to the last one will be replicated downwards with a line per
  14.   area. Therefore, it will look best if they are vertically aligned.
  15. * The icons from A+1 to the last one will contain the numbers. These must be
  16.   indirected as well, and should contain special strings which are described
  17.   below.
  18. * You can have 1 to 16 number-icons per area.
  19. * The height of the window is adjusted according to the number of areas, but
  20.   the width and position will remain as defined with FormEd.
  21.  
  22. When the window is rearranged by FidoMail, this is what happens:
  23. The line of icons A to the last is copied downwards.
  24. The A icon will contain the area names. The allocated size of the indirected
  25. data should be at least 32 bytes.
  26. The rest of the icons should at least have an 8 byte buffer, and contain 0 or
  27. more characters from the following list. These will then control how the number
  28. is calculated. The mechanism is similar to that of the weed-types.
  29. If the charater is present, the corresponding attribute (flag) will be checked,
  30. and if all of the checked flags match the required value, the message will be
  31. included in the sum. Don't panic, there's some examples below. :-)
  32.  
  33.     F = Found        f = Not found
  34.     C = Crashmail        c = Normal message
  35.     R = Read        r = Never read
  36.     S = Sent        s = Not sent
  37.     P = Personal        p = Not personal
  38.     M = Marked        m = Not marked
  39.     N = New            n = Old
  40.  
  41. So, if you want an icon to contain the number of new messages, you write 'N' in
  42. it.
  43.  
  44. More examples:
  45.  
  46. Unread and personal messages:        'rP'
  47. All messages:                ''
  48. Old, marked and personal mail:        'nMP'
  49. Mail waiting to be sent:        's'
  50. Found mail which hasn't been read:    'Fr'
  51.  
  52. And so on...
  53.  
  54. There is one special character: '0'
  55. If a 0 is present in the icon text, the background colour of the icon will
  56. change to red when the number in the icon is non-zero.
  57.  
  58. Note, that it is (currently) impossible to have an icon showing eg.
  59. "Personal OR Marked" mail. You can get as far as "Not Personal AND not Marked",
  60. ('pm') showing the opposite.
  61.