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@131 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
f6e596af92
commit
47053ff088
Binary file not shown.
Binary file not shown.
@ -64,8 +64,9 @@ void Form1::loadInit(void)
|
||||
{
|
||||
// Shared2ファイルのアクセス許可(ファイルごとに指定)
|
||||
System::String ^shared2 = MasterEditorTWL::getXPathText( root, "/init/access/shared2" );
|
||||
if( shared2 )
|
||||
if( shared2 != nullptr )
|
||||
{
|
||||
// コンマ区切りでアクセス許可ファイルNo.が指定されている
|
||||
cli::array<System::String^> ^list = shared2->Split( ',' );
|
||||
if( list )
|
||||
{
|
||||
@ -88,12 +89,12 @@ void Form1::loadInit(void)
|
||||
// <access>タグに付随して非表示項目を表示するかどうかを決める
|
||||
{
|
||||
// Shared2ファイル
|
||||
System::Boolean bVisible;
|
||||
System::Boolean bVisible = false;
|
||||
for each( System::Boolean permit in this->hSrl->hMrcExternalCheckItems->hIsPermitShared2Array )
|
||||
{
|
||||
if( permit && !this->gboxShared2Size->Visible )
|
||||
{
|
||||
bVisible = true; // どれかひとつでもtrueならグループボックス全体を表示する
|
||||
bVisible = true; // どれかひとつでもtrueならグループボックスを表示する
|
||||
}
|
||||
}
|
||||
this->gboxShared2Size->Visible = bVisible;
|
||||
@ -103,8 +104,7 @@ void Form1::loadInit(void)
|
||||
int i;
|
||||
for( i=0; i < METWL_NUMOF_SHARED2FILES; i++ )
|
||||
{
|
||||
// グループボックス全体が表示されていたら全ファイルの項目が表示されるので
|
||||
// アクセス許可されていないファイルのみ非表示にする
|
||||
// アクセス許可されているファイルのみ表示にする
|
||||
if( this->hSrl->hMrcExternalCheckItems->hIsPermitShared2Array[i] )
|
||||
{
|
||||
switch(i)
|
||||
|
||||
Binary file not shown.
@ -1,10 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<init>
|
||||
<rw>w</rw>
|
||||
<access>
|
||||
<!-- <shared2>0,1</shared2> -->
|
||||
<!-- <normalJump>Permit</normalJump> -->
|
||||
</access>
|
||||
<shared2>
|
||||
<size0>2097152</size0>
|
||||
</shared2>
|
||||
|
||||
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<init>
|
||||
<!-- 非公開情報の記述方法を忘れないようにメモしておく -->
|
||||
<rw>w</rw>
|
||||
<access>
|
||||
<!-- <shared2>0,1</shared2> -->
|
||||
<!-- <normalJump>Permit</normalJump> -->
|
||||
</access>
|
||||
<shared2>
|
||||
<size0>2097152</size0>
|
||||
</shared2>
|
||||
<reserved-list>
|
||||
<reserved><begin>78</begin><end>7f</end></reserved>
|
||||
<reserved><begin>160</begin><end>17f</end></reserved>
|
||||
<reserved><begin>15</begin><end>1b</end></reserved>
|
||||
<reserved><begin>99</begin><end>bf</end></reserved>
|
||||
<reserved><begin>1bc</begin><end>1be</end></reserved>
|
||||
<reserved><begin>240</begin><end>2ef</end></reserved>
|
||||
<reserved><begin>378</begin><end>39f</end></reserved>
|
||||
<reserved><begin>3b4</begin><end>f7f</end></reserved>
|
||||
</reserved-list>
|
||||
</init>
|
||||
Loading…
Reference in New Issue
Block a user