[Tix-developers] Re: [tix] Re: Developer's release - USE_OLD_IMAGE
Brought to you by:
idiscovery,
mikeclarkson
|
From: Mike C. <su...@in...> - 2000-10-23 21:32:41
|
At 04:43 PM 10/19/00 -0000, you wrote: >It is my opinion that 8.1.0 still needs work, as I do not believe >that I can see the needed code to handle the Tk version dependancy of >the image interface, but perhaps I missed that. You can check it out >with the demo suite by trying the ExFileSelect demo. If it works with >all versions of Tk (8.1 + ) then you are OK. It seems to work, but the code should be modified to use USE_OLD_IMAGE I put the following in tix-8.1.0/generic/tixImgCmp.c that ensures USE_OLD_IMAGE is at least defined: /* Should use USE_OLD_IMAGE ImgCmpCreate */ #if (TCL_MAJOR_VERSION <= 7) # define USE_OLD_IMAGE #else # if ((TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION <= 2)) # define USE_OLD_IMAGE # endif /* Otherwise use tk.h's definition */ #endif Someone is working on this, but if anyone else has a patch for this that works for 8.0 8.1 and 8.2, I'd love to know about it. Mike. -------------------------- eGroups Sponsor -------------------------~-~> eGroups eLerts It's Easy. It's Fun. Best of All, it's Free! http://click.egroups.com/1/9698/9/_/17156/_/972336733/ ---------------------------------------------------------------------_-> |