マスタエディタ:一時保存ファイルにUGCと写真交換のチェックボックス情報を含める。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2594 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
nishikawa_takeshi 2008-10-07 09:03:27 +00:00
parent 903a222c07
commit 18f2b92a29
4 changed files with 6 additions and 0 deletions

View File

@ -101,6 +101,9 @@ System::Void Form1::saveTmp( System::String ^filename )
MasterEditorTWL::appendXmlTag( doc, form, "RatingPEGI_BBFC", this->combPEGI_BBFC->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "RatingOFLC", this->combOFLC->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "IsUGC", (this->cboxIsUGC->Checked)?"Y":"N" );
MasterEditorTWL::appendXmlTag( doc, form, "IsPhotoEx", (this->cboxIsPhotoEx->Checked)?"Y":"N" );
try
{
doc->Save( filename );
@ -244,6 +247,9 @@ void Form1::loadTmp( System::String ^filename )
this->parseTmp( root, "/MasterEditorTWL/Form/RatingPEGI_BBFC", this->combPEGI_BBFC );
this->parseTmp( root, "/MasterEditorTWL/Form/RatingOFLC", this->combOFLC );
this->parseTmp( root, "/MasterEditorTWL/Form/IsUGC", this->cboxIsUGC );
this->parseTmp( root, "/MasterEditorTWL/Form/IsPhotoEx", this->cboxIsPhotoEx );
this->maskParentalForms(); // ペアレンタルコントロール情報をリージョンに合わせる
} //loadTmp()