Browse Source

3 background

master
hzzz 7 years ago
parent
commit
b6f95786ad
  1. 3
      designer_base/src/com/fr/design/constants/UIConstants.java
  2. 2
      designer_base/src/com/fr/design/gui/imenu/UIMenuHighLight.java
  3. 4
      designer_base/src/com/fr/design/mainframe/loghandler/LogMessageBar.java
  4. 1
      designer_base/src/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

3
designer_base/src/com/fr/design/constants/UIConstants.java

@ -67,7 +67,7 @@ public interface UIConstants {
public static final Color SHADOW_GREY = new Color(0xe2e2e2); public static final Color SHADOW_GREY = new Color(0xe2e2e2);
public static final Color SHADOW_CENTER = new Color(200, 200, 200); public static final Color SHADOW_CENTER = new Color(200, 200, 200);
public static final Color SHADOW_PURPLE = new Color(255, 0, 255); public static final Color SHADOW_PURPLE = new Color(255, 0, 255);
public static final Color FLESH_BLUE = new Color(168, 180, 202); public static final Color FLESH_BLUE = new Color(70, 157, 246);
public static final Color HOVER_BLUE = new Color(0xd2d2d2); public static final Color HOVER_BLUE = new Color(0xd2d2d2);
public static final Color DOTTED_LINE_COLOR = new Color(35, 108, 184); public static final Color DOTTED_LINE_COLOR = new Color(35, 108, 184);
public static final Color AUTHORITY_COLOR = new Color(88, 125, 153); public static final Color AUTHORITY_COLOR = new Color(88, 125, 153);
@ -91,7 +91,6 @@ public interface UIConstants {
public static final Color RULER_SCALE_COLOR = new Color(0x4e504f); public static final Color RULER_SCALE_COLOR = new Color(0x4e504f);
public static final BufferedImage DRAG_BAR = BaseUtils.readImage("com/fr/design/images/control/bar.png"); public static final BufferedImage DRAG_BAR = BaseUtils.readImage("com/fr/design/images/control/bar.png");
public static final BufferedImage DRAG_BAR_RIGHT = BaseUtils.readImage("com/fr/design/images/control/barm.png"); public static final BufferedImage DRAG_BAR_RIGHT = BaseUtils.readImage("com/fr/design/images/control/barm.png");
public static final BufferedImage DRAG_BAR_LEFT = BaseUtils.readImage("com/fr/design/images/control/barl.png"); public static final BufferedImage DRAG_BAR_LEFT = BaseUtils.readImage("com/fr/design/images/control/barl.png");

2
designer_base/src/com/fr/design/gui/imenu/UIMenuHighLight.java

@ -13,7 +13,7 @@ public class UIMenuHighLight extends JPanel{
@Override @Override
public Dimension getPreferredSize() { public Dimension getPreferredSize() {
Dimension dim = super.getPreferredSize(); Dimension dim = super.getPreferredSize();
dim.height = 2; dim.height = 0;
return dim; return dim;
} }
public void paint(Graphics g) { public void paint(Graphics g) {

4
designer_base/src/com/fr/design/mainframe/loghandler/LogMessageBar.java

@ -11,6 +11,8 @@ import com.fr.general.Inter;
import javax.swing.JPanel; import javax.swing.JPanel;
import static com.fr.design.constants.UIConstants.NORMAL_BACKGROUND;
public class LogMessageBar extends JPanel { public class LogMessageBar extends JPanel {
private UILabel messageLabel; private UILabel messageLabel;
private int width = 600; private int width = 600;
@ -34,7 +36,7 @@ public class LogMessageBar extends JPanel {
messageLabel = new UILabel(); messageLabel = new UILabel();
setLayout(new BorderLayout()); setLayout(new BorderLayout());
add(messageLabel, BorderLayout.CENTER); add(messageLabel, BorderLayout.CENTER);
setBackground(NORMAL_BACKGROUND);
addMouseListener(new MouseAdapter() { addMouseListener(new MouseAdapter() {
@Override @Override
public void mouseClicked(MouseEvent e) { public void mouseClicked(MouseEvent e) {

1
designer_base/src/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

@ -87,7 +87,6 @@ public abstract class ToolBarMenuDock {
} }
} }
refreshLargeToolbarState(); refreshLargeToolbarState();
} }

Loading…
Cancel
Save