summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2007-06-29 03:20:58 (GMT)
committerdas <das>2007-06-29 03:20:58 (GMT)
commitbebeb7fa1104cbd7384ebb725235542228b06b21 (patch)
treedb4d1521032510f45f3c14bf1c8678edba77daba
parent906337cc23867860eddecd0d9e875e45102df910 (diff)
downloadtk-bebeb7fa1104cbd7384ebb725235542228b06b21.zip
tk-bebeb7fa1104cbd7384ebb725235542228b06b21.tar.gz
tk-bebeb7fa1104cbd7384ebb725235542228b06b21.tar.bz2
* xlib/ximage.c: bitmaps created from the static .bmp
arrays always have LSBFirst bit order.
-rw-r--r--xlib/ximage.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xlib/ximage.c b/xlib/ximage.c
index c869332..9087a0f 100644
--- a/xlib/ximage.c
+++ b/xlib/ximage.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: ximage.c,v 1.4.8.2 2007/06/23 00:26:42 das Exp $
+ * RCS: @(#) $Id: ximage.c,v 1.4.8.3 2007/06/29 03:20:58 das Exp $
*/
#include "tkInt.h"
@@ -54,6 +54,8 @@ XCreateBitmapFromData(display, d, data, width, height)
}
ximage = XCreateImage(display, NULL, 1, XYBitmap, 0, (char*) data, width,
height, 8, (width + 7) / 8);
+ ximage->bitmap_bit_order = LSBFirst;
+ _XInitImageFuncPtrs(ximage);
TkPutImage(NULL, 0, display, pix, gc, ximage, 0, 0, 0, 0, width, height);
ximage->data = NULL;
XDestroyImage(ximage);
/option> Tcl is a high-level, general-purpose, interpreted, dynamic programming language. It was designed with the goal of being very simple but powerful.
summaryrefslogtreecommitdiffstats
path: root/generic/tclZipfs.c
Commit message (Expand)AuthorAgeFilesLines
* Merge 9.0jan.nijtmans2022-03-181-2/+1
|\
| * Eliminate usage of TCL_ENCODING_STOPONERROR flag, since in Tcl 9.0 is has no ...jan.nijtmans2022-03-171-2/+1
| |\
* | \ Revert previous commit (doesn't work) and merge 9.0jan.nijtmans2022-03-101-12/+6
|\ \ \ | |/ /
| * | Enhance internal "struct CoroutineData" such that it can handle more than 2^3...jan.nijtmans2022-03-101-12/+6
* | | Merge 9.0jan.nijtmans2022-02-101-1/+1
|\ \ \ | |/ /
| * | Merge 8.7jan.nijtmans2022-02-101-1/+1
| |\ \ | | |/
| | * Merge 8.6jan.nijtmans2022-02-101-1/+1
* | | change signature for Tcl_DictObjPutKeyList and Tcl_DictObjRemoveKeyList toojan.nijtmans2022-01-241-3/+3
* | | TIP #616: Tcl lists > 2^31 elements. WIPjan.nijtmans2022-01-241-1/+1
|/ /
* | Merge 8.7jan.nijtmans2022-01-091-42/+64
|\ \ | |/
| * Fix [0386e9a967]: Bitrot in tclZlib.cjan.nijtmans2022-01-071-42/+64
| * Merge 8.7jan.nijtmans2021-11-081-21/+26
| |\
| * \ Merge 8.7jan.nijtmans2021-09-241-1/+1
| |\ \
| * \ \ Merge 8.7jan.nijtmans2021-06-251-0/+10
| |\ \ \
| * \ \ \ Merge 8.7. Add "ilp32" build flagjan.nijtmans2021-05-261-3/+41
| |\ \ \ \
| * \ \ \ \ Merge 8.7 Signature change for Tcl_SetPanicProc() and Tcl_FindExecutable()jan.nijtmans2021-04-281-17/+10
| |\ \ \ \ \
| * \ \ \ \ \ Merge 8.7jan.nijtmans2021-04-141-1014/+1955
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge 8.7. Undo 2 unnecessary signature changesjan.nijtmans2021-02-281-3/+3
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2021-02-241-3/+3
| |\ \ \ \ \ \ \ \ | | |/ / / / / / /
| * | | | | | | | Merge 8.7. Change more functions signatures to return the Tcl full version nu...jan.nijtmans2021-02-241-35/+24
| |\ \ \ \ \ \ \ \
* | | | | | | | | | Dodge a few macro games.dgp2021-11-071-1/+1
* | | | | | | | | | Repair faulty conflict resolution from some time back.dgp2021-11-061-2/+2
* | | | | | | | | | merge trunkdgp2021-11-061-16/+7
|\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2021-11-061-16/+7
| |\ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|/ | | |/| | | | | | | |
| | * | | | | | | | | Eliminate unused variables/function-argumentsjan.nijtmans2021-11-061-16/+7
* | | | | | | | | | | merge trunkdgp2021-11-051-28/+22
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / /
| * | | | | | | | | | Merge 8.7griffin2021-11-041-8/+22
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / /
| | * | | | | | | | | These record locations are not relative offsets, but rather absolute locations.griffin2021-10-241-2/+2
| | * | | | | | | | | Remove unnecessary changegriffin2021-10-131-16/+0
| | * | | | | | | | | Corrected offset calculationsgriffin2021-10-131-16/+18
| | * | | | | | | | | Patch to fix zipfs mkimg bug.griffin2021-08-311-1/+29
| | | |_|_|_|_|_|_|/ | | |/| | | | | | |
| * | | | | | | | | We can now assume that TCL_MAJOR_VERSION == 9jan.nijtmans2021-10-191-20/+0
* | | | | | | | | | Merge trunkdgp2021-08-231-1/+1
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / /
| * | | | | | | | | Merge 8.7jan.nijtmans2021-08-161-1/+1
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / /
| | * | | | | | | | Make tclZipfs.c compilable with a C++ compilerjan.nijtmans2021-08-151-1/+1
| | | |_|_|_|_|_|/ | | |/| | | | | |
* | | | | | | | | merge trunkdgp2021-07-191-0/+10
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Merge 8.7jan.nijtmans2021-06-191-1/+1
| |\ \ \ \ \ \ \ \ | | |/ / / / / / /
| | * | | | | | | Fix windows build failure, caused by [f8608fc420]jan.nijtmans2021-06-191-1/+1
| * | | | | | | | Merge 8.7jan.nijtmans2021-06-18