mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
マスタエディタ:SDKのバージョン表示を複数行のテキストボックスからdataGridViewに変更。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@137 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
d406d8bbef
commit
36034b8c7d
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -286,7 +286,7 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
|
||||
resources->ApplyResources(this->tboxShared2Size0, L"tboxShared2Size0");
|
||||
resources->ApplyResources(this->cboxIsShared2, L"cboxIsShared2");
|
||||
resources->ApplyResources(this->labLib, L"labLib");
|
||||
resources->ApplyResources(this->tboxSDK, L"tboxSDK");
|
||||
resources->ApplyResources(this->gridSDK, L"gridSDK");
|
||||
resources->ApplyResources(this->labSDK, L"labSDK");
|
||||
resources->ApplyResources(this->gboxTWLExInfo, L"gboxTWLExInfo");
|
||||
resources->ApplyResources(this->labByte1, L"labByte1");
|
||||
|
||||
@ -200,17 +200,21 @@ void Form1::setSrlForms(void)
|
||||
this->setSrlFormsTextBox();
|
||||
|
||||
// SDKバージョンとライブラリ
|
||||
this->tboxSDK->Clear();
|
||||
this->gridSDK->Rows->Clear();
|
||||
if( this->hSrl->hSDKList != nullptr )
|
||||
{
|
||||
for each( RCSDKVersion ^ver in this->hSrl->hSDKList )
|
||||
{
|
||||
this->gridSDK->Rows->Add( gcnew cli::array<System::Object^>{ ver->Version } );
|
||||
if( ver->IsStatic )
|
||||
this->tboxSDK->Text += ver->Version + " (main static)\r\n";
|
||||
else
|
||||
this->tboxSDK->Text += ver->Version + "\r\n";
|
||||
{
|
||||
System::Int32 last = this->gridSDK->Rows->Count - 2; // 追加直後の行
|
||||
this->gridSDK->Rows[ last ]->DefaultCellStyle->ForeColor = System::Drawing::Color::Blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
this->gridSDK->CurrentCell = nullptr; // セルが選択(ハイライト)されていない状態にする
|
||||
|
||||
this->gridLibrary->Rows->Clear();
|
||||
if( this->hSrl->hLicenseList != nullptr )
|
||||
{
|
||||
@ -219,11 +223,12 @@ void Form1::setSrlForms(void)
|
||||
this->gridLibrary->Rows->Add( gcnew cli::array<System::Object^>{lic->Publisher, lic->Name} );
|
||||
if( lic->Publisher->Equals( "NINTENDO" ) && lic->Name->Equals( "DEBUG" ) )
|
||||
{
|
||||
System::Int32 last = this->gridLibrary->Rows->Count - 2; // 追加直後の行
|
||||
System::Int32 last = this->gridLibrary->Rows->Count - 2;
|
||||
this->gridLibrary->Rows[ last ]->DefaultCellStyle->ForeColor = System::Drawing::Color::Red;
|
||||
}
|
||||
}
|
||||
}
|
||||
this->gridLibrary->CurrentCell = nullptr;
|
||||
|
||||
// 編集可能情報
|
||||
this->setRegionForms();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user