File tree Expand file tree Collapse file tree 2 files changed +0
-201
lines changed
plugin/src/main/kotlin/spp/jetbrains/sourcemarker/icons Expand file tree Collapse file tree 2 files changed +0
-201
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1717 */
1818package 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
2320import 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 */
3328object 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}
You can’t perform that action at this time.
0 commit comments