65 lines
1.3 KiB
C++
65 lines
1.3 KiB
C++
#if !defined( _LOG_REC_EDIT_ )
|
|
|
|
#define _LOG_REC_EDIT_
|
|
|
|
#include "vscroll.hxx"
|
|
|
|
DECLARE_CLASS( LOG_RECORD_EDIT );
|
|
DECLARE_CLASS( LOG_IO_DP_DRIVE );
|
|
|
|
class LOG_RECORD_EDIT : public VERTICAL_TEXT_SCROLL {
|
|
|
|
public:
|
|
|
|
NONVIRTUAL
|
|
LOG_RECORD_EDIT(
|
|
) { _drive = NULL; };
|
|
|
|
NONVIRTUAL
|
|
BOOLEAN
|
|
Initialize(
|
|
IN HWND WindowHandle,
|
|
IN INT ClientHeight,
|
|
IN INT ClientWidth,
|
|
IN PLOG_IO_DP_DRIVE Drive
|
|
);
|
|
|
|
VIRTUAL
|
|
VOID
|
|
SetBuf(
|
|
IN HWND WindowHandle,
|
|
IN OUT PVOID Buffer,
|
|
IN ULONG Size DEFAULT 0
|
|
);
|
|
|
|
VIRTUAL
|
|
VOID
|
|
Paint(
|
|
IN HDC DeviceContext,
|
|
IN RECT InvalidRect,
|
|
IN HWND WindowHandle
|
|
);
|
|
|
|
VIRTUAL
|
|
VOID
|
|
KeyUp(
|
|
IN HWND WindowHandle
|
|
);
|
|
|
|
VIRTUAL
|
|
VOID
|
|
KeyDown(
|
|
IN HWND WindowHandle
|
|
);
|
|
|
|
private:
|
|
|
|
PVOID _buffer;
|
|
ULONG _size;
|
|
PLOG_IO_DP_DRIVE _drive;
|
|
ULONG _cluster_factor;
|
|
ULONG _frs_size;
|
|
};
|
|
|
|
#endif
|