From: <bal...@us...> - 2003-11-03 20:47:13
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/Core In directory sc8-pr-cvs1:/tmp/cvs-serv28073/gemrb/plugins/Core Modified Files: Button.cpp Log Message: Corrections: Changed the text offset on Pressed button to 2 instead of 3; Selected buttons with text now have text offset Index: Button.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/Button.cpp,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** Button.cpp 2 Nov 2003 14:20:11 -0000 1.28 --- Button.cpp 3 Nov 2003 20:47:10 -0000 1.29 *************** *** 147,152 **** core->GetVideoDriver()->BlitSprite(Pressed, x+XPos, y+YPos, true); //shift the writing a bit ! x+=3; ! y+=3; } break; --- 147,152 ---- core->GetVideoDriver()->BlitSprite(Pressed, x+XPos, y+YPos, true); //shift the writing a bit ! x+=2; ! y+=2; } break; *************** *** 158,161 **** --- 158,163 ---- else if(Unpressed) core->GetVideoDriver()->BlitSprite(Unpressed, x+XPos, y+YPos, true); + x+=2; + y+=2; } break; |