Ram Watch/Search, TASStudio - use of the blazingfast option of virtuallistview only during the updatevalues function yields significantly less flickering without the bad side effects of that option

This commit is contained in:
andres.delikat 2011-08-04 02:28:25 +00:00
parent a1c562259d
commit 933b4a60bc
4 changed files with 7 additions and 0 deletions

View File

@ -1168,6 +1168,7 @@
//
// OutputLabel
//
this.OutputLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.OutputLabel.AutoSize = true;
this.OutputLabel.Location = new System.Drawing.Point(9, 436);
this.OutputLabel.Name = "OutputLabel";

View File

@ -66,6 +66,7 @@ namespace BizHawk.MultiClient
public void UpdateValues()
{
SearchListView.BlazingFast = true;
sortReverse = false;
sortedCol = "";
if (!this.IsHandleCreated || this.IsDisposed) return;
@ -83,6 +84,7 @@ namespace BizHawk.MultiClient
else if (Global.Config.RamSearchPreviewMode)
DoPreview();
SearchListView.Refresh();
SearchListView.BlazingFast = false;
}
private void RamSearch_Load(object sender, EventArgs e)

View File

@ -60,6 +60,7 @@ namespace BizHawk.MultiClient
public void UpdateValues()
{
WatchListView.BlazingFast = true;
if (!this.IsHandleCreated || this.IsDisposed) return;
for (int x = 0; x < watchList.Count; x++)
{
@ -69,6 +70,7 @@ namespace BizHawk.MultiClient
watchList[x].changecount++;
}
WatchListView.Refresh();
WatchListView.BlazingFast = false;
}
public void AddWatch(Watch w)

View File

@ -46,6 +46,7 @@ namespace BizHawk.MultiClient
public void UpdateValues()
{
TASView.BlazingFast = true;
if (!this.IsHandleCreated || this.IsDisposed) return;
if (Global.MainForm.UserMovie.Mode == MOVIEMODE.INACTIVE)
TASView.ItemCount = 0;
@ -82,6 +83,7 @@ namespace BizHawk.MultiClient
break;
}
}
TASView.BlazingFast = false;
}
}