|
|
|
@ -2,6 +2,7 @@ package com.fr.design.mainframe.alphafine.question;
|
|
|
|
|
|
|
|
|
|
import com.fr.base.svg.SVGLoader; |
|
|
|
|
import com.fr.base.svg.SystemScaleUtils; |
|
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
|
import com.fr.design.mainframe.alphafine.AlphaFineUtil; |
|
|
|
|
import com.fr.design.utils.SvgPaintUtils; |
|
|
|
|
import java.awt.Color; |
|
|
|
@ -37,7 +38,7 @@ public class QuestionPane extends JPanel {
|
|
|
|
|
int width = SystemScaleUtils.isJreHiDPIEnabled() ? (int) (getWidth() * SVGLoader.SYSTEM_SCALE) : getWidth(); |
|
|
|
|
int height = SystemScaleUtils.isJreHiDPIEnabled() ? (int) (getHeight() * SVGLoader.SYSTEM_SCALE) : getHeight(); |
|
|
|
|
|
|
|
|
|
if (AlphaFineUtil.unread()) { |
|
|
|
|
if (AlphaFineUtil.unread() && DesignerEnvManager.getEnvManager().getAlphaFineConfigManager().isProductDynamics()) { |
|
|
|
|
g2.drawImage(NEW_MESSAGE_IMAGE, 0, 0, this); |
|
|
|
|
} else { |
|
|
|
|
g2.drawImage(QUESTION_BACKGROUND_IMAGE, 0, 0, this); |
|
|
|
|