|
|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
using Eto.Drawing;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Pablo.Controls
|
|
|
|
|
{
|
|
|
|
|
namespace Pablo.Controls;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Extension of <see cref="CustomButton"/> that allows image assignment and drawing.
|
|
|
|
|
/// Originally written by cwensley (https://gist.github.com/cwensley/95000998e37acd93e830),
|
|
|
|
|
@ -101,5 +101,3 @@ namespace Pablo.Controls
|
|
|
|
|
pe.Graphics.DrawImage(image, xoffset, yoffset, size.Width, size.Height);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|