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.

38 lines
552 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. *
  9. *
  10. */
  11. #if defined( Uses_TPalette ) && !defined( __TPalette )
  12. #define __TPalette
  13. class TPalette
  14. {
  15. public:
  16. TPalette( const char *, ushort );
  17. TPalette( const TPalette& );
  18. ~TPalette();
  19. TPalette& operator = ( const TPalette& );
  20. uchar& operator[]( int index) const
  21. {
  22. return data[index];
  23. }
  24. uchar *data;
  25. };
  26. #endif // Uses_TPalette