Skip to content

Commit

Permalink
update: icon for new ui
Browse files Browse the repository at this point in the history
  • Loading branch information
muedsa committed Apr 9, 2024
1 parent 9cfeb26 commit 3b6e911
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 258 deletions.
12 changes: 0 additions & 12 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@
plugins {
id 'com.gradle.enterprise' version '3.17'
}

gradleEnterprise {
buildScan {
publishAlways()
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}

rootProject.name = 'text-reader-sidebar-tool'
2 changes: 1 addition & 1 deletion src/main/java/icons/TextReaderSidebarToolIcons.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@


public interface TextReaderSidebarToolIcons {
Icon BOOK_DEAD = IconLoader.getIcon("/icons/bookDead.svg", TextReaderSidebarToolIcons.class);
Icon BOOK_SKULL = IconLoader.getIcon("/images/bookSkull.svg", TextReaderSidebarToolIcons.class);
}
5 changes: 3 additions & 2 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -167,17 +167,18 @@
anchor="bottom"
secondary="true"
factoryClass="com.muedsa.intellij.textReader.factory.ReaderWindowFactoryImpl"
icon="TextReaderSidebarToolIcons.BOOK_DEAD"/>
icon="TextReaderSidebarToolIcons.BOOK_SKULL"/>
<statusBarWidgetFactory
id="ReaderLineWidget"
implementation="com.muedsa.intellij.textReader.factory.ReaderLineStatusBarWidgetFactoryImpl">
</statusBarWidgetFactory>
<iconMapper mappingFile="TextReaderSidebarToolIconMappings.json"/>
</extensions>

<actions>
<group id="com.muedsa.intellij.textReader.groupAction"
text="Text Reader"
icon="TextReaderSidebarToolIcons.BOOK_DEAD"
icon="TextReaderSidebarToolIcons.BOOK_SKULL"
popup="true">
<add-to-group group-id="ToolsMenu" anchor="last"/>
<action id="com.muedsa.intellij.textReader.nextLineAction"
Expand Down
125 changes: 4 additions & 121 deletions src/main/resources/META-INF/pluginIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
124 changes: 4 additions & 120 deletions src/main/resources/META-INF/pluginIcon_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/main/resources/TextReaderSidebarToolIconMappings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"images": {
"expui": {
"bookSkull.svg": "images/bookSkull.svg"
}
}
}
Loading

0 comments on commit 3b6e911

Please sign in to comment.