mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
GUI桌面环境
This commit is contained in:
14
Gui/UILib/Control.cs
Normal file
14
Gui/UILib/Control.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace CMLeonOS.Gui.UILib
|
||||
{
|
||||
internal abstract class Control : Window
|
||||
{
|
||||
internal Control(Window parent, int x, int y, int width, int height) : base(parent.Process, x, y, width, height)
|
||||
{
|
||||
RelativeTo = parent;
|
||||
|
||||
Render();
|
||||
}
|
||||
|
||||
internal abstract void Render();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user