home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1998 February / PCOnline_02_1998.iso / filesbbs / dos / listz21s.exe / LSZ_AREA.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-07  |  974 b   |  41 lines

  1. /*
  2.  * This file is part of Listerz v2.0 (VE)
  3.  *
  4.  * Copyright (C) 1995-1997 by Branislav L. Slantchev
  5.  * A Product of Silicon Creations, Inc.
  6.  *
  7.  * This file is distributed under the terms and conditions of the GNU
  8.  * General Public License. For more information, refer to the file
  9.  * Copying.Doc which is included in the archive.
  10. */
  11. #ifndef INCLUDED_LSZ_AREA_H
  12. #define INCLUDED_LSZ_AREA_H
  13.  
  14. #include "listview.h"
  15. #include "pbstruct.h"
  16.  
  17. class Area: public zListRecord
  18. {
  19. public:
  20.     Area(short index);
  21.     void draw(const zPoint &origin, short maxlen);
  22.     void select(const zPoint &origin, short maxlen, Boolean off);
  23.  
  24.     short m_index;
  25. };
  26.  
  27. class Group: public zListRecord
  28. {
  29. public:
  30.     Group(short num, const GROUP_PB &group);
  31.     void draw(const zPoint &origin, short maxlen);
  32.     void select(const zPoint &origin, short maxlen, Boolean);
  33.  
  34.     short m_num;  // NOT index, but a group number
  35.  
  36. private:
  37.     char  m_name[80];
  38. };
  39.  
  40. #endif /* INCLUDED_LSZ_AREA_H */
  41.