This commit is contained in:
parent
e8c765e021
commit
c9aea8be1f
5 changed files with 42 additions and 16 deletions
|
@ -443,16 +443,20 @@ bool CTileBank::Command(int CmdMsg,CCore *Core,int Param0,int Param1)
|
|||
{
|
||||
case CmdMsg_SubViewLoad:
|
||||
LoadNewSet(Core);
|
||||
GUIUpdate(Core);
|
||||
break;
|
||||
case CmdMsg_SubViewDelete:
|
||||
DeleteSet(Core);
|
||||
GUIUpdate(Core);
|
||||
break;
|
||||
case CmdMsg_SubViewUpdate:
|
||||
ReloadAllSets();
|
||||
Core->GetTexCache().Purge();
|
||||
GUIUpdate(Core);
|
||||
break;
|
||||
case CmdMsg_SubViewSet:
|
||||
CurrentSet=TileBankGUI.m_List.GetCurSel();
|
||||
GUIUpdate(Core);
|
||||
break;
|
||||
case CmdMsg_ActiveBrushLeft:
|
||||
ActiveBrush=LBrush;
|
||||
|
@ -483,7 +487,7 @@ void CTileBank::GUIKill(CCore *Core)
|
|||
void CTileBank::GUIUpdate(CCore *Core)
|
||||
{
|
||||
int ListSize=GetSetCount();
|
||||
bool IsSubView=true;
|
||||
bool IsSubView=Core->IsSubView();
|
||||
|
||||
if (TileBankGUI.m_List)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue