To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=41225 Issue #:|41225 Summary:|hack to theme WM icon ... Component:|gsl Version:|680m72 Platform:|Other URL:| OS/Version:|Linux Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|pl Reported by:|mmeeks
------- Additional comments from [EMAIL PROTECTED] Mon Jan 24 09:44:29 -0800 2005 ------- So - as you know, I've always been aghast at this code, and - needing it to be themed myself, I thought I'd switch some of the existing hacks for some different ones :-) The attached patch - works only on unix - it leaves the old / magic number setting in parallel with the new BitmapEx sequence setting. With the gtk+ backend it results in themable alpha-transparent WM icons. Of course - I have a number of questions: Are the svtools/ icons deprecated ? Is there a better API to do this - really, I'd prefer to have a MIME/Type string somewhere rather than this ugly enumeration exposed as magic numbers via. UNO properties ;-) Also - of course, to have any hope of going up-stream, I guess it'd need a Win32 & also a plain-unix equivalent - which, as yet, I havn't got anywhere near looking at. Perhaps it's easy to turn a BitmapEx on Win32 to an HICON, similarly one might imagine the X backend would be quite easy to convert a Bitmap to a Pixmap & mask. May be best to have a platform-conditional to do depth etc. conversion to something friendly to the backend in SystemWindow::SetIcon, I have no idea. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]