Rename Context2d to CanvasRenderingContext2D

This commit is contained in:
Frank A. Krueger 2017-06-19 21:30:58 -07:00
parent 92a4a40784
commit d2f1d7584a
3 changed files with 11 additions and 11 deletions

View File

@ -4,7 +4,7 @@ namespace Ooui
{
public class Canvas : Element
{
Context2d context2d = new Context2d ();
CanvasRenderingContext2D context2d = new CanvasRenderingContext2D ();
int gotContext2d = 0;
int width = 150;

View File

@ -0,0 +1,10 @@
namespace Ooui
{
public class CanvasRenderingContext2D : EventTarget
{
public CanvasRenderingContext2D ()
: base ("#canvasRenderingContext2D")
{
}
}
}

View File

@ -1,10 +0,0 @@
namespace Ooui
{
public class Context2d : EventTarget
{
public Context2d()
: base ("context2d")
{
}
}
}