Issue #2920 Fix default color of BOXED text.
Former-commit-id:ee99dba933
[formerly60479824d1
] [formerly87ea43cf0d
] [formerly9d4c33ba91
[formerly87ea43cf0d
[formerly 59f12cd4cc60f0908c106cbc0572d3f84d0d509b]]] Former-commit-id:9d4c33ba91
Former-commit-id: faee1aa6dd05debf6ff2f60a54d18fa91ba9f91e [formerly199a2df79e
] Former-commit-id:082a5c515d
This commit is contained in:
parent
69e7cfa1ed
commit
ad64b8b197
1 changed files with 2 additions and 2 deletions
|
@ -144,6 +144,7 @@ import com.sun.opengl.util.j2d.TextRenderer;
|
||||||
* if changed
|
* if changed
|
||||||
* Apr 04, 2014 2920 bsteffen Allow strings to use mulitple styles.
|
* Apr 04, 2014 2920 bsteffen Allow strings to use mulitple styles.
|
||||||
* Apr 08, 2014 2950 bsteffen Reduce oversized colormaps.
|
* Apr 08, 2014 2950 bsteffen Reduce oversized colormaps.
|
||||||
|
* May 08, 2014 2920 bsteffen Fix default color of BOXED text.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -1956,8 +1957,7 @@ public class GLTarget extends AbstractGraphicsTarget implements IGLTarget {
|
||||||
gl.glColor4d(dString.boxColor.red / 255.0,
|
gl.glColor4d(dString.boxColor.red / 255.0,
|
||||||
dString.boxColor.green / 255.0,
|
dString.boxColor.green / 255.0,
|
||||||
dString.boxColor.blue / 255.0, alpha);
|
dString.boxColor.blue / 255.0, alpha);
|
||||||
}
|
} else {
|
||||||
if (blanked) {
|
|
||||||
gl.glColor4d(backgroundColor.red / 255.0,
|
gl.glColor4d(backgroundColor.red / 255.0,
|
||||||
backgroundColor.green / 255.0,
|
backgroundColor.green / 255.0,
|
||||||
backgroundColor.blue / 255.0, alpha);
|
backgroundColor.blue / 255.0, alpha);
|
||||||
|
|
Loading…
Add table
Reference in a new issue