mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
マスタエディタ:
・システムアプリ用で全リージョンアプリを読み込むと正しくコンボボックスを設定できないバグを修正。 ・システムアプリ用において、言語が変わったときにウインドウ名に対応アプリ種別が表示されなくなるバグを修正。 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@234 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
cd4cd2f42e
commit
764228292a
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -500,6 +500,22 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
|
|||||||
// バージョンがなくなるので再設定
|
// バージョンがなくなるので再設定
|
||||||
System::Reflection::Assembly ^ass = System::Reflection::Assembly::GetEntryAssembly();
|
System::Reflection::Assembly ^ass = System::Reflection::Assembly::GetEntryAssembly();
|
||||||
this->labAssemblyVersion->Text = "ver." + this->getVersion();
|
this->labAssemblyVersion->Text = "ver." + this->getVersion();
|
||||||
|
|
||||||
|
// アプリ種別をつける
|
||||||
|
System::String ^appstr = nullptr;
|
||||||
|
#ifdef METWL_VER_APPTYPE_LAUNCHER
|
||||||
|
appstr += "Launcher/";
|
||||||
|
#endif
|
||||||
|
#ifdef METWL_VER_APPTYPE_SECURE
|
||||||
|
appstr += "Secure/";
|
||||||
|
#endif
|
||||||
|
#ifdef METWL_VER_APPTYPE_SYSTEM
|
||||||
|
appstr += "System/";
|
||||||
|
#endif
|
||||||
|
if( appstr != nullptr)
|
||||||
|
{
|
||||||
|
this->Text += " [ Supported App: " + appstr + "User ]";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// end of file
|
// end of file
|
||||||
@ -105,7 +105,7 @@ void Form1::setRegionForms(void)
|
|||||||
index = -1; // 不正
|
index = -1; // 不正
|
||||||
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
|
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
|
||||||
if( isJapan && isAmerica && isEurope && isAustralia )
|
if( isJapan && isAmerica && isEurope && isAustralia )
|
||||||
index = 5;
|
index = 7;
|
||||||
#endif
|
#endif
|
||||||
this->combRegion->SelectedIndex = index;
|
this->combRegion->SelectedIndex = index;
|
||||||
this->maskRatingForms(); // ペアレンタルコントロール用フォームの表示/非表示切り替え
|
this->maskRatingForms(); // ペアレンタルコントロール用フォームの表示/非表示切り替え
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user