aboutsummaryrefslogtreecommitdiff
path: root/ospicture.dcl
diff options
context:
space:
mode:
authorCamil Staps2015-08-24 01:28:28 +0200
committerCamil Staps2015-08-24 01:28:28 +0200
commit447c0f0d09cd8a5555ee8f4b199f0de7013ed304 (patch)
tree9e35a9347e139c55c325954bf252916f9576a4af /ospicture.dcl
parentImplemented GETCLIPBOARDCOUNT; fix C warning (diff)
Ugly hack to get winCreateBitmap to work
Typically, we would do this with gdk_pixbuf_from_file(). However, the openBitmap function from StdBitmap only gives us a *File, not the file name. So, we cannot read from the file itself directly. Therefore, we now create a temporary file with the same content and read from there. Ideally, StdBitmap would be edited to pass both a *File and a !{#Char} with the file name (or just the latter, and let osbitmap decide what to do with it).
Diffstat (limited to 'ospicture.dcl')
0 files changed, 0 insertions, 0 deletions