home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / NSDEDIT2.ZIP / EDTKT06B.ZIP / QUOTE.HPP < prev    next >
C/C++ Source or Header  |  1994-09-06  |  2KB  |  44 lines

  1. /***********************************************************************
  2. *                                                                      *
  3. *  Definition file for QUOTE.HPP                                       *
  4. *                                                                      *
  5. *  Purpose : Definition of different colors for quote lines            *
  6. *                                                                      *
  7. *  Author  : Peter Bloemendaal                                         *
  8. *            Brainbox systems +31-70-3523661                           *
  9. *  eMail   : internet -> bloemendaal@rullf2.LeidenUniv.nl              *
  10. *            fidonet  -> 2:281/908                                     *
  11. *                                                                      *
  12. *----------------------------------------------------------------------*
  13. *                                                                      *
  14. *                                                                      *
  15. * $Log: quote.hpv $
  16. // Revision 1.1  1994/08/27  11:21:41  BRAINBOX
  17. // Initial revision
  18. //
  19. //                                                                *
  20. *                                                                      *
  21. ************************************************************************
  22. */
  23.  
  24.  
  25.  
  26. class QuoteEdit : public AbbreviationEdit
  27. {
  28.    private:
  29.  
  30.       unsigned char quoteColor ;
  31.       void display(void) ;
  32.  
  33.    public:
  34.       QuoteEdit(int x1, int y1, int x2, int y2, unsigned char *s) :
  35.          AbbreviationEdit(x1, y1, x2, y2, s)
  36.          {
  37.             quoteColor = ( C_LIGHTGRAY << 4) | C_LIGHTRED ;
  38.          } ;
  39.  
  40.       void redraw(void) ;
  41.       void setQuoteColor(unsigned char col) ;
  42.       unsigned char getQuoteColor(void) ;
  43. } ;
  44.