- changed title to [ePicLoad] setPara() forces pixmap load border fill to transparent
- edited description
[ePicLoad] setPara() forces pixmap load border fill to transparent
Issue #542
resolved
In ePicLoad::setPara()
:
if(bg_str[0] == '#' && strlen(bg_str)==9)
m_conf.background = strtoul(bg_str+1, NULL, 16) | 0xFF000000;
The code demands that the caller specifies an alpha value for the background colour (strlen(bg_str)==9
forces the user to specify the colour as "#AARRGGBB"
), but then overrides the user value for the background alpha with 0xFF, for fully transparent. There doesn't seem to be a good reason for this.
It should allow the caller's alpha plane value to stand.
Comments (3)
-
reporter -
reporter - marked as minor
-
- changed status to resolved
Fix bug
#542: [ePicLoad] setPara() forces pixmap load border fill to transparentStop forcing full transparency on the "background" argument to ePicLoad::setPara().
→ <<cset d5c59f531215>>
- Log in to comment