mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove big JI sign
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
<third-party url="http://www.jetbrains.org/"/>
|
||||
|
||||
<editor background-url="/idea_logo_background.png"/>
|
||||
<editor background-url="/idea_logo_welcome.png"/>
|
||||
|
||||
<update-urls check="http://www.jetbrains.com/updates/updates.xml"
|
||||
patches="http://download.jetbrains.com/idea/"/>
|
||||
|
||||
+8
-8
@@ -165,22 +165,22 @@ public class EditorsSplitters extends IdePanePanel {
|
||||
g.setFont(UIUtil.getLabelFont().deriveFont(isDarkBackground ? 24f : 20f));
|
||||
|
||||
final UIUtil.TextPainter painter = new UIUtil.TextPainter().withLineSpacing(1.5f);
|
||||
painter.withShadow(true, new JBColor(Gray._200.withAlpha(100), Gray._0.withAlpha(200)));
|
||||
painter.withShadow(true, new JBColor(Gray._200.withAlpha(100), Gray._0.withAlpha(255)));
|
||||
|
||||
painter.appendLine("No files are open").underlined(new JBColor(isDarkBackground ? Gray._210 : Gray._150, Gray._100));
|
||||
painter.appendLine("No files are open").underlined(new JBColor(Gray._150, Gray._180));
|
||||
|
||||
final Shortcut[] shortcuts = KeymapManager.getInstance().getActiveKeymap().getShortcuts(IdeActions.ACTION_SEARCH_EVERYWHERE);
|
||||
final String everywhere;
|
||||
if (shortcuts.length == 0) {
|
||||
everywhere = "Search Everywhere with Double " + (SystemInfo.isMac ? MacKeymapUtil.SHIFT : "Shift");
|
||||
everywhere = "Search Everywhere with <shortcut>Double " + (SystemInfo.isMac ? MacKeymapUtil.SHIFT : "Shift");
|
||||
} else {
|
||||
everywhere = "Search Everywhere " + KeymapUtil.getShortcutsText(shortcuts);
|
||||
everywhere = "Search Everywhere <shortcut>" + KeymapUtil.getShortcutsText(shortcuts);
|
||||
}
|
||||
painter.appendLine(everywhere).smaller().withBullet();
|
||||
painter.appendLine(everywhere + "</shortcut>").smaller().withBullet();
|
||||
|
||||
if (!isProjectViewVisible()) {
|
||||
painter.appendLine("Open Project View with " + KeymapUtil.getShortcutText(new KeyboardShortcut(
|
||||
KeyStroke.getKeyStroke((SystemInfo.isMac ? "meta" : "alt") + " 1"), null))).smaller().withBullet();
|
||||
painter.appendLine("Open Project View with <shortcut>" + KeymapUtil.getShortcutText(new KeyboardShortcut(
|
||||
KeyStroke.getKeyStroke((SystemInfo.isMac ? "meta" : "alt") + " 1"), null)) + "</shortcut>").smaller().withBullet();
|
||||
}
|
||||
|
||||
painter.appendLine("Open a file by name with " + getActionShortcutText("GotoFile")).smaller().withBullet()
|
||||
@@ -207,7 +207,7 @@ public class EditorsSplitters extends IdePanePanel {
|
||||
}
|
||||
}
|
||||
|
||||
return shortcutText;
|
||||
return "<shortcut>" + shortcutText + "</shortcut>";
|
||||
}
|
||||
|
||||
public void writeExternal(final Element element) {
|
||||
|
||||
@@ -15,11 +15,9 @@
|
||||
*/
|
||||
package com.intellij.openapi.wm.impl;
|
||||
|
||||
import com.intellij.icons.AllIcons;
|
||||
import com.intellij.openapi.application.ex.ApplicationInfoEx;
|
||||
import com.intellij.openapi.util.IconLoader;
|
||||
import com.intellij.ui.components.JBPanel;
|
||||
import com.intellij.util.PlatformUtils;
|
||||
import com.intellij.util.ui.UIUtil;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -50,7 +48,7 @@ public class IdePanePanel extends JBPanel {
|
||||
|
||||
@Nullable
|
||||
public static Icon getIdeBackgroundImage() {
|
||||
return UIUtil.isUnderDarcula() && !PlatformUtils.isCidr() ? AllIcons.Frame_background : null;
|
||||
return null;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@@ -64,9 +62,19 @@ public class IdePanePanel extends JBPanel {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void paintCenterImage(Graphics g) {
|
||||
final Icon image = getCenterImage();
|
||||
if (image != null) {
|
||||
final int x = (getWidth() - image.getIconWidth()) / 2;
|
||||
final int y = ((getHeight() - 222) / 2 - image.getIconHeight()) / 2;
|
||||
image.paintIcon(this, g, x, y);
|
||||
}
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static Color getIdeBackgroundColor() {
|
||||
Color result = UIUtil.getSlightlyDarkerColor(UIUtil.getPanelBackground());
|
||||
return UIUtil.isUnderDarcula() ? result : UIUtil.getSlightlyDarkerColor(UIUtil.getSlightlyDarkerColor(result));
|
||||
return UIUtil.isUnderDarcula() ? new Color(40, 40, 41) : UIUtil.getSlightlyDarkerColor(UIUtil.getSlightlyDarkerColor(result));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user