Merge branch 'png' of git://github.com/klazuka/factor into png2
After Width: | Height: | Size: 622 B |
After Width: | Height: | Size: 452 B |
After Width: | Height: | Size: 496 B |
After Width: | Height: | Size: 615 B |
After Width: | Height: | Size: 662 B |
|
@ -8,7 +8,7 @@ IN: definitions.icons
|
||||||
GENERIC: definition-icon ( definition -- path )
|
GENERIC: definition-icon ( definition -- path )
|
||||||
|
|
||||||
: definition-icon-path ( string -- string' )
|
: definition-icon-path ( string -- string' )
|
||||||
"vocab:definitions/icons/" prepend-path ".tiff" append ;
|
"vocab:definitions/icons/" prepend-path ".png" append ;
|
||||||
|
|
||||||
<<
|
<<
|
||||||
|
|
||||||
|
|
After Width: | Height: | Size: 584 B |
After Width: | Height: | Size: 543 B |
After Width: | Height: | Size: 875 B |
After Width: | Height: | Size: 662 B |
After Width: | Height: | Size: 574 B |
After Width: | Height: | Size: 751 B |
After Width: | Height: | Size: 548 B |
After Width: | Height: | Size: 795 B |
After Width: | Height: | Size: 758 B |
|
@ -2,7 +2,7 @@
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: namespaces cache images images.loader accessors assocs
|
USING: namespaces cache images images.loader accessors assocs
|
||||||
kernel opengl opengl.gl opengl.textures ui.gadgets.worlds
|
kernel opengl opengl.gl opengl.textures ui.gadgets.worlds
|
||||||
memoize images.tiff ;
|
memoize images.tiff images.png ;
|
||||||
IN: ui.images
|
IN: ui.images
|
||||||
|
|
||||||
TUPLE: image-name path ;
|
TUPLE: image-name path ;
|
||||||
|
|