JunkBox_Win_Lib 1.5.3
|
#include <ExTextView.h>
Public Member Functions | |
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 void | OnInitialUpdate () |
virtual void | OnDraw (CDC *pDC) |
virtual | ~CExTextView () |
afx_msg BOOL | OnEraseBkgnd (CDC *pDC) |
Public Attributes | |
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 | |
CExTextView () | |
virtual void | OnActivateView (BOOL bActivate, CScrollView *pActivateView, CScrollView *pDeactiveView) |
afx_msg void | OnSize (UINT nType, int cx, int cy) |
Protected Attributes | |
bool | activeWin |
Definition at line 25 of file ExTextView.h.
|
protected |
Definition at line 19 of file ExTextView.cpp.
|
virtual |
Definition at line 58 of file ExTextView.cpp.
References CExTextView::pApp, CExTextView::pDoc, CExTextView::pFrame, CExTextFrame::pView, and CAppCallBack::ViewDestructor().
POINT ExecWindowReSize | ( | int | xs, |
int | ys ) |
Definition at line 217 of file ExTextView.cpp.
References CExTextView::cnstSize, CExTextView::cnstXSize, CExTextView::cnstXYRate, CExTextView::cnstYSize, CExTextView::doReSize, CExTextView::GetWindowReSize(), and CExTextView::SetWindowSize().
Referenced by CExTextView::OnDraw().
POINT GetClientSize | ( | POINT | pt | ) |
Definition at line 162 of file ExTextView.cpp.
References CExTextView::pFrame.
Referenced by CExTextFrame::OnSizing().
|
inlinevirtual |
Definition at line 75 of file ExTextView.h.
POINT GetWindowReSize | ( | POINT | pt | ) |
Definition at line 177 of file ExTextView.cpp.
References CExTextView::cnstSize, CExTextView::cnstXSize, CExTextView::cnstXYRate, CExTextView::cnstYSize, jbxwl::GetMouseCursorType(), CExTextView::initXSize, CExTextView::initYSize, CExTextView::maxXSize, CExTextView::maxYSize, and CExTextView::sizeXYRate.
Referenced by CExTextView::ExecWindowReSize(), and CExTextFrame::OnSizing().
POINT GetWindowSize | ( | POINT | pt | ) |
Definition at line 145 of file ExTextView.cpp.
References CExTextView::pFrame.
Referenced by CExTextFrame::OnSizing().
|
protectedvirtual |
Definition at line 276 of file ExTextView.cpp.
References CExTextView::activeWin.
|
virtual |
Reimplemented in CLogWndView.
Definition at line 269 of file ExTextView.cpp.
References CExTextView::clientRect, and CExTextView::ExecWindowReSize().
BOOL OnEraseBkgnd | ( | CDC * | pDC | ) |
Definition at line 298 of file ExTextView.cpp.
Referenced by CLogWndView::OnEraseBkgnd().
|
virtual |
Reimplemented in CLogWndView.
Definition at line 257 of file ExTextView.cpp.
References CExTextView::cnstSize, CExTextView::cnstXSize, CExTextView::cnstXYRate, and CExTextView::cnstYSize.
Referenced by CLogWndView::OnInitialUpdate().
|
protected |
Definition at line 288 of file ExTextView.cpp.
References CExTextView::clientRect, CExTextView::doReSize, and CExTextView::pFrame.
Referenced by CLogWndView::OnSize().
void SetTitle | ( | LPCTSTR | title | ) |
Definition at line 240 of file ExTextView.cpp.
References CExTextView::pDoc, CExTextView::pFrame, CExTextFrame::Title, and CExTextView::Title.
POINT SetWindowSize | ( | int | xs, |
int | ys, | ||
BOOL | first = TRUE ) |
Definition at line 96 of file ExTextView.cpp.
Referenced by CExTextView::ExecWindowReSize().
|
protected |
Definition at line 64 of file ExTextView.h.
Referenced by CExTextView::OnActivateView().
double clientRate |
Definition at line 42 of file ExTextView.h.
RECT clientRect |
Definition at line 40 of file ExTextView.h.
Referenced by CExTextView::OnDraw(), and CExTextView::OnSize().
bool cnstSize |
Definition at line 54 of file ExTextView.h.
Referenced by CExTextView::ExecWindowReSize(), CExTextView::GetWindowReSize(), and CExTextView::OnInitialUpdate().
bool cnstXSize |
Definition at line 55 of file ExTextView.h.
Referenced by CExTextView::ExecWindowReSize(), CExTextView::GetWindowReSize(), and CExTextView::OnInitialUpdate().
bool cnstXYRate |
Definition at line 57 of file ExTextView.h.
Referenced by CExTextView::ExecWindowReSize(), CExTextView::GetWindowReSize(), and CExTextView::OnInitialUpdate().
bool cnstYSize |
Definition at line 56 of file ExTextView.h.
Referenced by CExTextView::ExecWindowReSize(), CExTextView::GetWindowReSize(), and CExTextView::OnInitialUpdate().
bool doReSize |
Definition at line 61 of file ExTextView.h.
Referenced by CExTextView::ExecWindowReSize(), CExTextView::OnSize(), and CExTextFrame::OnSizing().
int initXSize |
Definition at line 49 of file ExTextView.h.
Referenced by CExTextView::GetWindowReSize().
int initYSize |
Definition at line 50 of file ExTextView.h.
Referenced by CExTextView::GetWindowReSize().
int maxXSize |
Definition at line 58 of file ExTextView.h.
Referenced by CExTextView::GetWindowReSize().
int maxYSize |
Definition at line 59 of file ExTextView.h.
Referenced by CExTextView::GetWindowReSize().
int origXSize |
Definition at line 47 of file ExTextView.h.
int origYSize |
Definition at line 48 of file ExTextView.h.
CAppCallBack* pApp |
Definition at line 36 of file ExTextView.h.
Referenced by jbxwl::ExecLogWnd(), and CExTextView::~CExTextView().
CDocument* pDoc |
Definition at line 34 of file ExTextView.h.
Referenced by CExTextView::SetTitle(), and CExTextView::~CExTextView().
CExTextFrame* pFrame |
Definition at line 35 of file ExTextView.h.
Referenced by CExTextView::GetClientSize(), CExTextView::GetWindowSize(), CExTextView::OnSize(), CExTextView::SetTitle(), CExTextFrame::~CExTextFrame(), and CExTextView::~CExTextView().
int prevXSize |
Definition at line 51 of file ExTextView.h.
int prevYSize |
Definition at line 52 of file ExTextView.h.
double sizeXYRate |
Definition at line 41 of file ExTextView.h.
Referenced by CExTextView::GetWindowReSize().
CString Title |
Definition at line 38 of file ExTextView.h.
Referenced by CExTextView::SetTitle().
int xsize |
Definition at line 44 of file ExTextView.h.
int ysize |
Definition at line 45 of file ExTextView.h.