ui.backend.gtk: hi-res icon awesomeness

locals-and-roots
Björn Lindqvist 2016-06-17 01:10:21 +02:00
parent d16e4272b2
commit 2c8b2d9bf5
2 changed files with 2 additions and 2 deletions

View File

@ -8,6 +8,6 @@ CONSTANT: get-icon-data
$[
deploy-vocab get
dup vocab-dir "icon.png" append-path vocab-append-path
[ exists? ] keep "resource:misc/icons/Factor_48x48.png" ?
[ exists? ] keep "resource:misc/icons/Factor_128x128.png" ?
binary file-contents
]

View File

@ -219,7 +219,7 @@ CONSTANT: action-key-codes
! in the docs and tools.deploy.shaker.gtk-icon
: get-icon-data ( -- byte-array/f )
[
"resource:misc/icons/Factor_48x48.png" binary file-contents
"resource:misc/icons/Factor_128x128.png" binary file-contents
] [ drop f ] recover ;
: load-icon ( -- )