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
54 lines
1.5 KiB
/*
|
|
* Turbo Vision - Version 2.0
|
|
*
|
|
* Copyright (c) 1994 by Borland International
|
|
* All Rights Reserved.
|
|
*
|
|
|
|
Modified by Robert H”hne to be used for RHIDE.
|
|
|
|
*
|
|
*
|
|
*/
|
|
|
|
/* ---------------------------------------------------------------------- */
|
|
/* class THistoryViewer */
|
|
/* */
|
|
/* Palette layout */
|
|
/* 1 = Active */
|
|
/* 2 = Inactive */
|
|
/* 3 = Focused */
|
|
/* 4 = Selected */
|
|
/* 5 = Divider */
|
|
/* ---------------------------------------------------------------------- */
|
|
|
|
#if defined( Uses_THistoryViewer ) && !defined( __THistoryViewer )
|
|
#define __THistoryViewer
|
|
|
|
class TRect;
|
|
class TScrollBar;
|
|
|
|
class THistoryViewer : public TListViewer
|
|
{
|
|
|
|
public:
|
|
|
|
THistoryViewer( const TRect& bounds,
|
|
TScrollBar *aHScrollBar,
|
|
TScrollBar *aVScrollBar,
|
|
ushort aHistoryId
|
|
);
|
|
|
|
virtual TPalette& getPalette() const;
|
|
virtual void getText( char *dest, ccIndex item, short maxLen );
|
|
virtual void handleEvent( TEvent& event );
|
|
int historyWidth();
|
|
|
|
protected:
|
|
|
|
ushort historyId;
|
|
|
|
};
|
|
|
|
#endif // Uses_THistoryViewer
|
|
|