restoring icons
This commit is contained in:
parent
508f13bdd0
commit
f043ee2faf
|
@ -3,6 +3,6 @@ package com.rusefi;
|
|||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
public class rusEFIVersion {
|
||||
public static final int CONSOLE_VERSION = 20200618;
|
||||
public static final int CONSOLE_VERSION = 20200622;
|
||||
public static AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
|
||||
}
|
||||
|
|
|
@ -55,28 +55,28 @@ public class RecentCommands {
|
|||
private final static Map<String, Icon> COMMAND_ICONS = new TreeMap<>(String.CASE_INSENSITIVE_ORDER);
|
||||
|
||||
static {
|
||||
COMMAND_ICONS.put(STOPENGINE, AutoupdateUtil.loadIcon("stop.jpg"));
|
||||
ImageIcon infoIcon = AutoupdateUtil.loadIcon("info.png");
|
||||
COMMAND_ICONS.put(STOPENGINE, AutoupdateUtil.loadIcon("/stop.jpg"));
|
||||
ImageIcon infoIcon = AutoupdateUtil.loadIcon("/info.png");
|
||||
COMMAND_ICONS.put(SHOWCONFIG, infoIcon);
|
||||
COMMAND_ICONS.put(HELP, AutoupdateUtil.loadIcon("help.jpg"));
|
||||
COMMAND_ICONS.put(ANALOGINFO, infoIcon);
|
||||
COMMAND_ICONS.put(CMD_TRIGGERINFO, AutoupdateUtil.loadIcon("trigger.jpg"));
|
||||
COMMAND_ICONS.put(CMD_TRIGGERINFO, AutoupdateUtil.loadIcon("/trigger.jpg"));
|
||||
COMMAND_ICONS.put(IDLEINFO, infoIcon);
|
||||
COMMAND_ICONS.put(ALTINFO, AutoupdateUtil.loadIcon("alternator.jpg"));
|
||||
COMMAND_ICONS.put(ALTINFO, AutoupdateUtil.loadIcon("/alternator.jpg"));
|
||||
COMMAND_ICONS.put(ACCELINFO, infoIcon);
|
||||
COMMAND_ICONS.put(TSINFO, infoIcon);
|
||||
COMMAND_ICONS.put(TPSINFO, infoIcon);
|
||||
COMMAND_ICONS.put(MAPINFO, infoIcon);
|
||||
COMMAND_ICONS.put(joystickINFO, AutoupdateUtil.loadIcon("joystick.png"));
|
||||
COMMAND_ICONS.put(joystickINFO, AutoupdateUtil.loadIcon("/joystick.png"));
|
||||
COMMAND_ICONS.put(CANINFO, infoIcon);
|
||||
COMMAND_ICONS.put(FUELINFO, infoIcon);
|
||||
COMMAND_ICONS.put(TEMPINFO, infoIcon);
|
||||
COMMAND_ICONS.put(HIPINFO, AutoupdateUtil.loadIcon("knock.jpg"));
|
||||
COMMAND_ICONS.put(SDINFO, AutoupdateUtil.loadIcon("sdinfo.jpg"));
|
||||
COMMAND_ICONS.put(HIPINFO, AutoupdateUtil.loadIcon("/knock.jpg"));
|
||||
COMMAND_ICONS.put(SDINFO, AutoupdateUtil.loadIcon("/sdinfo.jpg"));
|
||||
COMMAND_ICONS.put(FSIOINFO, infoIcon);
|
||||
COMMAND_ICONS.put(PINS, infoIcon);
|
||||
COMMAND_ICONS.put(Fields.CMD_WRITECONFIG, AutoupdateUtil.loadIcon("writeconfig.jpg"));
|
||||
COMMAND_ICONS.put(SPEEDINFO, AutoupdateUtil.loadIcon("speedinfo.jpg"));
|
||||
COMMAND_ICONS.put(Fields.CMD_WRITECONFIG, AutoupdateUtil.loadIcon("/writeconfig.jpg"));
|
||||
COMMAND_ICONS.put(SPEEDINFO, AutoupdateUtil.loadIcon("/speedinfo.jpg"));
|
||||
}
|
||||
|
||||
private final JPanel content = new JPanel(new GridLayout(NUMBER_OF_COMMANDS + 1, 1));
|
||||
|
@ -168,7 +168,7 @@ public class RecentCommands {
|
|||
if (LinkManager.isLogViewer())
|
||||
content.add(createButton());
|
||||
|
||||
JButton reset = new JButton(AutoupdateUtil.loadIcon("undo.jpg"));
|
||||
JButton reset = new JButton(AutoupdateUtil.loadIcon("/undo.jpg"));
|
||||
reset.setContentAreaFilled(false);
|
||||
reset.setFocusPainted(false);
|
||||
reset.setBorder(BorderFactory.createEmptyBorder());
|
||||
|
|
Loading…
Reference in New Issue