Re: Dia 0.85 Win32 patch
On Wed, 24 May 2000, Hans Breuer wrote: Dia 0.85 for Win32 will be available at http://www.hans.breuer.org/dia within in the next hours. The required patch to compile it is attached. Pseudo-ChangeLog-Entry follows: * app/disp_callbacks.c: add a modifier (ctrl) to get the middle mouse button menu even with a two button mouse * dia_image.[ch]: resolve naming conflict with typedef struct DiaImage *DiaImage, which bites me with a new plug-in written in c++ * lib/font.c: explicit usage of "courier new" on Win32 to get the scalable version of this font family. This fixes the font resizeing with uml diagrams (There must be a better way to do this?) Don't use the preallocated color_gdk_white.pixel for font rendering bitmaps but use 1 as the color index. This fixes the black on black fonts while exporting png. Okay, I just applied the patch. It is good to see that the patches are getting smaller :) With the last problem, it is just by chance that it actually worked under X. The color_gdk_white and color_gdk_black GdkColor's were created under the default colormap, while the pixmap we are using for the font sucking is a one bit pixmap. Pixel values are not portable across colormaps. So I fixed this problem by hard coding the pixel values to 0 and 1. Have Fun, Hans James. -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/
Re: Dia 0.85 Win32 patch
On Wed, 24 May 2000, [EMAIL PROTECTED] wrote: At 12:29 24.05.00 -0500, Lars Clausen wrote: On Wed, 24 May 2000, [EMAIL PROTECTED] wrote: --=_959165802==_ Content-Type: text/plain; charset="us-ascii" Dia 0.85 for Win32 will be available at http://www.hans.breuer.org/dia within in the next hours. The required patch to compile it is attached. Pseudo-ChangeLog-Entry follows: * app/disp_callbacks.c: add a modifier (ctrl) to get the middle mouse button menu even with a two button mouse Uh, that's not a good choice. Ctrl is already in use to restrict movement to horizontal/vertical. I should have told it is in combination with the Right Mouse Button. Oh, that's fine then. -Lars -- Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause) | HÃ¥rdgrim of Numenor "I do not agree with a word that you say, but I| Retainer of Sir Kegg will defend to the death your right to say it."| of Westfield --Evelyn Beatrice Hall paraphrasing Voltaire | Chaos Berserker of Khorne