Browse Source

Merge pull request #1414 in BA/design from ~PLOUGH/design:release/9.0 to release/9.0

* commit '4dc9de8c94cc94485b4e84db3d5c4edf7a5d594a':
  REPORT-5284 公测客户反馈设计器配色和交互问题修改=>顶部菜单颜色调整
  REPORT-5284 公测客户反馈设计器配色和交互问题修改=>修改tab跳转六项功能的图标
master
superman 7 years ago
parent
commit
ba15e278f1
  1. 6
      designer_base/src/com/fr/design/constants/UIConstants.java
  2. 1
      designer_base/src/com/fr/design/gui/imenu/UIMenu.java
  3. 2
      designer_base/src/com/fr/design/gui/imenu/UIMenuBarUI.java
  4. 4
      designer_base/src/com/fr/design/gui/imenu/UIMenuUI.java
  5. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/authorityedit_disabled.png
  6. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/authorityedit_normal.png
  7. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/authorityedit_selected.png
  8. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/cellattr_disabled.png
  9. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/cellattr_normal.png
  10. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/cellattr_selected.png
  11. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/cellelement_disabled.png
  12. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/cellelement_normal.png
  13. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/cellelement_selected.png
  14. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/conditionattr_disabled.png
  15. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/conditionattr_normal.png
  16. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/conditionattr_selected.png
  17. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/configuredroles_disabled.png
  18. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/configuredroles_normal.png
  19. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/configuredroles_selected.png
  20. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/floatelement_disabled.png
  21. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/floatelement_normal.png
  22. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/floatelement_selected.png
  23. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/hyperlink_disabled.png
  24. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/hyperlink_normal.png
  25. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/hyperlink_selected.png
  26. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/widgetlib_disabled.png
  27. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/widgetlib_normal.png
  28. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/widgetlib_selected.png
  29. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/widgetsettings_disabled.png
  30. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/widgetsettings_normal.png
  31. BIN
      designer_base/src/com/fr/design/images/buttonicon/propertiestab/widgetsettings_selected.png

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

@ -74,7 +74,7 @@ public interface UIConstants {
public static final Color SKY_BLUE = new Color(164, 192, 220);
public static final Color OCEAN_BLUE = new Color(141, 179, 217);
public static final Color DARK_BLUE = new Color(0, 88, 144);
public static final Color NORMAL_BACKGROUND = new Color(212, 212, 216);
public static final Color NORMAL_BACKGROUND = new Color(0xe0e0e3);
public static final Color TREE_BACKGROUND = new Color(245, 245, 247);
public static final Color TOOL_PANE_BACKGROUND = new Color(232, 232, 223);
public static final Color SELECT_TAB = new Color(245, 245, 247);
@ -111,9 +111,9 @@ public interface UIConstants {
public static final Color TITLED_BORDER_COLOR = new Color(0xe8e8e9);
public static final Color GRID_ROW_DETAILS_BACKGROUND = new Color(0xe8e8e9);
public static final Color GRID_COLUMN_DETAILS_BACKGROUND = GRID_ROW_DETAILS_BACKGROUND;
public static final Color TEMPLATE_TAB_PANE_BACKGROUND = new Color(0xe0e0e3);
public static final Color TEMPLATE_TAB_PANE_BACKGROUND = NORMAL_BACKGROUND;
public static final Color LOG_MESSAGE_BAR_BACKGROUND = TEMPLATE_TAB_PANE_BACKGROUND;
public static final Color UI_MENU_BACKGOURND = TEMPLATE_TAB_PANE_BACKGROUND;
public static final Color UI_MENU_BACKGOURND = LOG_MESSAGE_BAR_BACKGROUND;
public static final Color POP_DIALOG_BORDER = new Color(218, 218, 221);
public static final Color PROPERTY_DIALOG_BORDER = new Color(0xc9c9cd);
public static final Color TAB_BUTTON_HOVER = new Color(231, 230, 235);

1
designer_base/src/com/fr/design/gui/imenu/UIMenu.java

@ -25,6 +25,7 @@ public class UIMenu extends JMenu {
public JPopupMenu getPopupMenu() {
JPopupMenu popupMenu = super.getPopupMenu();
popupMenu.setBackground(UIConstants.NORMAL_BACKGROUND);
popupMenu.setBorder(new Border() {
@Override

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

@ -24,7 +24,7 @@ public class UIMenuBarUI extends BasicMenuBarUI {
return;
}
Color oldColor = g.getColor();
g.setColor(UIConstants.TEMPLATE_TAB_PANE_BACKGROUND);
g.setColor(UIConstants.UI_MENU_BACKGOURND);
g.fillRect(0, 0, c.getWidth(), c.getHeight());
g.setColor(oldColor);
}

4
designer_base/src/com/fr/design/gui/imenu/UIMenuUI.java

@ -19,7 +19,7 @@ public class UIMenuUI extends BasicMenuUI {
int menuHeight = menuItem.getHeight();
if (menuItem.isOpaque()) {
if (menuItem.getParent() instanceof JPopupMenu && model.isSelected()) {
g.setColor(UIConstants.NORMAL_BACKGROUND);
g.setColor(UIConstants.UI_MENU_BACKGOURND);
g.fillRect(0, 0, menuWidth, menuHeight);
GUIPaintUtils.fillPaint((Graphics2D) g, 30, 0, menuWidth - 30, menuHeight, true, Constants.NULL, UIConstants.FLESH_BLUE, 7);
} else if (model.isSelected()) {
@ -37,7 +37,7 @@ public class UIMenuUI extends BasicMenuUI {
protected void paintPressed(Graphics g, int w, int h) {
Graphics2D g2d = (Graphics2D) g;
g2d.setColor(UIConstants.NORMAL_BACKGROUND);
g2d.setColor(UIConstants.UI_MENU_BACKGOURND);
g2d.fillRect(0, 0, w, h);
g2d.setColor(UIConstants.LINE_COLOR);
g2d.drawLine(0, 0, 0, h - 1);

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/authorityedit_disabled.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 B

After

Width:  |  Height:  |  Size: 627 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/authorityedit_normal.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 624 B

After

Width:  |  Height:  |  Size: 639 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/authorityedit_selected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 639 B

After

Width:  |  Height:  |  Size: 464 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/cellattr_disabled.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 380 B

After

Width:  |  Height:  |  Size: 640 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/cellattr_normal.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 363 B

After

Width:  |  Height:  |  Size: 640 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/cellattr_selected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 373 B

After

Width:  |  Height:  |  Size: 386 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/cellelement_disabled.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 B

After

Width:  |  Height:  |  Size: 241 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/cellelement_normal.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 B

After

Width:  |  Height:  |  Size: 251 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/cellelement_selected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 B

After

Width:  |  Height:  |  Size: 194 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/conditionattr_disabled.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 344 B

After

Width:  |  Height:  |  Size: 266 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/conditionattr_normal.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 B

After

Width:  |  Height:  |  Size: 273 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/conditionattr_selected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 B

After

Width:  |  Height:  |  Size: 224 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/configuredroles_disabled.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 574 B

After

Width:  |  Height:  |  Size: 734 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/configuredroles_normal.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 542 B

After

Width:  |  Height:  |  Size: 755 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/configuredroles_selected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 559 B

After

Width:  |  Height:  |  Size: 513 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/floatelement_disabled.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 B

After

Width:  |  Height:  |  Size: 242 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/floatelement_normal.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

After

Width:  |  Height:  |  Size: 233 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/floatelement_selected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

After

Width:  |  Height:  |  Size: 261 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/hyperlink_disabled.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 708 B

After

Width:  |  Height:  |  Size: 653 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/hyperlink_normal.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 740 B

After

Width:  |  Height:  |  Size: 647 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/hyperlink_selected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 729 B

After

Width:  |  Height:  |  Size: 764 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/widgetlib_disabled.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 619 B

After

Width:  |  Height:  |  Size: 265 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/widgetlib_normal.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 614 B

After

Width:  |  Height:  |  Size: 264 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/widgetlib_selected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 628 B

After

Width:  |  Height:  |  Size: 195 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/widgetsettings_disabled.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/widgetsettings_normal.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 393 B

After

Width:  |  Height:  |  Size: 302 B

BIN
designer_base/src/com/fr/design/images/buttonicon/propertiestab/widgetsettings_selected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 408 B

After

Width:  |  Height:  |  Size: 221 B

Loading…
Cancel
Save