Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRDP/GdiTest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'GdiTest/MainWindow.cs')
-rw-r--r--GdiTest/MainWindow.cs13
1 files changed, 10 insertions, 3 deletions
diff --git a/GdiTest/MainWindow.cs b/GdiTest/MainWindow.cs
index 58eb657..214c593 100644
--- a/GdiTest/MainWindow.cs
+++ b/GdiTest/MainWindow.cs
@@ -6,9 +6,9 @@ using GdiTest;
public partial class MainWindow : Gtk.Window
{
- DrawingArea testDrawingArea;
- DrawingArea lineToDrawingArea;
- DrawingArea bitBltDrawingArea;
+ TestDrawingArea testDrawingArea;
+ TestDrawingArea lineToDrawingArea;
+ TestDrawingArea bitBltDrawingArea;
public MainWindow () : base(Gtk.WindowType.Toplevel)
{
@@ -50,4 +50,11 @@ public partial class MainWindow : Gtk.Window
testFrame.ShowAll();
}
}
+ protected virtual void OnDumpButtonClicked (object sender, System.EventArgs e)
+ {
+ String dumpText = testDrawingArea.dump();
+ dumpTextView.Buffer.Text = dumpText;
+ }
+
+
}