Oops. Fix sample
svn path=/trunk/gtk-sharp/; revision=13568
This commit is contained in:
parent
7a3264e911
commit
24ec6aa57f
1 changed files with 3 additions and 1 deletions
|
@ -29,6 +29,8 @@
|
|||
|
||||
colormap.AllocColor (red_color, true, true);
|
||||
|
||||
gc.Foreground = red_color;
|
||||
|
||||
// Now you can use it
|
||||
drawable.DrawLine (gc, 0, 0, 100, 100);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue