Compare commits
2 Commits
5bcc2d8214
...
dashboard2
| Author | SHA1 | Date | |
|---|---|---|---|
| aaa79d1878 | |||
| f9e374db50 |
@@ -14,11 +14,13 @@ namespace Dashboard.Drawing
|
||||
|
||||
public class ImageBrush(Image image) : Brush
|
||||
{
|
||||
public Image Image { get; set; } = image;
|
||||
public Box2d TextureCoordinates { get; set; } = new Box2d(0, 0, 1, 1);
|
||||
}
|
||||
|
||||
public class NinePatchImageBrush(Image image) : Brush
|
||||
{
|
||||
public Image Image { get; set; } = image;
|
||||
public Box2d CenterCoordinates { get; set; } = new Box2d(0, 0, 1, 1);
|
||||
public Vector4 Extents { get; set; } = Vector4.Zero;
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace Dashboard.Pal
|
||||
CancellationToken = token;
|
||||
CancellationToken.Value.Register(() => Quit = true);
|
||||
|
||||
InitializeInternal();
|
||||
Initialize();
|
||||
|
||||
while (!Quit && !token.IsCancellationRequested)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user