Skip to content

Commit d7939c8

Browse files
committed
IU-222.2889.14 compatibility issue
1 parent d5a4607 commit d7939c8

File tree

2 files changed

+0
-201
lines changed

2 files changed

+0
-201
lines changed

plugin/src/main/kotlin/spp/jetbrains/sourcemarker/icons/NumericSvgIcon.kt

Lines changed: 0 additions & 180 deletions
This file was deleted.

plugin/src/main/kotlin/spp/jetbrains/sourcemarker/icons/SourceMarkerIcons.kt

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,7 @@
1717
*/
1818
package spp.jetbrains.sourcemarker.icons
1919

20-
import com.intellij.ui.scale.ScaleContext
21-
import com.intellij.util.SVGLoader
22-
import com.intellij.util.ui.JBImageIcon
2320
import spp.jetbrains.sourcemarker.PluginIcons
24-
import java.io.ByteArrayInputStream
25-
import javax.swing.Icon
2621

2722
/**
2823
* Defines the various visual icons SourceMarker may display.
@@ -32,25 +27,9 @@ import javax.swing.Icon
3227
*/
3328
object SourceMarkerIcons {
3429

35-
val exclamationTriangle = PluginIcons.exclamationTriangle
36-
val performanceRamp = PluginIcons.performanceRamp
37-
val activeException = PluginIcons.activeException
3830
val LIVE_METER_COUNT_ICON = PluginIcons.count
3931
val LIVE_METER_GAUGE_ICON = PluginIcons.gauge
4032
val LIVE_METER_HISTOGRAM_ICON = PluginIcons.histogram
4133
val LIVE_BREAKPOINT_ACTIVE_ICON = PluginIcons.Breakpoint.active
4234
val LIVE_BREAKPOINT_DISABLED_ICON = PluginIcons.Breakpoint.disabled
43-
val LIVE_BREAKPOINT_COMPLETE_ICON = PluginIcons.Breakpoint.complete
44-
val LIVE_BREAKPOINT_PENDING_ICON = PluginIcons.Breakpoint.pending
45-
val LIVE_BREAKPOINT_ERROR_ICON = PluginIcons.Breakpoint.error
46-
47-
fun getNumericGutterMarkIcon(value: Int, color: String = "#182d34"): Icon {
48-
return JBImageIcon(
49-
SVGLoader.loadHiDPI(
50-
null,
51-
ByteArrayInputStream(NumericSvgIcon(value, color).toString().toByteArray()),
52-
ScaleContext.create()
53-
)
54-
)
55-
}
5635
}

0 commit comments

Comments
 (0)