Skip to content
Snippets Groups Projects
Commit 32ad8b40 authored by Leon Dieter's avatar Leon Dieter
Browse files

minor changes

parent 33525b66
No related branches found
No related tags found
No related merge requests found
...@@ -177,6 +177,8 @@ public class Simulator implements Runnable, ActionListener{ ...@@ -177,6 +177,8 @@ public class Simulator implements Runnable, ActionListener{
} }
//Beim Neustart des Simulators wird die bisherige Position und Gre des Fenster gespeichert //Beim Neustart des Simulators wird die bisherige Position und Gre des Fenster gespeichert
Point locationWindow = gui.getLocation(); Point locationWindow = gui.getLocation();
int WidthWindow = ((int)((gui.getWidth() * 1.0975) - 13.307)); int WidthWindow = ((int)((gui.getWidth() * 1.0975) - 13.307));
int HeightWindow = ((int)((gui.getHeight() * 1.2709) - 174.77)); int HeightWindow = ((int)((gui.getHeight() * 1.2709) - 174.77));
......
...@@ -78,6 +78,7 @@ public class GUI extends JFrame implements Runnable, ActionListener { ...@@ -78,6 +78,7 @@ public class GUI extends JFrame implements Runnable, ActionListener {
public GUI(Simulator simu, int _xscale, int _yscale) { public GUI(Simulator simu, int _xscale, int _yscale) {
super("ArduBlock Simulator"); super("ArduBlock Simulator");
// TODO: Grenverhtlnisse mit +80 eventuell
xscale = _xscale; xscale = _xscale;
yscale = _yscale; yscale = _yscale;
WindowWidth = _xscale; WindowWidth = _xscale;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment