This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Xconq for Windows


>The theory of having x11/xconq.c was to provide a way to stitch everything
>that had to be X11-specific into the tcl/tk interface, without having to
>conditionalize all the tcl/tk bits internally.  Originally the tcl/tk
>dir was supposed to contain only platform-independent code.

Yes, I can see the logic. But when I added the MacTCL interface, the tcltk
directory seemed like a more logical place to put tkmac.c and tkmac.r than
the mac directory, which contains a completely different interface. I'm
sure that some people trying to build the MacPPC app would have included
them in their project otherwise.

Perhaps the best solution would be what the tcltk people did themselves,
i.e. to put the platform-specific code in separate mac, win and unix
directories within the tcltk folder? That would organize things nicely, and
make it obvious what interface these files belong to. It's pretty much how
the SDL sources are organized, too.

Hans



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]