Skip to content

Commit

Permalink
Removed Oxygen from Angler. small layout-fixes. Breeding Plan recalcu…
Browse files Browse the repository at this point in the history
…lates faster / on select.
  • Loading branch information
cadon committed Apr 11, 2016
1 parent f135dd7 commit 4f8729a
Show file tree
Hide file tree
Showing 6 changed files with 443 additions and 430 deletions.
3 changes: 2 additions & 1 deletion ARKBreedingStats/BreedingPlan.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public BreedingPlan()
public void drawBestParents(bool topstats, bool updateBreedingData = false)
{
SuspendLayout();
Cursor.Current = Cursors.WaitCursor;
ClearControls();
if (females != null && males != null && females.Count > 0 && males.Count > 0)
{
Expand Down Expand Up @@ -93,7 +94,6 @@ public void drawBestParents(bool topstats, bool updateBreedingData = false)
PedigreeCreature pc;
Bitmap bm = new Bitmap(pictureBox1.Width, pictureBox1.Height);
Graphics g = Graphics.FromImage(bm);
//g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias;
g.DrawString("Breeding-Score", new System.Drawing.Font("Microsoft Sans Serif", 8.25F), new System.Drawing.SolidBrush(System.Drawing.Color.Black), 0, 3);

Expand Down Expand Up @@ -133,6 +133,7 @@ public void drawBestParents(bool topstats, bool updateBreedingData = false)
pictureBox1.Image = null;
setBreedingData();
}
Cursor.Current = Cursors.Default;
ResumeLayout();
}

Expand Down
Loading

0 comments on commit 4f8729a

Please sign in to comment.