Fixed opacity issues
This commit is contained in:
committed by
Raphael Coeffic
parent
f1be9157ae
commit
11c9c7dc33
@@ -50,7 +50,7 @@ void FullScreenDialog::paint(BitmapBuffer * dc)
|
|||||||
{
|
{
|
||||||
OpenTxTheme::instance()->drawBackground(dc);
|
OpenTxTheme::instance()->drawBackground(dc);
|
||||||
|
|
||||||
dc->drawFilledRect(0, ALERT_FRAME_TOP, LCD_W, ALERT_FRAME_HEIGHT, SOLID, FOCUS_COLOR | OPACITY(8));
|
dc->drawFilledRect(0, ALERT_FRAME_TOP, LCD_W, ALERT_FRAME_HEIGHT, SOLID, FOCUS_COLOR, OPACITY(8));
|
||||||
|
|
||||||
if (type == WARNING_TYPE_ALERT || type == WARNING_TYPE_ASTERISK)
|
if (type == WARNING_TYPE_ALERT || type == WARNING_TYPE_ASTERISK)
|
||||||
dc->drawBitmap(ALERT_BITMAP_LEFT, ALERT_BITMAP_TOP, OpenTxTheme::instance()->asterisk);
|
dc->drawBitmap(ALERT_BITMAP_LEFT, ALERT_BITMAP_TOP, OpenTxTheme::instance()->asterisk);
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ class ModelBitmapWidget: public Widget
|
|||||||
// big space to draw
|
// big space to draw
|
||||||
if (rect.h >= 96 && rect.w >= 120) {
|
if (rect.h >= 96 && rect.w >= 120) {
|
||||||
|
|
||||||
dc->drawFilledRect(0, 0, rect.w, rect.h, SOLID, MAINVIEW_PANES_COLOR | OPACITY(5));
|
dc->drawFilledRect(0, 0, rect.w, rect.h, SOLID, MAINVIEW_PANES_COLOR, OPACITY(5));
|
||||||
|
|
||||||
auto iconMask = theme->getIconMask(ICON_MODEL);
|
auto iconMask = theme->getIconMask(ICON_MODEL);
|
||||||
if (iconMask) {
|
if (iconMask) {
|
||||||
|
|||||||
Reference in New Issue
Block a user