|
JunkBox_Win_Lib 1.5.3
|
#include <LogWndView.h>


Public Member Functions | |
| CLogWndDoc * | GetDocument () const |
| void | SetTitle (LPCTSTR title) |
| void | lock (void) |
| void | unlock (void) |
| virtual BOOL | PreCreateWindow (CREATESTRUCT &cs) |
| virtual | ~CLogWndView () |
| virtual void | AssertValid () const |
| virtual void | Dump (CDumpContext &dc) const |
| void | resetScrollSize (void) |
| void | setScrollPosition (CDC *pDC, CLogRingBuffer *pBR) |
| void | clearViewDoc (void) |
| CString | getCopyData (void) |
| BOOL | OnScroll (UINT nScrollCode, UINT nPos, BOOL bDoScroll) |
Public Member Functions inherited from CExTextView | |
| POINT | SetWindowSize (int xs, int ys, BOOL first=TRUE) |
| POINT | GetWindowSize (POINT pt) |
| POINT | GetClientSize (POINT pt) |
| POINT | GetWindowReSize (POINT pt) |
| POINT | ExecWindowReSize (int xs, int ys) |
| void | SetTitle (LPCTSTR title) |
| virtual POINT | GetWindowDisplaySize (POINT pt) |
| virtual | ~CExTextView () |
| afx_msg BOOL | OnEraseBkgnd (CDC *pDC) |
Public Attributes | |
| CLogWndDoc * | pDoc |
| CLogWndFrame * | pFrame |
| CString | Title |
| CFont | m_ScreenFont |
| int | m_FontSizeX |
| int | m_FontSizeY |
| int | m_ScrollSizeX |
| int | m_ScrollSizeY |
| int | m_DocLastPos |
| int | m_copysy |
| int | m_copyey |
Public Attributes inherited from CExTextView | |
| CDocument * | pDoc |
| CExTextFrame * | pFrame |
| CAppCallBack * | pApp |
| CString | Title |
| RECT | clientRect |
| double | sizeXYRate |
| double | clientRate |
| int | xsize |
| int | ysize |
| int | origXSize |
| int | origYSize |
| int | initXSize |
| int | initYSize |
| int | prevXSize |
| int | prevYSize |
| bool | cnstSize |
| bool | cnstXSize |
| bool | cnstYSize |
| bool | cnstXYRate |
| int | maxXSize |
| int | maxYSize |
| bool | doReSize |
Protected Member Functions | |
| CLogWndView () | |
| virtual void | OnInitialUpdate () |
| afx_msg int | OnCreate (LPCREATESTRUCT lpcs) |
| afx_msg void | OnDestroy (void) |
| afx_msg void | OnDraw (CDC *pDC) |
| afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
| afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
| afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
| afx_msg BOOL | OnEraseBkgnd (CDC *pDC) |
| afx_msg void | OnSize (UINT nType, int cx, int cy) |
Protected Member Functions inherited from CExTextView | |
| CExTextView () | |
| virtual void | OnActivateView (BOOL bActivate, CScrollView *pActivateView, CScrollView *pDeactiveView) |
| afx_msg void | OnSize (UINT nType, int cx, int cy) |
Protected Attributes | |
| int | m_mpress |
| int | m_msx |
| int | m_msy |
| int | m_mex |
| int | m_mey |
| int | m_dragsx |
| int | m_dragsy |
| int | m_dragex |
| int | m_dragey |
Protected Attributes inherited from CExTextView | |
| bool | activeWin |
Private Attributes | |
| BOOL | m_locked |
Definition at line 18 of file LogWndView.h.
|
protected |
Definition at line 22 of file LogWndView.cpp.
|
virtual |
Definition at line 52 of file LogWndView.cpp.
References CLogWndView::m_locked.
|
virtual |
Definition at line 287 of file LogWndView.cpp.
| void clearViewDoc | ( | void | ) |
Definition at line 236 of file LogWndView.cpp.
References CLogWndDoc::clear(), CLogWndDoc::criticalKey, DISPLAY_MARGIN, CLogWndView::GetDocument(), LINES_PER_PAGE, CLogWndView::lock(), CLogWndView::m_FontSizeX, CLogWndView::m_FontSizeY, CLogWndView::m_ScrollSizeX, CLogWndView::m_ScrollSizeY, CLogWndView::pDoc, and CLogWndDoc::ringBuffer.
Referenced by CLogWndFrame::OnLogClear().


|
virtual |
Definition at line 294 of file LogWndView.cpp.
| CString getCopyData | ( | void | ) |
Definition at line 396 of file LogWndView.cpp.
References CLogWndView::GetDocument(), CLogWndView::m_copyey, CLogWndView::m_copysy, jbxwl::mbs2ts(), and CLogWndDoc::ringBuffer.
Referenced by CLogWndFrame::OnLogCopy().


| CLogWndDoc * GetDocument | ( | ) | const |
Definition at line 301 of file LogWndView.cpp.
Referenced by CLogWndView::clearViewDoc(), CLogWndView::getCopyData(), CLogWndDoc::GetView(), CLogWndView::OnDraw(), CLogWndView::OnInitialUpdate(), and CLogWndView::resetScrollSize().

|
inline |
Definition at line 35 of file LogWndView.h.
References CLogWndView::m_locked.
Referenced by CLogWndView::clearViewDoc(), CLogWndDoc::lock(), and CLogWndView::OnDraw().

|
protected |
Definition at line 316 of file LogWndView.cpp.
References IDS_STR_FONT_GOTHIC, IDS_STR_FONT_SIZE, CLogWndView::m_ScreenFont, and CLogWndView::OnInitialUpdate().

|
protected |
Definition at line 334 of file LogWndView.cpp.
References CLogWndView::m_ScreenFont.
|
protectedvirtual |
Reimplemented from CExTextView.
Definition at line 98 of file LogWndView.cpp.
References CLogWndDoc::criticalKey, DISPLAY_MARGIN, CLogWndView::GetDocument(), CLogWndView::lock(), CLogWndView::m_copyey, CLogWndView::m_copysy, CLogWndView::m_FontSizeY, CLogWndView::m_ScreenFont, jbxwl::mbs2ts(), CLogWndView::pDoc, CLogWndView::resetScrollSize(), CLogWndDoc::ringBuffer, and CLogWndView::setScrollPosition().

|
protected |
Definition at line 86 of file LogWndView.cpp.
References CExTextView::OnEraseBkgnd().

|
protectedvirtual |
Reimplemented from CExTextView.
Definition at line 207 of file LogWndView.cpp.
References DISPLAY_MARGIN, CLogWndView::GetDocument(), LINES_PER_PAGE, CLogWndView::m_FontSizeX, CLogWndView::m_FontSizeY, CLogWndView::m_ScrollSizeX, CLogWndView::m_ScrollSizeY, CExTextView::OnInitialUpdate(), CLogWndView::pDoc, and CLogWndDoc::ringBuffer.
Referenced by CLogWndView::OnCreate().


|
protected |
Definition at line 345 of file LogWndView.cpp.
References CLogWndView::m_copyey, CLogWndView::m_copysy, CLogWndView::m_dragsx, CLogWndView::m_dragsy, CLogWndView::m_FontSizeX, CLogWndView::m_FontSizeY, CLogWndView::m_mpress, CLogWndView::m_msx, and CLogWndView::m_msy.
|
protected |
Definition at line 368 of file LogWndView.cpp.
References CLogWndView::m_mpress.
|
protected |
Definition at line 376 of file LogWndView.cpp.
References CLogWndView::m_copyey, CLogWndView::m_copysy, CLogWndView::m_dragex, CLogWndView::m_dragey, CLogWndView::m_dragsx, CLogWndView::m_dragsy, CLogWndView::m_FontSizeX, CLogWndView::m_FontSizeY, CLogWndView::m_mex, CLogWndView::m_mey, and CLogWndView::m_mpress.
| BOOL OnScroll | ( | UINT | nScrollCode, |
| UINT | nPos, | ||
| BOOL | bDoScroll ) |
Definition at line 423 of file LogWndView.cpp.
|
protected |
Definition at line 92 of file LogWndView.cpp.
References CExTextView::OnSize().

|
virtual |
Definition at line 73 of file LogWndView.cpp.
References LINES_PER_PAGE.
| void resetScrollSize | ( | void | ) |
Definition at line 181 of file LogWndView.cpp.
References DISPLAY_MARGIN, CLogWndView::GetDocument(), LINES_PER_PAGE, CLogWndView::m_FontSizeX, CLogWndView::m_FontSizeY, CLogWndView::m_ScrollSizeX, CLogWndView::m_ScrollSizeY, CLogWndView::pDoc, and CLogWndDoc::ringBuffer.
Referenced by CLogWndView::OnDraw().


| void setScrollPosition | ( | CDC * | pDC, |
| CLogRingBuffer * | pBR ) |
Definition at line 163 of file LogWndView.cpp.
References CLogWndView::m_DocLastPos, and CLogWndView::m_FontSizeY.
Referenced by CLogWndView::OnDraw().

| void SetTitle | ( | LPCTSTR | title | ) |
Definition at line 273 of file LogWndView.cpp.
References CLogWndView::pDoc, CLogWndView::pFrame, CExTextFrame::Title, and CLogWndView::Title.
Referenced by jbxwl::ExecLogWnd().

|
inline |
Definition at line 36 of file LogWndView.h.
References CLogWndView::m_locked.
Referenced by CLogWndDoc::unlock(), and CLogWndDoc::~CLogWndDoc().

| int m_copyey |
Definition at line 75 of file LogWndView.h.
Referenced by CLogWndView::getCopyData(), CLogWndView::OnDraw(), CLogWndView::OnLButtonDown(), and CLogWndView::OnMouseMove().
| int m_copysy |
Definition at line 74 of file LogWndView.h.
Referenced by CLogWndView::getCopyData(), CLogWndView::OnDraw(), CLogWndView::OnLButtonDown(), and CLogWndView::OnMouseMove().
| int m_DocLastPos |
Definition at line 72 of file LogWndView.h.
Referenced by CLogWndView::setScrollPosition().
|
protected |
Definition at line 62 of file LogWndView.h.
Referenced by CLogWndView::OnMouseMove().
|
protected |
Definition at line 63 of file LogWndView.h.
Referenced by CLogWndView::OnMouseMove().
|
protected |
Definition at line 60 of file LogWndView.h.
Referenced by CLogWndView::OnLButtonDown(), and CLogWndView::OnMouseMove().
|
protected |
Definition at line 61 of file LogWndView.h.
Referenced by CLogWndView::OnLButtonDown(), and CLogWndView::OnMouseMove().
| int m_FontSizeX |
Definition at line 67 of file LogWndView.h.
Referenced by CLogWndView::clearViewDoc(), CLogWndView::OnInitialUpdate(), CLogWndView::OnLButtonDown(), CLogWndView::OnMouseMove(), and CLogWndView::resetScrollSize().
| int m_FontSizeY |
Definition at line 68 of file LogWndView.h.
Referenced by CLogWndView::clearViewDoc(), CLogWndView::OnDraw(), CLogWndView::OnInitialUpdate(), CLogWndView::OnLButtonDown(), CLogWndView::OnMouseMove(), CLogWndView::resetScrollSize(), and CLogWndView::setScrollPosition().
|
private |
Definition at line 25 of file LogWndView.h.
Referenced by CLogWndView::lock(), CLogWndView::unlock(), and CLogWndView::~CLogWndView().
|
protected |
Definition at line 58 of file LogWndView.h.
Referenced by CLogWndView::OnMouseMove().
|
protected |
Definition at line 59 of file LogWndView.h.
Referenced by CLogWndView::OnMouseMove().
|
protected |
Definition at line 55 of file LogWndView.h.
Referenced by CLogWndView::OnLButtonDown(), CLogWndView::OnLButtonUp(), and CLogWndView::OnMouseMove().
|
protected |
Definition at line 56 of file LogWndView.h.
Referenced by CLogWndView::OnLButtonDown().
|
protected |
Definition at line 57 of file LogWndView.h.
Referenced by CLogWndView::OnLButtonDown().
| CFont m_ScreenFont |
Definition at line 66 of file LogWndView.h.
Referenced by CLogWndView::OnCreate(), CLogWndView::OnDestroy(), and CLogWndView::OnDraw().
| int m_ScrollSizeX |
Definition at line 70 of file LogWndView.h.
Referenced by CLogWndView::clearViewDoc(), CLogWndView::OnInitialUpdate(), and CLogWndView::resetScrollSize().
| int m_ScrollSizeY |
Definition at line 71 of file LogWndView.h.
Referenced by CLogWndView::clearViewDoc(), CLogWndView::OnInitialUpdate(), and CLogWndView::resetScrollSize().
| CLogWndDoc* pDoc |
Definition at line 29 of file LogWndView.h.
Referenced by CLogWndView::clearViewDoc(), jbxwl::ExecLogWnd(), CLogWndView::OnDraw(), CLogWndView::OnInitialUpdate(), CLogWndView::resetScrollSize(), and CLogWndView::SetTitle().
| CLogWndFrame* pFrame |
Definition at line 30 of file LogWndView.h.
Referenced by jbxwl::ExecLogWnd(), and CLogWndView::SetTitle().
| CString Title |
Definition at line 32 of file LogWndView.h.
Referenced by CLogWndView::SetTitle().