rtoss

Subversion Repositories:
Compare Path: Rev
With Path: Rev
/PokemonHackSourceCode/ @ 299  →  /PokemonHackSourceCode/ @ 300
/PokemonHackSourceCode/PokemonMemHack/MemMiscPage1.cpp
@@ -73,6 +73,25 @@
{
CPropertyPage::OnInitDialog();
 
m_Font.CreateFont(
GUI_FONT_HEIGHT, // nHeight
0, // nWidth
0, // nEscapement
0, // nOrientation
FW_NORMAL, // nWeight
FALSE, // bItalic
FALSE, // bUnderline
0, // cStrikeOut
ANSI_CHARSET, // nCharSet
OUT_DEFAULT_PRECIS, // nOutPrecision
CLIP_DEFAULT_PRECIS, // nClipPrecision
DEFAULT_QUALITY, // nQuality
DEFAULT_PITCH | FF_SWISS, // nPitchAndFamily
_T(GUI_FONT_NAME)); // lpszFacename
m_ctrlItemList.SetFont(&m_Font);
m_Static = (CStatic *) GetDlgItem(IDC_MISC_ITEM_DESC);
m_Static->SetFont(&m_Font);
 
OnChangeUILang();
 
return TRUE; // return TRUE unless you set the focus to a control
/PokemonHackSourceCode/PokemonMemHack/MemMiscPage2.cpp
@@ -58,6 +58,23 @@
CheckDlgButton(IDC_PC_NAME_JP, BST_CHECKED);
CheckDlgButton(IDC_PC_SEX_RANDOM, BST_CHECKED);
 
m_Font.CreateFont(
GUI_FONT_HEIGHT, // nHeight
0, // nWidth
0, // nEscapement
0, // nOrientation
FW_NORMAL, // nWeight
FALSE, // bItalic
FALSE, // bUnderline
0, // cStrikeOut
ANSI_CHARSET, // nCharSet
OUT_DEFAULT_PRECIS, // nOutPrecision
CLIP_DEFAULT_PRECIS, // nClipPrecision
DEFAULT_QUALITY, // nQuality
DEFAULT_PITCH | FF_SWISS, // nPitchAndFamily
_T(GUI_FONT_NAME)); // lpszFacename
m_ctrlGameVersionList.SetFont(&m_Font);
 
for(dwIndex = 0; dwIndex < dwGameVersionsCount; ++dwIndex)
{
szText.Format(_T("%lX: %s"), dwIndex, szGameVersions[dwIndex]);
/PokemonHackSourceCode/PokemonMemHack/MemMiscPage1.h
@@ -19,6 +19,8 @@
protected:
BOOL m_bCreated;
CComboBox m_ctrlItemList;
CFont m_Font;
CStatic * m_Static;
 
afx_msg void SetItemDesc();
 
/PokemonHackSourceCode/PokemonMemHack/MemMiscPage2.h
@@ -18,6 +18,7 @@
 
protected:
CComboBox m_ctrlGameVersionList;
CFont m_Font;
 
UINT_PTR m_uTimerId;
DWORD m_dwTimerFlags;