X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fbits%2FColorTheme.java;h=640ea25a194ddae7166c676574cde58fc84de7f0;hb=bff0df27562e1cca8e6be47e7ace9bd5bb1adbfa;hp=ace1ebdde0e31b2d68493020228f9bf32f0c0a22;hpb=2b4274048c2f409b5eba8373ab3018aa75911c73;p=fanfix.git diff --git a/src/jexer/bits/ColorTheme.java b/src/jexer/bits/ColorTheme.java index ace1ebd..640ea25 100644 --- a/src/jexer/bits/ColorTheme.java +++ b/src/jexer/bits/ColorTheme.java @@ -178,8 +178,11 @@ public class ColorTheme { return; } - while (token.equals("bold") || token.equals("blink")) { - if (token.equals("bold")) { + while (token.equals("bold") + || token.equals("bright") + || token.equals("blink") + ) { + if (token.equals("bold") || token.equals("bright")) { bold = true; token = tokenizer.nextToken(); } @@ -633,6 +636,11 @@ public class ColorTheme { color.setBackColor(Color.BLUE); color.setBold(false); colors.put("teditor", color); + color = new CellAttributes(); + color.setForeColor(Color.BLACK); + color.setBackColor(Color.CYAN); + color.setBold(false); + colors.put("teditor.selected", color); // TTable color = new CellAttributes(); @@ -666,6 +674,13 @@ public class ColorTheme { color.setBold(false); colors.put("ttable.border", color); + // TSplitPane + color = new CellAttributes(); + color.setForeColor(Color.WHITE); + color.setBackColor(Color.BLUE); + color.setBold(false); + colors.put("tsplitpane", color); + } /**