mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
fix reading of xpm files with opaque color
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@4651 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6ae0dfb09f
commit
19ffdc60dc
@ -1,3 +1,7 @@
|
||||
2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* GraphicsImageXPM.C (setPixmap): opaque color is black, not white
|
||||
|
||||
2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* GraphicsImageXPM.C (color_none_id):
|
||||
|
@ -204,7 +204,7 @@ bool GImageXPM::setPixmap(GParams const & params)
|
||||
// some image magick versions use this
|
||||
xpm_col[1].name = 0;
|
||||
xpm_col[1].value = "opaque";
|
||||
xpm_col[1].pixel = lyxColorHandler->colorPixel(LColor::white);
|
||||
xpm_col[1].pixel = lyxColorHandler->colorPixel(LColor::black);
|
||||
|
||||
attrib.numsymbols = 2;
|
||||
attrib.colorsymbols = xpm_col;
|
||||
|
Loading…
Reference in New Issue
Block a user