Updated icons to svg version.

This commit is contained in:
Alexander Podkhalyuzin
2019-01-23 17:53:14 +03:00
parent fe006cf342
commit 4c674ae27a
38 changed files with 622 additions and 34 deletions
@@ -0,0 +1,14 @@
/*
* Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea;
import com.intellij.openapi.util.IconLoader;
import javax.swing.*;
public interface KotlinFileIcon {
Icon KOTLIN_FILE = IconLoader.getIcon("/org/jetbrains/kotlin/idea/icons/kotlin_file.svg");
}
@@ -0,0 +1,14 @@
/*
* Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea;
import com.intellij.openapi.util.IconLoader;
import javax.swing.*;
public interface KotlinFileIcon {
Icon KOTLIN_FILE = IconLoader.getIcon("/org/jetbrains/kotlin/idea/icons/kotlin_file.png");
}
@@ -31,7 +31,7 @@ public class KotlinFileType extends LanguageFileType {
@NotNull
@Override
protected Icon compute() {
return IconLoader.getIcon("/org/jetbrains/kotlin/idea/icons/kotlin_file.png");
return KotlinFileIcon.KOTLIN_FILE;
}
};
@@ -34,7 +34,7 @@ public class KotlinModuleFileType implements FileType {
@NotNull
@Override
protected Icon compute() {
return IconLoader.getIcon("/org/jetbrains/kotlin/idea/icons/kotlin_file.png");
return KotlinFileIcon.KOTLIN_FILE;
}
};