From 2927c3f28b797b02e0e8ac6434f2c444f4672f9d Mon Sep 17 00:00:00 2001 From: Steffen Winterfeldt Date: Tue, 25 Jan 2005 14:13:32 +0000 Subject: --- themes/test2/Makefile | 2 +- themes/test2/sky.jpg | Bin 0 -> 26277 bytes themes/test2/test.jpg | Bin 0 -> 26277 bytes themes/test2/test.ps | 21 ++++++++++++++++++--- 4 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 themes/test2/sky.jpg create mode 100644 themes/test2/test.jpg (limited to 'themes') diff --git a/themes/test2/Makefile b/themes/test2/Makefile index c7dccf1..544f8f1 100644 --- a/themes/test2/Makefile +++ b/themes/test2/Makefile @@ -14,7 +14,7 @@ themes: bootlogo bootlogo: test.ps $(BM_TARGET) $(MKBOOTMSG) $(BFLAGS) -l log -c $< init - echo -e "init\njaguar.jpg" | cpio -o >bootlogo + echo -e "init\ntest.jpg" | cpio -o >bootlogo clean: rm -f *~ log init bootlogo diff --git a/themes/test2/sky.jpg b/themes/test2/sky.jpg new file mode 100644 index 0000000..1a69e73 Binary files /dev/null and b/themes/test2/sky.jpg differ diff --git a/themes/test2/test.jpg b/themes/test2/test.jpg new file mode 100644 index 0000000..1a69e73 Binary files /dev/null and b/themes/test2/test.jpg differ diff --git a/themes/test2/test.ps b/themes/test2/test.ps index 3ba1642..bbf9d68 100644 --- a/themes/test2/test.ps +++ b/themes/test2/test.ps @@ -45,7 +45,7 @@ -800 600 8 findmode setmode not { false .end } if +800 600 16 findmode setmode not { false .end } if /max_image_colors 0 def @@ -54,11 +54,26 @@ white settextmodecolor -"jaguar.jpg" findfile +"test.jpg" findfile + +setimage image.size dtrace -xxx +pop pop + +0 0 800 600 image.unpack + +/i exch def + +white setcolor +0 0 moveto 300 300 fillrect + +0 0 moveto + +i + +restorescreen dtrace -- cgit v1.2.3