Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

background-Color during caching

More
IP: 192.168.0.71 8 years 3 weeks ago #13494 by apait
Hello,
I just upgraded to v3.15.

Before that i could change the background-color during rendering-mode to transparent. I did this in VCache
Code:
final protected void vDraw(BMP bmp, int x, int y) { if( m_render && m_dib != null ) m_dib.DrawToBmp(bmp, x, y); else bmp.DrawRect(Global.backgroundColorForCache, x, y, m_w, m_h, 1); }

That's not working anymore. Could you tell me what you changed and how I could achieve this again?

Thanks,
Lukas
More
IP: 192.168.0.71 8 years 3 weeks ago #13495 by apait
okay. found it myself 10 minutes after posting...

In VThread there is a new method Draw where you could set your color
Code:
ms_paint.setColor(Global.backgroundColorForCache);
Time to create page: 0.422 seconds
Powered by Kunena Forum