opentx / opentx

OpenTX custom firmware for Transmitters
GNU General Public License v2.0
2.07k stars 804 forks source link

LUA - How to clear a portion of the screen ? #1795

Closed Sacre100 closed 10 years ago

Sacre100 commented 10 years ago

It's probably not an issue but I didn't find the way to clear a portion of a screen.

I try the function lcd.drawFilledRectangle but didn't find the correct parameter to obtain a white rectangle.

bsongis commented 10 years ago

You need the ERASE attribute with SOLID as a pattern. You shouldn't use gitthub for this kind of question! Here are discussed issues.

Sacre100 commented 10 years ago

Merci et désolé.