diff --git a/platform/icons/src/mac/text.gif b/platform/icons/src/mac/text.gif deleted file mode 100644 index ede84c770696..000000000000 Binary files a/platform/icons/src/mac/text.gif and /dev/null differ diff --git a/platform/icons/src/mac/text.png b/platform/icons/src/mac/text.png new file mode 100644 index 000000000000..682ea3f6df79 Binary files /dev/null and b/platform/icons/src/mac/text.png differ diff --git a/platform/icons/src/mac/text@2x.png b/platform/icons/src/mac/text@2x.png new file mode 100644 index 000000000000..2ddf127fc7c8 Binary files /dev/null and b/platform/icons/src/mac/text@2x.png differ diff --git a/platform/util/src/com/intellij/icons/AllIcons.java b/platform/util/src/com/intellij/icons/AllIcons.java index 69d1cb98b2b9..8f7908e9aaca 100644 --- a/platform/util/src/com/intellij/icons/AllIcons.java +++ b/platform/util/src/com/intellij/icons/AllIcons.java @@ -822,7 +822,7 @@ public class AllIcons { public static class Mac { public static final Icon AppIconOk512 = IconLoader.getIcon("/mac/appIconOk512.png"); // 55x55 - public static final Icon Text = IconLoader.getIcon("/mac/text.gif"); // 32x32 + public static final Icon Text = IconLoader.getIcon("/mac/text.png"); // 32x32 public static final Icon Tree_black_right_arrow = IconLoader.getIcon("/mac/tree_black_right_arrow.png"); // 11x11 public static final Icon Tree_white_down_arrow = IconLoader.getIcon("/mac/tree_white_down_arrow.png"); // 11x11 public static final Icon Tree_white_right_arrow = IconLoader.getIcon("/mac/tree_white_right_arrow.png"); // 11x11 diff --git a/platform/util/src/com/intellij/util/ui/MacUIUtil.java b/platform/util/src/com/intellij/util/ui/MacUIUtil.java index 737e3dfc7a8b..9d2051a8d130 100644 --- a/platform/util/src/com/intellij/util/ui/MacUIUtil.java +++ b/platform/util/src/com/intellij/util/ui/MacUIUtil.java @@ -1,18 +1,16 @@ -/* - * Copyright 2000-2012 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright 2000-2017 JetBrains s.r.o. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package com.intellij.util.ui; import com.intellij.openapi.util.SystemInfo; @@ -215,7 +213,7 @@ public class MacUIUtil { public static Cursor getInvertedTextCursor() { if (INVERTED_TEXT_CURSOR == null) { final Toolkit toolkit = Toolkit.getDefaultToolkit(); - Image cursorImage = toolkit.createImage(MacUIUtil.class.getClassLoader().getResource("/mac/text.gif")); + Image cursorImage = toolkit.createImage(MacUIUtil.class.getClassLoader().getResource("/mac/text.png")); INVERTED_TEXT_CURSOR = toolkit.createCustomCursor(cursorImage, new Point(15, 13), "InvertedTextCursor"); } return INVERTED_TEXT_CURSOR;