You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
757 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. * Turbo Vision - Version 2.0
  3. *
  4. * Copyright (c) 1994 by Borland International
  5. * All Rights Reserved.
  6. *
  7. Modified by Robert H�hne to be used for RHIDE.
  8. Modified by Salvador E. Tropea for i18n support.
  9. *
  10. *
  11. */
  12. #if defined( Uses_TColorItem ) && !defined( __TColorItem )
  13. #define __TColorItem
  14. class TColorGroup;
  15. class TColorItem
  16. {
  17. public:
  18. TColorItem( const char *nm, uchar idx, TColorItem *nxt = 0 );
  19. virtual ~TColorItem();
  20. const char *name;
  21. uchar index;
  22. TColorItem *next;
  23. friend TColorGroup& operator + ( TColorGroup&, TColorItem& );
  24. friend TColorItem& operator + ( TColorItem& i1, TColorItem& i2 );
  25. protected:
  26. stTVIntl *cacheName;
  27. friend class TColorItemList;
  28. };
  29. #endif // Uses_TColorItem