Revision 39501 branches/v2_0_0_prep/libraries/org.gvsig.annotation/org.gvsig.annotation.swing/org.gvsig.annotation.swing.impl/src/main/java/org/gvsig/annotation/swing/impl/DefaultJAnnotationPreferencesPanel.java
DefaultJAnnotationPreferencesPanel.java | ||
---|---|---|
273 | 273 |
} |
274 | 274 |
|
275 | 275 |
public int getDefaultFontColor() { |
276 |
return getColorChooser().getColor().getRGB(); |
|
276 |
Color col = getColorChooser().getColor(); |
|
277 |
int resp = (col.getAlpha() << 24) | col.getRGB(); |
|
278 |
// resp = resp + ; |
|
279 |
return resp; |
|
277 | 280 |
} |
278 | 281 |
|
279 | 282 |
public void setDefaultFontColor(int color) { |
280 |
getColorChooser().setColor(new Color(color)); |
|
283 |
getColorChooser().setColor(new Color(color, true));
|
|
281 | 284 |
} |
282 | 285 |
|
283 | 286 |
public double getDefaultFontRotation() { |
Also available in: Unified diff