Move bitmaps

db4
Slava Pestov 2008-03-21 00:31:00 -05:00
parent 9584be2981
commit 2bdfc46331
5 changed files with 4 additions and 4 deletions

8
extra/graphics/bitmap/bitmap.factor Normal file → Executable file
View File

@ -117,16 +117,16 @@ M: bitmap height ( bitmap -- ) bitmap-height ;
load-bitmap [ <graphics-gadget> "bitmap" open-window ] keep ;
: test-bitmap24 ( -- )
"misc/graphics/bmps/thiswayup24.bmp" resource-path bitmap. ;
"extra/graphics/bitmap/test-data/thiswayup24.bmp" resource-path bitmap. ;
: test-bitmap8 ( -- )
"misc/graphics/bmps/rgb8bit.bmp" resource-path bitmap. ;
"extra/graphics/bitmap/test-data/rgb8bit.bmp" resource-path bitmap. ;
: test-bitmap4 ( -- )
"misc/graphics/bmps/rgb4bit.bmp" resource-path
"extra/graphics/bitmap/test-data/rgb4bit.bmp" resource-path
load-bitmap ;
! bitmap. ;
: test-bitmap1 ( -- )
"misc/graphics/bmps/1bit.bmp" resource-path bitmap. ;
"extra/graphics/bitmap/test-data/1bit.bmp" resource-path bitmap. ;

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB