[Igarden-commit] CommonSource/YAAFExtensions RGPaletteView.cpp, 1.3, 1.3.2.1
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2006-11-26 01:17:45
|
Update of /cvsroot/igarden/CommonSource/YAAFExtensions In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv4830 Modified Files: Tag: Release_branch_v1 RGPaletteView.cpp Log Message: Little-endian changes Index: RGPaletteView.cpp =================================================================== RCS file: /cvsroot/igarden/CommonSource/YAAFExtensions/RGPaletteView.cpp,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** RGPaletteView.cpp 2 Feb 2006 00:08:54 -0000 1.3 --- RGPaletteView.cpp 26 Nov 2006 01:17:43 -0000 1.3.2.1 *************** *** 48,57 **** const int kButtonBorder = 2; ! using yaaf::XGBroadcast; ! using yaaf::XGWindow; ! using yaaf::XGToolTip; ! using yaaf::XGSMenuStatus; ! using yaaf::Color; ! /************************************************************************/ --- 48,52 ---- const int kButtonBorder = 2; ! using namespace yaaf; /************************************************************************/ *************** *** 138,144 **** --- 133,146 ---- count = fToolbar.GetShort(0); fToolbar.SetShort(0, count+1); + //** + icon = NSwapWord(icon); fToolbar.Append(2, &icon); + //** + commandID = NSwapWord(commandID); fToolbar.Append(2, &commandID); + //** + enabled = NSwapWord(enabled); fToolbar.Append(2, &enabled); + //** fToolbar.Append(strlen(tooltip)+1, tooltip); |