[chronojump] Removed debug info on logo
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Removed debug info on logo
- Date: Wed, 30 Jun 2021 16:58:28 +0000 (UTC)
commit 561400c2e3e87108cc6c930a3381ccc463b44936
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Jun 30 18:58:11 2021 +0200
Removed debug info on logo
src/gui/app1/chronojumpLogo.cs | 11 -----------
1 file changed, 11 deletions(-)
---
diff --git a/src/gui/app1/chronojumpLogo.cs b/src/gui/app1/chronojumpLogo.cs
index b620ce69e..205ebf670 100644
--- a/src/gui/app1/chronojumpLogo.cs
+++ b/src/gui/app1/chronojumpLogo.cs
@@ -98,11 +98,7 @@ public class ChronojumpLogo
private void redraw()
{
-LogB.Information("redraw 0");
Cairo.Context cr = Gdk.CairoHelper.Create(drawingarea.GdkWindow);
-
-LogB.Information("viewport is null: " + (viewport == null).ToString());
-LogB.Information("drawingarea is null: " + (drawingarea == null).ToString());
double elapsedMs1 = stopwatch1.Elapsed.TotalMilliseconds;
@@ -115,21 +111,18 @@ LogB.Information("drawingarea is null: " + (drawingarea == null).ToString());
cr.SetSourceRGB(.055, .118, .275);
cr.Paint();
-LogB.Information("redraw 1");
//cr.SelectFontFace("Ubuntu", FontSlant.Normal, FontWeight.Bold); //need to check if they
have this font
//cr.SelectFontFace(font, FontSlant.Normal, FontWeight.Bold); //Courier is so ugly on logo
cr.SelectFontFace("Helvetica", FontSlant.Normal, FontWeight.Bold);
bool showVersion = false;
if (size <= 80) {
-LogB.Information("redraw 2");
//size += 0.6;
size = elapsedMs1 / 20.0;
}
if(size > 20)
{
-LogB.Information("redraw 3");
//alpha -= 0.01;
if(! stopwatch2.IsRunning)
stopwatch2.Start();
@@ -144,7 +137,6 @@ LogB.Information("redraw 3");
if (stopwatch3.Elapsed.TotalMilliseconds >= 300)
{
-LogB.Information("redraw 4");
timer = false;
}
@@ -152,12 +144,10 @@ LogB.Information("redraw 4");
((IDisposable) cr.Target).Dispose();
((IDisposable) cr).Dispose();
-LogB.Information("redraw 5");
}
private void chronojumpLogo_showChronojump (Cairo.Context cr, int x, int y)
{
-LogB.Information("logo_showChronojump start");
cr.SetFontSize(size);
cr.SetSourceRGB(1, 1, 1);
@@ -169,7 +159,6 @@ LogB.Information("logo_showChronojump start");
cr.Clip();
cr.Stroke();
cr.PaintWithAlpha(alpha);
-LogB.Information("logo_showChronojump end");
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]