[hyena/gtk3] ShadingTestWindow: Mark as a test module to have it in the test tool
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hyena/gtk3] ShadingTestWindow: Mark as a test module to have it in the test tool
- Date: Mon, 6 Jun 2011 19:46:33 +0000 (UTC)
commit dcef768015b20d82ba140b8afbfc4ccde36bc1f4
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Fri Jun 3 19:50:56 2011 +0200
ShadingTestWindow: Mark as a test module to have it in the test tool
Hyena.Gui/Hyena.Gui/ShadingTestWindow.cs | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/Hyena.Gui/Hyena.Gui/ShadingTestWindow.cs b/Hyena.Gui/Hyena.Gui/ShadingTestWindow.cs
index 1cdf63b..eb37076 100644
--- a/Hyena.Gui/Hyena.Gui/ShadingTestWindow.cs
+++ b/Hyena.Gui/Hyena.Gui/ShadingTestWindow.cs
@@ -31,6 +31,7 @@ using Gtk;
namespace Hyena.Gui
{
+ [TestModule ("Shading")]
public class ShadingTestWindow : Window
{
private int steps = 16;
@@ -42,8 +43,6 @@ namespace Hyena.Gui
protected override bool OnDrawn (Cairo.Context cr)
{
- CairoHelper.TransformToWindow (cr, this, Window);
-
double step_width = Allocation.Width / (double)steps;
double step_height = Allocation.Height / (double)steps;
double h = 1.0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]