diff options
author | hobbs <hobbs> | 2004-10-05 22:04:42 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2004-10-05 22:04:42 (GMT) |
commit | f2f61eac6e4030eb8c326fb3f24e9a78d57dc22a (patch) | |
tree | 711905ead95768432f1777f0620b4b4b9b9a029d /generic | |
parent | bdbbd44f5ecfdef44242a059886d3ee31a840af3 (diff) | |
download | tk-f2f61eac6e4030eb8c326fb3f24e9a78d57dc22a.zip tk-f2f61eac6e4030eb8c326fb3f24e9a78d57dc22a.tar.gz tk-f2f61eac6e4030eb8c326fb3f24e9a78d57dc22a.tar.bz2 |
* doc/wm.n (iconphoto): added support for Tk photo
* generic/tkInt.h (TkDisplay): images as titlebar icons. TIP #159
* win/tkWinWm.c (WmIconphotoCmd): wm iconphoto ?-default? image1 ...
* macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix,
* unix/tkUnixWm.c (WmIconphotoCmd): stubbed out for OS X.
* tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751]
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkInt.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h index b7bc84a..4909404 100644 --- a/generic/tkInt.h +++ b/generic/tkInt.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: $Id: tkInt.h,v 1.62 2004/07/05 21:21:52 dkf Exp $ + * RCS: $Id: tkInt.h,v 1.63 2004/10/05 22:04:44 hobbs Exp $ */ #ifndef _TKINT @@ -506,6 +506,9 @@ typedef struct TkDisplay { * defined in below. */ TkCaret caret; /* information about the caret for this * display. This is not a pointer. */ + + int iconDataSize; /* size of default iconphoto image data */ + unsigned char *iconDataPtr; /* default iconphoto image data, if set */ } TkDisplay; /* |