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.

54 lines
1.5 KiB

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. /* ---------------------------------------------------------------------- */
  12. /* class THistoryViewer */
  13. /* */
  14. /* Palette layout */
  15. /* 1 = Active */
  16. /* 2 = Inactive */
  17. /* 3 = Focused */
  18. /* 4 = Selected */
  19. /* 5 = Divider */
  20. /* ---------------------------------------------------------------------- */
  21. #if defined( Uses_THistoryViewer ) && !defined( __THistoryViewer )
  22. #define __THistoryViewer
  23. class TRect;
  24. class TScrollBar;
  25. class THistoryViewer : public TListViewer
  26. {
  27. public:
  28. THistoryViewer( const TRect& bounds,
  29. TScrollBar *aHScrollBar,
  30. TScrollBar *aVScrollBar,
  31. ushort aHistoryId
  32. );
  33. virtual TPalette& getPalette() const;
  34. virtual void getText( char *dest, ccIndex item, short maxLen );
  35. virtual void handleEvent( TEvent& event );
  36. int historyWidth();
  37. protected:
  38. ushort historyId;
  39. };
  40. #endif // Uses_THistoryViewer