diff --git a/pixmappaint.d b/pixmappaint.d index a4eb1e6..07b1c63 100644 --- a/pixmappaint.d +++ b/pixmappaint.d @@ -8,18 +8,23 @@ module arsd.pixmappaint; import arsd.color; import arsd.core; -/// -alias Pixel = Color; +alias Color = arsd.color.Color; /// alias ColorF = arsd.color.ColorF; /// -alias Size = arsd.color.Size; +alias Pixel = Color; /// alias Point = arsd.color.Point; +/// +alias Rectangle = arsd.color.Rectangle; + +/// +alias Size = arsd.color.Size; + // verify assumption(s) static assert(Pixel.sizeof == uint.sizeof); diff --git a/pixmappresenter.d b/pixmappresenter.d index 8949637..15f87fa 100644 --- a/pixmappresenter.d +++ b/pixmappresenter.d @@ -87,7 +87,6 @@ --- import arsd.pixmappresenter; - import arsd.simpledisplay : MouseEvent; int main() { // Internal resolution of the images (“frames”) we will render.