From: Donal K. F. <fel...@cs...> - 2000-09-06 17:34:43
|
I propose that the patch referred to in in bug-database ticket 5947 be applied to Tk (or at least an equivalent version updated to the current CVS version, obviously!) The relevant details of the behaviour of the patch are visible at: http://dev.scriptics.com/ticket/issue-view.tcl?msg_id=5947 To summarise, it gives access (via tkInt.h/stubs) to the transparency data contained within photo images, which is currently stored in a private field of a structure that is only defined within a single file (generic/tkImgPhoto.c FYI) which will make writing code that uses that sort of thing possible (most notably, it will make doing interesting things with shaped windows much easier, as is particularly useful with tkdnd <URL: http://www.deja.com/getdoc.xp?AN=666304100 >.) It also should not break any existing code at all. I accept that a more complete interface to the transparency data would be nice, but let's do one thing at a time... :^) Donal. -- Donal K. Fellows, Department of Computer Science, University of Manchester, UK. (work) fel...@cs... Tel: +44-161-275-6137 (preferred email addr.) (home) do...@ug... Tel: +44-1274-401017 Mobile: +44-7957-298955 http://www.cs.man.ac.uk/~fellowsd/ (Don't quote my .sig; I've seen it before!) -- The TclCore mailing list is sponsored by Ajuba Solutions To unsubscribe: email tcl...@aj... with the word UNSUBSCRIBE as the subject. |