Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

background-Color during caching 6 years 2 months ago #13494

  • apait
  • apait's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 50
  • Thank you received: 0
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
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

Please Log in or Create an account to join the conversation.

background-Color during caching 6 years 2 months ago #13495

  • apait
  • apait's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 50
  • Thank you received: 0
okay. found it myself 10 minutes after posting...

In VThread there is a new method Draw where you could set your color
ms_paint.setColor(Global.backgroundColorForCache);

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum