mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-02-28 16:16:51 +00:00
Oops. Fix sample
svn path=/trunk/gtk-sharp/; revision=13568
This commit is contained in:
parent
7a3264e911
commit
24ec6aa57f
|
@ -28,7 +28,9 @@
|
||||||
Gdk.Colormap colormap = Gdk.Colormap.System;
|
Gdk.Colormap colormap = Gdk.Colormap.System;
|
||||||
|
|
||||||
colormap.AllocColor (red_color, true, true);
|
colormap.AllocColor (red_color, true, true);
|
||||||
|
|
||||||
|
gc.Foreground = red_color;
|
||||||
|
|
||||||
// Now you can use it
|
// Now you can use it
|
||||||
drawable.DrawLine (gc, 0, 0, 100, 100);
|
drawable.DrawLine (gc, 0, 0, 100, 100);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue