mirror of https://github.com/adamdruppe/arsd.git
Cleanup
This commit is contained in:
parent
e12846e996
commit
44dfc72d78
|
@ -8,18 +8,23 @@ module arsd.pixmappaint;
|
||||||
import arsd.color;
|
import arsd.color;
|
||||||
import arsd.core;
|
import arsd.core;
|
||||||
|
|
||||||
///
|
alias Color = arsd.color.Color;
|
||||||
alias Pixel = Color;
|
|
||||||
|
|
||||||
///
|
///
|
||||||
alias ColorF = arsd.color.ColorF;
|
alias ColorF = arsd.color.ColorF;
|
||||||
|
|
||||||
///
|
///
|
||||||
alias Size = arsd.color.Size;
|
alias Pixel = Color;
|
||||||
|
|
||||||
///
|
///
|
||||||
alias Point = arsd.color.Point;
|
alias Point = arsd.color.Point;
|
||||||
|
|
||||||
|
///
|
||||||
|
alias Rectangle = arsd.color.Rectangle;
|
||||||
|
|
||||||
|
///
|
||||||
|
alias Size = arsd.color.Size;
|
||||||
|
|
||||||
// verify assumption(s)
|
// verify assumption(s)
|
||||||
static assert(Pixel.sizeof == uint.sizeof);
|
static assert(Pixel.sizeof == uint.sizeof);
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,6 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
import arsd.pixmappresenter;
|
import arsd.pixmappresenter;
|
||||||
import arsd.simpledisplay : MouseEvent;
|
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
// Internal resolution of the images (“frames”) we will render.
|
// Internal resolution of the images (“frames”) we will render.
|
||||||
|
|
Loading…
Reference in New Issue