#include <CtrlText.h>
Public Member Functions | |
CTextCtrl () | |
virtual | ~CTextCtrl () |
void | Add (int nType, LPCTSTR pszText) |
void | AddLine (int nType, LPCTSTR pszLine) |
void | Clear (BOOL bInvalidate=TRUE) |
CFont * | GetFont () |
virtual BOOL | Create (DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID) |
Protected Member Functions | |
void | UpdateScroll (BOOL bFull=FALSE) |
afx_msg void | OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) |
afx_msg BOOL | OnEraseBkgnd (CDC *pDC) |
afx_msg void | OnPaint () |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnSize (UINT nType, int cx, int cy) |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint pt) |
Protected Attributes | |
CPtrArray | m_pLines |
int | m_nPosition |
int | m_nTotal |
CSize | m_cCharacter |
CFont | m_pFont |
COLORREF | m_crBackground |
COLORREF | m_crText [5] |
BOOL | m_bProcess |
CCriticalSection | m_pSection |
UINT | m_nScrollWheelLines |
|
Definition at line 51 of file CtrlText.cpp. References CShareazaApp::m_nDefaultFontSize, CShareazaApp::m_sSystemLogFont, and theApp. |
|
Definition at line 66 of file CtrlText.cpp. References Clear(). |
|
Definition at line 80 of file CtrlText.cpp. References AddLine(), and m_pSection. |
|
Definition at line 101 of file CtrlText.cpp. References LINE_BUFFER_BLOCK, LINE_BUFFER_LIMIT, m_bProcess, m_pLines, and m_pSection. Referenced by CSystemWnd::Add(), Add(), and CSystemWnd::ShowStartupText(). |
|
Definition at line 119 of file CtrlText.cpp. References m_nPosition, m_nTotal, m_pLines, m_pSection, and UpdateScroll(). Referenced by CSystemWnd::Clear(), CSystemWnd::OnSkinChange(), and ~CTextCtrl(). |
|
Definition at line 74 of file CtrlText.cpp. References NULL. Referenced by CSystemWnd::OnCreate(). |
|
Definition at line 165 of file CtrlText.cpp. References m_pFont. |
|
Definition at line 173 of file CtrlText.cpp. References m_bProcess, m_nPosition, m_nScrollWheelLines, and m_nTotal. |
|
Definition at line 230 of file CtrlText.cpp. |
|
Definition at line 300 of file CtrlText.cpp. |
|
Definition at line 305 of file CtrlText.cpp. References m_nPosition, m_nScrollWheelLines, m_nTotal, m_pSection, and UpdateScroll(). |
|
Definition at line 235 of file CtrlText.cpp. References m_bProcess, m_cCharacter, m_crBackground, m_crText, CTextLine::m_nLine, m_nPosition, m_nTotal, CTextLine::m_nType, m_pFont, m_pLines, m_pSection, CTextLine::Paint(), CTextLine::Process(), and UpdateScroll(). |
|
Definition at line 294 of file CtrlText.cpp. References m_bProcess. |
|
Definition at line 187 of file CtrlText.cpp. References m_nPosition, m_nTotal, m_pSection, and UpdateScroll(). |
|
Definition at line 138 of file CtrlText.cpp. References m_cCharacter, m_nPosition, and m_nTotal. Referenced by Clear(), OnMouseWheel(), OnPaint(), and OnVScroll(). |
|
Definition at line 44 of file CtrlText.h. Referenced by AddLine(), OnCreate(), OnPaint(), and OnSize(). |
|
Definition at line 40 of file CtrlText.h. Referenced by OnPaint(), and UpdateScroll(). |
|
Definition at line 42 of file CtrlText.h. Referenced by OnPaint(). |
|
Definition at line 43 of file CtrlText.h. Referenced by OnPaint(). |
|
Definition at line 38 of file CtrlText.h. Referenced by Clear(), OnCreate(), OnMouseWheel(), OnPaint(), OnVScroll(), and UpdateScroll(). |
|
Definition at line 46 of file CtrlText.h. Referenced by OnCreate(), and OnMouseWheel(). |
|
Definition at line 39 of file CtrlText.h. Referenced by Clear(), OnCreate(), OnMouseWheel(), OnPaint(), OnVScroll(), and UpdateScroll(). |
|
Definition at line 41 of file CtrlText.h. |
|
Definition at line 37 of file CtrlText.h. |
|
Definition at line 45 of file CtrlText.h. Referenced by Add(), AddLine(), Clear(), OnMouseWheel(), OnPaint(), and OnVScroll(). |