mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 20:50:48 +00:00
Correct serious nib loading bug on big endian machines.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30472 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c63d0d7f02
commit
10c98c9b2f
6 changed files with 15 additions and 5 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2010-05-29 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||||
|
|
||||||
|
* Headers/Additions/GNUstepGUI/GSNibLoading.h:
|
||||||
|
* Source/NSButtonCell.m:
|
||||||
|
* Source/NSMatrix.m:
|
||||||
|
* Source/NSScrollView.m:
|
||||||
|
* Source/NSTableView.m: Correct serious nib loading bug on big
|
||||||
|
endian machines by testing GS_WORDS_BIGENDIAN instead of
|
||||||
|
WORDS_BIGENDIAN.
|
||||||
|
|
||||||
2010-05-29 01:34-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
2010-05-29 01:34-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
* Source/GSXibLoader.m: Took out interface definitions and moved them.
|
* Source/GSXibLoader.m: Took out interface definitions and moved them.
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
|
|
||||||
typedef struct _GSWindowTemplateFlags
|
typedef struct _GSWindowTemplateFlags
|
||||||
{
|
{
|
||||||
#ifdef WORDS_BIGENDIAN
|
#if GS_WORDS_BIGENDIAN == 1
|
||||||
unsigned int isHiddenOnDeactivate:1;
|
unsigned int isHiddenOnDeactivate:1;
|
||||||
unsigned int isNotReleasedOnClose:1;
|
unsigned int isNotReleasedOnClose:1;
|
||||||
unsigned int isDeferred:1;
|
unsigned int isDeferred:1;
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
|
|
||||||
typedef struct _GSButtonCellFlags
|
typedef struct _GSButtonCellFlags
|
||||||
{
|
{
|
||||||
#ifdef WORDS_BIGENDIAN
|
#if GS_WORDS_BIGENDIAN == 1
|
||||||
unsigned int isPushin:1;
|
unsigned int isPushin:1;
|
||||||
unsigned int changeContents:1;
|
unsigned int changeContents:1;
|
||||||
unsigned int changeBackground:1;
|
unsigned int changeBackground:1;
|
||||||
|
|
|
@ -125,7 +125,7 @@ typedef struct {
|
||||||
} MRect;
|
} MRect;
|
||||||
|
|
||||||
typedef struct _GSMatrixFlags {
|
typedef struct _GSMatrixFlags {
|
||||||
#ifdef WORDS_BIGENDIAN
|
#if GS_WORDS_BIGENDIAN == 1
|
||||||
unsigned int isHighlight:1;
|
unsigned int isHighlight:1;
|
||||||
unsigned int isRadio:1;
|
unsigned int isRadio:1;
|
||||||
unsigned int isList:1;
|
unsigned int isList:1;
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
//
|
//
|
||||||
typedef struct _scrollViewFlags
|
typedef struct _scrollViewFlags
|
||||||
{
|
{
|
||||||
#ifdef WORDS_BIGENDIAN
|
#if GS_WORDS_BIGENDIAN == 1
|
||||||
unsigned int __unused6:14;
|
unsigned int __unused6:14;
|
||||||
unsigned int __unused5:1;
|
unsigned int __unused5:1;
|
||||||
unsigned int autohidesScrollers:1;
|
unsigned int autohidesScrollers:1;
|
||||||
|
|
|
@ -86,7 +86,7 @@ static unsigned currentDragOperation;
|
||||||
*/
|
*/
|
||||||
typedef struct _tableViewFlags
|
typedef struct _tableViewFlags
|
||||||
{
|
{
|
||||||
#ifdef WORDS_BIGENDIAN
|
#if GS_WORDS_BIGENDIAN == 1
|
||||||
unsigned int columnOrdering:1;
|
unsigned int columnOrdering:1;
|
||||||
unsigned int columnResizing:1;
|
unsigned int columnResizing:1;
|
||||||
unsigned int drawsGrid:1;
|
unsigned int drawsGrid:1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue