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.

65 lines
1.8 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. #if defined( Uses_THistoryWindow ) && !defined( __THistoryWindow )
  12. #define __THistoryWindow
  13. class TListViewer;
  14. class TRect;
  15. class TWindow;
  16. class TInputLine;
  17. class THistInit
  18. {
  19. public:
  20. THistInit( TListViewer *(*cListViewer)( TRect, TWindow *, ushort ) );
  21. protected:
  22. TListViewer *(*createListViewer)( TRect, TWindow *, ushort );
  23. };
  24. /* ---------------------------------------------------------------------- */
  25. /* THistoryWindow */
  26. /* */
  27. /* Palette layout */
  28. /* 1 = Frame passive */
  29. /* 2 = Frame active */
  30. /* 3 = Frame icon */
  31. /* 4 = ScrollBar page area */
  32. /* 5 = ScrollBar controls */
  33. /* 6 = HistoryViewer normal text */
  34. /* 7 = HistoryViewer selected text */
  35. /* ---------------------------------------------------------------------- */
  36. class THistoryWindow : public TWindow, public virtual THistInit
  37. {
  38. public:
  39. THistoryWindow( const TRect& bounds, ushort historyId );
  40. virtual TPalette& getPalette() const;
  41. virtual void getSelection( char *dest );
  42. static TListViewer *initViewer( TRect, TWindow *, ushort );
  43. protected:
  44. TListViewer *viewer;
  45. };
  46. #endif // Uses_THistoryWindow