Wiki

Clone wiki

unrealspeccyp / build_symbian_s60v3_nokia_E6

The symbian build notes are for S60 3rd Edition FP2, but this version will work on the Nokia E6 also (there is a warning during installation about compatibility). Because 3rd Ed phones had 320x240 screens, the image will show up at this resolution in the centre of the E6's 640x480 screen. There is a simple change to scale this up so that the whole screen is used - edit symbian.cpp and find the call to BitBlt. Change this call to use DrawBitmap instead - this function allows for a scaling factor.

So within the TDCControl::Draw function, comment out the BitBlt call and add two lines:-

#!c++

//              gc.BitBlt(TPoint(dx/2, dy/2), bitmap, rb);
                TRect rc(0, 0, h ? 640 : 480, h ? 480 : 640);
                gc.DrawBitmap(rc, bitmap, rb);

Updated