diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-17 22:55:14 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-17 22:55:14 +0000 |
| commit | 9d8d88e956d9bfe17160a105cba7787925bc051c (patch) | |
| tree | bcceb887351f6bee00567c40539da56b1667c6b6 /sources | |
| parent | 18c6746750cb0c4f5cef6d7ed661e85dab100683 (diff) | |
New paintarea background.
Background now also editable.
Diffstat (limited to 'sources')
| -rw-r--r-- | sources/prefs/VSDefaultPrefs.java | 1 | ||||
| -rw-r--r-- | sources/simulator/VSSimulation.java | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sources/prefs/VSDefaultPrefs.java b/sources/prefs/VSDefaultPrefs.java index 13a0167..0534dd2 100644 --- a/sources/prefs/VSDefaultPrefs.java +++ b/sources/prefs/VSDefaultPrefs.java @@ -164,6 +164,7 @@ public class VSDefaultPrefs extends VSPrefs { public void fillDefaultColors() { /* Internal prefs */ + initColor("paintarea.background", new Color(0xFF, 0xFB, 0xEF)); initColor("process.default", new Color(0x00, 0x00, 0x00)); initColor("process.running", new Color(0x0D, 0xD8, 0x09)); initColor("process.crashed", new Color(0xff, 0x00, 0x00)); diff --git a/sources/simulator/VSSimulation.java b/sources/simulator/VSSimulation.java index 89cd873..ab12773 100644 --- a/sources/simulator/VSSimulation.java +++ b/sources/simulator/VSSimulation.java @@ -166,7 +166,7 @@ public class VSSimulation extends VSFrame implements ActionListener { simulationPanel = new VSSimulationPanel(prefs, this, logging); logging.setSimulationPanel(simulationPanel); - simulationPanel.setBackground(new Color(0xFD, 0xFC, 0xF7)); + simulationPanel.setBackground(prefs.getColor("paintarea.background"));//new Color(0xFD, 0xFC, 0xF7)); //processEditPanel = createProcessEditPanel(); JScrollPane paintScrollPane = new JScrollPane(simulationPanel); |
