#include <xap_Win32Dlg_Language.h>
Public Member Functions | |
| XAP_Win32Dialog_Language (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id) | |
| virtual | ~XAP_Win32Dialog_Language (void) |
| virtual void | runModal (XAP_Frame *pFrame) |
| void | _setLanguageAndExit (UINT nLang) |
Static Public Member Functions | |
| static XAP_Dialog * | static_constructor (XAP_DialogFactory *, XAP_Dialog_Id id) |
| static BOOL CALLBACK | s_treeProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) |
Protected Member Functions | |
| void | _fillTreeview (HWND hTV) |
| BOOL | _onInitDialog (HWND hWnd, WPARAM wParam, LPARAM lParam) |
| BOOL | _onCommand (HWND hWnd, WPARAM wParam, LPARAM lParam) |
Protected Attributes | |
| HIMAGELIST | m_hNormIml |
| HWND | m_hWnd |
| XAP_Win32Dialog_Language::XAP_Win32Dialog_Language | ( | XAP_DialogFactory * | pDlgFactory, | |
| XAP_Dialog_Id | id | |||
| ) |
References m_hNormIml.
Referenced by static_constructor().
| XAP_Win32Dialog_Language::~XAP_Win32Dialog_Language | ( | void | ) | [virtual] |
References m_hNormIml.
| void XAP_Win32Dialog_Language::_fillTreeview | ( | HWND | hTV | ) | [protected] |
References UT_Win32LocaleString::c_str(), UT_Win32LocaleString::fromUTF8(), gchar, XAP_Dialog_Language::getAvailableDictionaries(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), UT_UCS2String::length(), XAP_Dialog_Language::m_iLangCount, XAP_Dialog_Language::m_pLanguage, XAP_Dialog_Language::m_ppLanguages, and XAP_Dialog_Language::m_ppLanguagesCode.
Referenced by _onInitDialog().
| BOOL XAP_Win32Dialog_Language::_onCommand | ( | HWND | hWnd, | |
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) | [protected, virtual] |
| BOOL XAP_Win32Dialog_Language::_onInitDialog | ( | HWND | hWnd, | |
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) | [protected, virtual] |
Reimplemented from XAP_Win32DialogBase.
References _DS, _fillTreeview(), XAP_Win32DialogBase::centerDialog(), Color, XAP_Win32Toolbar_Icons::getBitmapForIcon(), XAP_Dialog_Language::getDocDefaultLangCheckboxLabel(), XAP_Dialog_Language::getDocDefaultLangDescription(), XAP_App::getStringSet(), XAP_StringSet::getValue(), gTreeProc, m_hNormIml, XAP_Dialog::m_pApp, s, s_treeProc(), XAP_Win32DialogBase::setDialogTitle(), XAP_Win32DialogBase::setDlgItemText(), and UT_UTF8String::utf8_str().
| void XAP_Win32Dialog_Language::_setLanguageAndExit | ( | UINT | nLang | ) |
References XAP_Dialog_Language::_setLanguage(), XAP_Dialog_Language::m_answer, XAP_Dialog_Language::m_bChangedLanguage, m_hWnd, and XAP_Dialog_Language::m_ppLanguages.
Referenced by s_treeProc().
| void XAP_Win32Dialog_Language::runModal | ( | XAP_Frame * | pFrame | ) | [virtual] |
References XAP_Win32DialogBase::createModal(), XAP_Dialog::m_id, UT_ASSERT, and XAP_DIALOG_ID_LANGUAGE.
| BOOL CALLBACK XAP_Win32Dialog_Language::s_treeProc | ( | HWND | hWnd, | |
| UINT | msg, | |||
| WPARAM | wParam, | |||
| LPARAM | lParam | |||
| ) | [static] |
References _setLanguageAndExit(), and gTreeProc.
Referenced by _onInitDialog().
| XAP_Dialog * XAP_Win32Dialog_Language::static_constructor | ( | XAP_DialogFactory * | pFactory, | |
| XAP_Dialog_Id | id | |||
| ) | [static] |
References XAP_Win32Dialog_Language().
HIMAGELIST XAP_Win32Dialog_Language::m_hNormIml [protected] |
Referenced by _onInitDialog(), XAP_Win32Dialog_Language(), and ~XAP_Win32Dialog_Language().
HWND XAP_Win32Dialog_Language::m_hWnd [protected] |
Referenced by _setLanguageAndExit().
1.7.1