Imported GNU Classpath 0.20
Imported GNU Classpath 0.20
* Makefile.am (AM_CPPFLAGS): Add classpath/include.
* java/nio/charset/spi/CharsetProvider.java: New override file.
* java/security/Security.java: Likewise.
* sources.am: Regenerated.
* Makefile.in: Likewise.
From-SVN: r109831
This commit is contained in:
@@ -180,11 +180,14 @@ public class GdkGraphics2D extends Graphics2D
|
||||
else
|
||||
fg = new Color(g.fg.getRGB());
|
||||
|
||||
if (g.bg.getAlpha() != -1)
|
||||
bg = new Color(g.bg.getRed(), g.bg.getGreen(), g.bg.getBlue(),
|
||||
g.bg.getAlpha());
|
||||
else
|
||||
bg = new Color(g.bg.getRGB());
|
||||
if (g.bg != null)
|
||||
{
|
||||
if (g.bg.getAlpha() != -1)
|
||||
bg = new Color(g.bg.getRed(), g.bg.getGreen(), g.bg.getBlue(),
|
||||
g.bg.getAlpha());
|
||||
else
|
||||
bg = new Color(g.bg.getRGB());
|
||||
}
|
||||
|
||||
if (g.clip == null)
|
||||
clip = null;
|
||||
@@ -1088,6 +1091,8 @@ public class GdkGraphics2D extends Graphics2D
|
||||
|
||||
public void setBackground(Color c)
|
||||
{
|
||||
if (c == null)
|
||||
c = Color.WHITE;
|
||||
bg = c;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user