#include <Wnd_Banner.h>
Public Member Functions | |
| CWnd_Banner () | |
| void | Shutdown () |
| void | SetBanner (LPCSTR pszFile, LPCSTR pszURL) |
| BOOL | Create (CWnd *pWndParent, int cy) |
| virtual | ~CWnd_Banner () |
Protected Member Functions | |
| void | Initialize () |
| afx_msg void | OnPaint () |
| afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
| afx_msg void | OnTimer (UINT nIDEvent) |
| afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
Static Protected Member Functions | |
| static DWORD WINAPI | _threadImage (LPVOID lp) |
Protected Attributes | |
| int | m_iCurrentFrame |
| BOOL | m_bRunning |
| HDC | m_hDCNow |
| CString | m_strImgFile |
| volatile DWORD | m_dwThrJob |
| CString | m_strURL |
| vmsImage_CtxFree | m_img |
Definition at line 14 of file Wnd_Banner.h.
| CWnd_Banner::CWnd_Banner | ( | ) |
| CWnd_Banner::~CWnd_Banner | ( | ) | [virtual] |
| void CWnd_Banner::Shutdown | ( | ) |
Definition at line 166 of file Wnd_Banner.cpp.
References IMGT_EXIT, m_bRunning, and m_dwThrJob.
Referenced by ~CWnd_Banner().
Definition at line 65 of file Wnd_Banner.cpp.
References FALSE, vmsImage_CtxFree::get_FrameCount(), vmsImage_CtxFree::get_FrameDelay(), vmsImage_CtxFree::get_Size(), IMGT_LOAD, Initialize(), LOG, m_bRunning, m_dwThrJob, m_iCurrentFrame, m_img, m_strImgFile, m_strURL, nl, and NULL.
Referenced by CMainFrame::DisplayBanner().
| BOOL CWnd_Banner::Create | ( | CWnd * | pWndParent, | |
| int | cy | |||
| ) |
Definition at line 42 of file Wnd_Banner.cpp.
References IDC_HAND_, Initialize(), NULL, and TRUE.
Referenced by CMainFrame::OnCreate().
| void CWnd_Banner::Initialize | ( | void | ) | [protected] |
Definition at line 176 of file Wnd_Banner.cpp.
References _threadImage(), FALSE, m_bRunning, NULL, and TRUE.
Referenced by Create(), and SetBanner().
| DWORD WINAPI CWnd_Banner::_threadImage | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 97 of file Wnd_Banner.cpp.
References vmsImage_CtxFree::Draw(), FALSE, vmsImage_CtxFree::Free(), vmsImage_CtxFree::get_Size(), IMGT_DRAW, IMGT_EXIT, IMGT_LOAD, vmsImage_CtxFree::is_Loaded(), vmsImage_CtxFree::Load(), LOG, m_bRunning, m_dwThrJob, m_hDCNow, m_img, m_strImgFile, nl, NULL, and TRUE.
Referenced by Initialize().
| void CWnd_Banner::OnPaint | ( | ) | [protected] |
| void CWnd_Banner::OnLButtonDown | ( | UINT | nFlags, | |
| CPoint | point | |||
| ) | [protected] |
Definition at line 160 of file Wnd_Banner.cpp.
| void CWnd_Banner::OnTimer | ( | UINT | nIDEvent | ) | [protected] |
Definition at line 186 of file Wnd_Banner.cpp.
References vmsImage_CtxFree::get_FrameCount(), vmsImage_CtxFree::get_FrameDelay(), IMGT_DRAW, m_dwThrJob, m_hDCNow, m_iCurrentFrame, m_img, NULL, and vmsImage_CtxFree::set_CurrentFrame().
| void CWnd_Banner::OnLButtonUp | ( | UINT | nFlags, | |
| CPoint | point | |||
| ) | [protected] |
int CWnd_Banner::m_iCurrentFrame [protected] |
BOOL CWnd_Banner::m_bRunning [protected] |
Definition at line 37 of file Wnd_Banner.h.
Referenced by _threadImage(), CWnd_Banner(), Initialize(), SetBanner(), and Shutdown().
HDC CWnd_Banner::m_hDCNow [protected] |
CString CWnd_Banner::m_strImgFile [protected] |
volatile DWORD CWnd_Banner::m_dwThrJob [protected] |
Definition at line 40 of file Wnd_Banner.h.
Referenced by _threadImage(), CWnd_Banner(), OnPaint(), OnTimer(), SetBanner(), and Shutdown().
CString CWnd_Banner::m_strURL [protected] |
vmsImage_CtxFree CWnd_Banner::m_img [protected] |
Definition at line 44 of file Wnd_Banner.h.
Referenced by _threadImage(), OnTimer(), and SetBanner().
1.5.6