Working on the core part.
This commit is contained in:
27
Progrart.Core/Graphics/VisualRoot.cs
Normal file
27
Progrart.Core/Graphics/VisualRoot.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Jint.Native;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Progrart.Core.Graphics
|
||||
{
|
||||
public class BaseElement
|
||||
{
|
||||
public JsObject? __object = null;
|
||||
public virtual void Add(BaseElement element) { }
|
||||
public virtual void Remove(BaseElement element) { }
|
||||
public virtual void Render(RenderContext context)
|
||||
{
|
||||
}
|
||||
public virtual void SetProperty(string key, string value)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
public class ImageRoot : BaseElement
|
||||
{
|
||||
}
|
||||
public class VisualRoot : BaseElement
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user