Java Code Examples for com.intellij.ui.Gray#_230
The following examples show how to use
com.intellij.ui.Gray#_230 .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FixedComboBoxEditor.java From consulo with Apache License 2.0 | 4 votes |
@Override public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { Color topColor; Color secondTopColor; Color leftRightColor; Color bottomColor; if (myDisabled) { topColor = Gray._200; secondTopColor = Gray._250; leftRightColor = Gray._205; bottomColor = Gray._220; } else { topColor = Gray._150; secondTopColor = Gray._230; leftRightColor = Gray._175; bottomColor = Gray._200; } int _y = y + MacUIUtil.MAC_COMBO_BORDER_V_OFFSET; g.setColor(topColor); g.drawLine(x + 3, _y + 3, x + width - 1, _y + 3); g.setColor(secondTopColor); g.drawLine(x + 3, _y + 4, x + width - 1, _y + 4); g.setColor(leftRightColor); g.drawLine(x + 3, _y + 4, x + 3, _y + height - 4); g.drawLine(x + width - 1, _y + 4, x + width - 1, _y + height - 4); g.setColor(bottomColor); g.drawLine(x + 4, _y + height - 4, x + width - 2, _y + height - 4); g.setColor(UIUtil.getPanelBackground()); g.fillRect(x, y, width, 3 + (SystemInfo.isMacOSLion ? 1 : 0)); g.fillRect(x, _y, 3, height); g.fillRect(x, _y + height - 3, width, 3); }
Example 2
Source File: ButtonlessScrollBarUI.java From consulo with Apache License 2.0 | 4 votes |
public static JBColor getTrackBorderColor() { return new JBColor(Gray._230, UIUtil.getListBackground()); }
Example 3
Source File: MacButtonlessScrollbarUI.java From consulo with Apache License 2.0 | 4 votes |
private static JBColor getTrackBorderColor() { return new JBColor(Gray._230, UIUtil.getListBackground()); }
Example 4
Source File: IntelliJButtonlessScrollBarUI.java From consulo with Apache License 2.0 | 4 votes |
public static JBColor getTrackBorderColor() { return new JBColor(Gray._230, UIUtil.getListBackground()); }