ILI9341 bug?

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

keithh534
Posts: 54
Joined: Thu Nov 23, 2017 12:21 am
Has thanked: 15 times
Been thanked: 12 times
Contact:

ILI9341 bug?

Postby keithh534 » Fri Jan 19, 2018 1:41 am

The 'SetBackgroundColour' method doesn't appear to function.
Attachments
ILI9341.fcfx
(8.51 KiB) Downloaded 20 times

User avatar
LeighM
Matrix Staff
Posts: 1864
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 436 times
Been thanked: 621 times
Contact:

Re: ILI9341 bug?

Postby LeighM » Fri Jan 19, 2018 3:58 pm

Hi,
This was answered in
viewtopic.php?f=64&t=19745

text output with transparency off, which demonstrates how the new background colour is drawn.
Any change to background colour is only visible on the next draw, the existing background pixels do not change until then.


In other words, the 'SetBackgroundColour' only changes the background drawing colour,
to be actioned on the next drawing function,
it does not have any affect on the current screen pixels.

The screen does not actually have a background as such, it's just what colour the pixel was drawn with, foreground or background colour.
These users thanked the author LeighM for the post:
keithh534 (Sun Feb 25, 2018 6:06 pm)
Rating: 5.26%