summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-17 22:55:14 +0000
committerPaul Buetow <paul@buetow.org>2008-05-17 22:55:14 +0000
commit9d8d88e956d9bfe17160a105cba7787925bc051c (patch)
treebcceb887351f6bee00567c40539da56b1667c6b6
parent18c6746750cb0c4f5cef6d7ed661e85dab100683 (diff)
New paintarea background.
Background now also editable.
-rw-r--r--ROADMAP3
-rw-r--r--sources/prefs/VSDefaultPrefs.java1
-rw-r--r--sources/simulator/VSSimulation.java2
3 files changed, 2 insertions, 4 deletions
diff --git a/ROADMAP b/ROADMAP
index 8fb374d..723ede3 100644
--- a/ROADMAP
+++ b/ROADMAP
@@ -1,8 +1,5 @@
TODO:
-Prozesse manuell abstuerzen lassen
-Prozesse duerfen wiederbelebt werden
-
Prozess Quick Panel: Uhrabweichung / Geschwindigkeit direkt einstellen koennen
Event Manager (Prozessabstuerze genau vorprogrammieren)
"Himmelobjekt"
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);