diff options
author | hobbs <hobbs> | 1999-10-29 03:57:55 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 1999-10-29 03:57:55 (GMT) |
commit | 8e52a87a0be5a9969812bdd4c5439688cc5cc9fc (patch) | |
tree | 71b94aa4df21cf83d8b4dfaeff16f8c4d6d9bd30 /generic/tkWindow.c | |
parent | 62b72b828e6c010209ab75d9d8507adf8f7d6836 (diff) | |
download | tk-8e52a87a0be5a9969812bdd4c5439688cc5cc9fc.zip tk-8e52a87a0be5a9969812bdd4c5439688cc5cc9fc.tar.gz tk-8e52a87a0be5a9969812bdd4c5439688cc5cc9fc.tar.bz2 |
* generic/tk.h:
* generic/tkCmds.c:
* generic/tkImage.c:
* generic/tkImgBmap.c:
* generic/tkImgGIF.c:
* generic/tkImgPPM.c:
* generic/tkImgPhoto.c:
* generic/tkInt.h:
* generic/tkTest.c:
* generic/tkWindow.c:
* tests/imgPhoto.test: added Img patch (Nijtmans) with docs,
headers #def'd with USE_OLD_IMAGE. Upgrades image stuff to
Tcl_Obj API, adds alpha channel (images are now 32 bpp)
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r-- | generic/tkWindow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index df15d65..20674ba 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWindow.c,v 1.9 1999/09/21 06:42:30 hobbs Exp $ + * RCS: @(#) $Id: tkWindow.c,v 1.10 1999/10/29 03:57:57 hobbs Exp $ */ #include "tkPort.h" @@ -107,7 +107,7 @@ static TkCmd commands[] = { {"font", NULL, Tk_FontObjCmd, 1, 1}, {"grab", Tk_GrabCmd, NULL, 0, 1}, {"grid", Tk_GridCmd, NULL, 1, 1}, - {"image", Tk_ImageCmd, NULL, 1, 1}, + {"image", NULL, Tk_ImageObjCmd, 1, 1}, {"lower", Tk_LowerCmd, NULL, 1, 1}, {"option", Tk_OptionCmd, NULL, 1, 1}, {"pack", Tk_PackCmd, NULL, 1, 1}, @@ -268,7 +268,7 @@ CreateTopLevelWindow(interp, parent, name, screenName) */ Tk_CreatePhotoImageFormat(&tkImgFmtGIF); - Tk_CreatePhotoImageFormat(&tkImgFmtPPM); + Tk_CreateOldPhotoImageFormat(&tkImgFmtPPM); /* * Create exit handler to delete all windows when the application |