images.viewer: you can now pass a pathname object to image-window and image. words
parent
b70160088d
commit
16bddcb91e
|
@ -25,7 +25,7 @@ M: image <image-gadget>
|
||||||
|
|
||||||
M: string <image-gadget> load-image <image-gadget> ;
|
M: string <image-gadget> load-image <image-gadget> ;
|
||||||
|
|
||||||
M: pathname <image-gadget> load-image <image-gadget> ;
|
M: pathname <image-gadget> string>> load-image <image-gadget> ;
|
||||||
|
|
||||||
: image-window ( object -- ) <image-gadget> "Image" open-window ;
|
: image-window ( object -- ) <image-gadget> "Image" open-window ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue