More UI tweaks.

This commit is contained in:
CrazyPants committed 2014-04-21 18:24:33 +08:00
1 parent 65d70904c6
commit 55e47d2c45
3 files changed
+6 -4

No files matched your search

@@ -61,9 +61,12 @@ public final class IconEIO {
public static final IconEIO INPUT = new IconEIO(128, 197 + 32, 30, 14);
public static final IconEIO INPUT_SMALL = new IconEIO(159, 220, 16, 8);
public static final IconEIO INPUT_SMALL_INV = new IconEIO(159, 228, 16, 8);
public static final IconEIO DISABLED = new IconEIO(159, 236, 16, 8);
public static final IconEIO OUTPUT = new IconEIO(128, 180 + 32, 30, 14);
public static final IconEIO OUTPUT_SMALL = new IconEIO(177, 220, 16, 8);
public static final IconEIO OUTPUT_SMALL_INV = new IconEIO(177, 228, 16, 8);
public static final IconEIO INPUT_OUTPUT = new IconEIO(159, 212, 30, 8);
@@ -255,14 +255,13 @@ public class IoConfigRenderer {
// INPUT
IoMode mode = selection.config.getIoMode(selection.face);
if(mode == IoMode.PULL) {
ioIcon = IconEIO.INPUT_SMALL;
ioIcon = IconEIO.INPUT_SMALL_INV;
} else if(mode == IoMode.PUSH) {
ioIcon = IconEIO.OUTPUT_SMALL;
ioIcon = IconEIO.OUTPUT_SMALL_INV;
} else if(mode == IoMode.PUSH_PULL) {
ioIcon = IconEIO.INPUT_OUTPUT;
} else if(mode == IoMode.DISABLED) {
//TODO:
ioIcon = IconEIO.DISABLED;
}