#include <DlgLanguage.h>
Inheritance diagram for CLanguageDlg:
Public Types | |
enum | { IDD = IDD_LANGUAGE } |
Public Member Functions | |
CLanguageDlg (CWnd *pParent=NULL) | |
virtual BOOL | PreTranslateMessage (MSG *pMsg) |
Protected Member Functions | |
virtual void | DoDataExchange (CDataExchange *pDX) |
void | PaintItem (int nItem, CDC *pDC, CRect *pRect) |
void | DrawWrappedText (CDC *pDC, CRect *pBox, LPCTSTR pszText) |
void | AddEnglishDefault () |
void | Enumerate (LPCTSTR pszPath=NULL) |
BOOL | AddSkin (LPCTSTR pszPath, LPCTSTR pszName) |
void | Execute (int nItem) |
virtual BOOL | OnInitDialog () |
afx_msg BOOL | OnEraseBkgnd (CDC *pDC) |
afx_msg void | OnPaint () |
afx_msg void | OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) |
afx_msg BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint pt) |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnTimer (UINT nIDEvent) |
afx_msg void | OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) |
afx_msg BOOL | OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message) |
afx_msg void | OnDestroy () |
afx_msg void | OnClose () |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
Protected Attributes | |
CStringArray | m_pPaths |
CStringArray | m_pTitles |
CStringArray | m_pPrompts |
CStringArray | m_pGUIDirs |
CStringArray | m_pLangCodes |
CImageList | m_pImages |
int | m_nHover |
int | m_nDown |
BOOL | m_bKeyMode |
CFont | m_fntNormal |
CFont | m_fntBold |
CFont | m_fntSmall |
HCURSOR | m_hArrow |
HCURSOR | m_hHand |
CBitmap | m_bmHeader |
|
Definition at line 39 of file DlgLanguage.h. |
|
Definition at line 62 of file DlgLanguage.cpp. |
|
Definition at line 486 of file DlgLanguage.cpp. References IDI_FLAG_ENGLISH, m_pImages, m_pPaths, m_pPrompts, m_pTitles, and theApp. Referenced by OnInitDialog(). |
|
Definition at line 531 of file DlgLanguage.cpp. References CXMLElement::AddElement(), CXMLElement::FromString(), CSettings::General, CXMLElement::GetAttributeValue(), CXMLElement::GetElementByName(), IDR_MAINFRAME, CXMLNode::IsNamed(), m_pGUIDirs, m_pImages, m_pLangCodes, m_pPaths, m_pPrompts, m_pTitles, NULL, CSettings::sGeneral::Path, Settings, and theApp. Referenced by Enumerate(). |
|
Reimplemented from CSkinDialog. Definition at line 68 of file DlgLanguage.cpp. References CSkinDialog::DoDataExchange(). |
|
Definition at line 270 of file DlgLanguage.cpp. References NULL. Referenced by PaintItem(). |
|
Definition at line 494 of file DlgLanguage.cpp. References _tcsistr(), AddSkin(), CSettings::General, NULL, CSettings::sGeneral::Path, and Settings. Referenced by OnInitDialog(). |
|
Definition at line 671 of file DlgLanguage.cpp. References CSettings::General, IDS_GENERAL_RTL_NOTSUPPORTED, IDS_GENERAL_RTL_WARNING, CSettings::sGeneral::Language, LoadString(), CShareazaApp::m_bRTL, CShareazaApp::m_dwWindowsVersion, m_pGUIDirs, m_pLangCodes, m_pPaths, NULL, Settings, and theApp. Referenced by OnKeyDown(), and OnLButtonUp(). |
|
Definition at line 715 of file DlgLanguage.cpp. |
|
Reimplemented from CSkinDialog. Definition at line 720 of file DlgLanguage.cpp. |
|
Definition at line 147 of file DlgLanguage.cpp. |
|
Reimplemented from CSkinDialog. Definition at line 153 of file DlgLanguage.cpp. |
|
Reimplemented from CSkinDialog. Definition at line 78 of file DlgLanguage.cpp. References AddEnglishDefault(), Enumerate(), HEADING_HEIGHT, IDB_WIZARD, IDC_HAND, ITEM_HEIGHT, m_bKeyMode, m_bmHeader, m_fntBold, m_fntNormal, m_fntSmall, m_hArrow, m_hHand, CShareazaApp::m_nDefaultFontSize, m_nDown, m_nHover, m_pImages, m_pPaths, CShareazaApp::m_sDefaultFont, NULL, CSkinDialog::OnInitDialog(), and theApp. |
|
Definition at line 453 of file DlgLanguage.cpp. References Execute(), m_bKeyMode, m_nDown, m_nHover, and m_pPaths. Referenced by PreTranslateMessage(). |
|
Definition at line 404 of file DlgLanguage.cpp. |
|
Definition at line 411 of file DlgLanguage.cpp. |
|
Definition at line 359 of file DlgLanguage.cpp. References HEADING_HEIGHT, ITEM_HEIGHT, m_bKeyMode, and m_nHover. |
|
Definition at line 353 of file DlgLanguage.cpp. References NULL, and OnVScroll(). |
|
Definition at line 158 of file DlgLanguage.cpp. References HEADING_HEIGHT, m_bmHeader, m_fntNormal, m_pPaths, and PaintItem(). |
|
Definition at line 388 of file DlgLanguage.cpp. References HEADING_HEIGHT, m_hArrow, and m_hHand. |
|
Definition at line 424 of file DlgLanguage.cpp. References m_bKeyMode, and m_nHover. |
|
Definition at line 307 of file DlgLanguage.cpp. References m_nDown, and m_nHover. Referenced by OnMouseWheel(). |
|
Definition at line 193 of file DlgLanguage.cpp. References CoolInterface, DrawWrappedText(), ITEM_HEIGHT, CCoolInterface::m_crBackCheckSel, CCoolInterface::m_crBackNormal, CCoolInterface::m_crBackSel, CCoolInterface::m_crBorder, CCoolInterface::m_crCmdText, CCoolInterface::m_crCmdTextSel, CCoolInterface::m_crShadow, m_fntBold, m_fntSmall, m_nDown, m_nHover, m_pImages, m_pPrompts, m_pTitles, NULL, and TEXT_MARGIN. Referenced by OnPaint(). |
|
Definition at line 442 of file DlgLanguage.cpp. References OnKeyDown(). |
|
Definition at line 50 of file DlgLanguage.h. Referenced by OnInitDialog(), OnKeyDown(), OnMouseMove(), and OnTimer(). |
|
Definition at line 57 of file DlgLanguage.h. Referenced by OnInitDialog(), and OnPaint(). |
|
Definition at line 53 of file DlgLanguage.h. Referenced by OnInitDialog(), and PaintItem(). |
|
Definition at line 52 of file DlgLanguage.h. Referenced by OnInitDialog(), and OnPaint(). |
|
Definition at line 54 of file DlgLanguage.h. Referenced by OnInitDialog(), and PaintItem(). |
|
Definition at line 55 of file DlgLanguage.h. Referenced by OnInitDialog(), and OnSetCursor(). |
|
Definition at line 56 of file DlgLanguage.h. Referenced by OnInitDialog(), and OnSetCursor(). |
|
Definition at line 49 of file DlgLanguage.h. Referenced by OnInitDialog(), OnKeyDown(), OnLButtonDown(), OnLButtonUp(), OnVScroll(), and PaintItem(). |
|
Definition at line 48 of file DlgLanguage.h. Referenced by OnInitDialog(), OnKeyDown(), OnLButtonDown(), OnLButtonUp(), OnMouseMove(), OnTimer(), OnVScroll(), and PaintItem(). |
|
Definition at line 45 of file DlgLanguage.h. |
|
Definition at line 47 of file DlgLanguage.h. Referenced by AddEnglishDefault(), AddSkin(), OnInitDialog(), and PaintItem(). |
|
Definition at line 46 of file DlgLanguage.h. |
|
Definition at line 42 of file DlgLanguage.h. Referenced by AddEnglishDefault(), AddSkin(), Execute(), OnInitDialog(), OnKeyDown(), and OnPaint(). |
|
Definition at line 44 of file DlgLanguage.h. Referenced by AddEnglishDefault(), AddSkin(), and PaintItem(). |
|
Definition at line 43 of file DlgLanguage.h. Referenced by AddEnglishDefault(), AddSkin(), and PaintItem(). |