updated the screen shots
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 71 KiB |
@ -7,6 +7,7 @@ package de.neemann.digital.docu;
|
|||||||
|
|
||||||
import de.neemann.digital.analyse.TruthTable;
|
import de.neemann.digital.analyse.TruthTable;
|
||||||
import de.neemann.digital.analyse.TruthTableTableModel;
|
import de.neemann.digital.analyse.TruthTableTableModel;
|
||||||
|
import de.neemann.digital.analyse.expression.format.FormatToExpression;
|
||||||
import de.neemann.digital.core.element.Keys;
|
import de.neemann.digital.core.element.Keys;
|
||||||
import de.neemann.digital.fsm.gui.FSMFrame;
|
import de.neemann.digital.fsm.gui.FSMFrame;
|
||||||
import de.neemann.digital.gui.Main;
|
import de.neemann.digital.gui.Main;
|
||||||
@ -49,6 +50,7 @@ public class ScreenShots {
|
|||||||
private static Main mainStatic;
|
private static Main mainStatic;
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
FormatToExpression.setDefaultFormat(FormatToExpression.FORMATTER_UNICODE_NOAND);
|
||||||
Settings.getInstance().getAttributes().set(Keys.SETTINGS_DEFAULT_TREESELECT, false);
|
Settings.getInstance().getAttributes().set(Keys.SETTINGS_DEFAULT_TREESELECT, false);
|
||||||
Settings.getInstance().getAttributes().set(Keys.SETTINGS_GRID, true);
|
Settings.getInstance().getAttributes().set(Keys.SETTINGS_GRID, true);
|
||||||
// mainScreenShot();
|
// mainScreenShot();
|
||||||
@ -58,10 +60,12 @@ public class ScreenShots {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static void all() {
|
private static void all() {
|
||||||
|
Settings.getInstance().getAttributes()
|
||||||
|
.set(Keys.SETTINGS_GRID, true);
|
||||||
|
|
||||||
// English
|
// English
|
||||||
Lang.setActualRuntimeLanguage(new Language("en"));
|
Lang.setActualRuntimeLanguage(new Language("en"));
|
||||||
Settings.getInstance().getAttributes()
|
Settings.getInstance().getAttributes()
|
||||||
.set(Keys.SETTINGS_GRID, true)
|
|
||||||
.set(Keys.SETTINGS_IEEE_SHAPES, true);
|
.set(Keys.SETTINGS_IEEE_SHAPES, true);
|
||||||
mainScreenShot();
|
mainScreenShot();
|
||||||
firstSteps();
|
firstSteps();
|
||||||
@ -70,7 +74,6 @@ public class ScreenShots {
|
|||||||
// German
|
// German
|
||||||
Lang.setActualRuntimeLanguage(new Language("de"));
|
Lang.setActualRuntimeLanguage(new Language("de"));
|
||||||
Settings.getInstance().getAttributes()
|
Settings.getInstance().getAttributes()
|
||||||
.set(Keys.SETTINGS_GRID, true)
|
|
||||||
.set(Keys.SETTINGS_IEEE_SHAPES, false);
|
.set(Keys.SETTINGS_IEEE_SHAPES, false);
|
||||||
firstSteps();
|
firstSteps();
|
||||||
hierarchicalDesign();
|
hierarchicalDesign();
|
||||||
@ -78,7 +81,6 @@ public class ScreenShots {
|
|||||||
// Portuguese
|
// Portuguese
|
||||||
Lang.setActualRuntimeLanguage(new Language("pt"));
|
Lang.setActualRuntimeLanguage(new Language("pt"));
|
||||||
Settings.getInstance().getAttributes()
|
Settings.getInstance().getAttributes()
|
||||||
.set(Keys.SETTINGS_GRID, true)
|
|
||||||
.set(Keys.SETTINGS_IEEE_SHAPES, true);
|
.set(Keys.SETTINGS_IEEE_SHAPES, true);
|
||||||
firstSteps();
|
firstSteps();
|
||||||
hierarchicalDesign();
|
hierarchicalDesign();
|
||||||
@ -86,7 +88,6 @@ public class ScreenShots {
|
|||||||
// Spanish
|
// Spanish
|
||||||
Lang.setActualRuntimeLanguage(new Language("es"));
|
Lang.setActualRuntimeLanguage(new Language("es"));
|
||||||
Settings.getInstance().getAttributes()
|
Settings.getInstance().getAttributes()
|
||||||
.set(Keys.SETTINGS_GRID, true)
|
|
||||||
.set(Keys.SETTINGS_IEEE_SHAPES, true);
|
.set(Keys.SETTINGS_IEEE_SHAPES, true);
|
||||||
firstSteps();
|
firstSteps();
|
||||||
hierarchicalDesign();
|
hierarchicalDesign();
|
||||||
@ -94,13 +95,14 @@ public class ScreenShots {
|
|||||||
|
|
||||||
private static void mainScreenShot() {
|
private static void mainScreenShot() {
|
||||||
Lang.setActualRuntimeLanguage(new Language("en"));
|
Lang.setActualRuntimeLanguage(new Language("en"));
|
||||||
|
|
||||||
Settings.getInstance().getAttributes()
|
Settings.getInstance().getAttributes()
|
||||||
.set(Keys.SETTINGS_IEEE_SHAPES, true)
|
.set(Keys.SETTINGS_IEEE_SHAPES, true)
|
||||||
.set(Keys.SETTINGS_GRID, true)
|
.set(Keys.SETTINGS_GRID, true)
|
||||||
.set(Keys.SETTINGS_SHOW_WIRE_BITS, true);
|
.set(Keys.SETTINGS_SHOW_WIRE_BITS, true);
|
||||||
new GuiTester("../../main/dig/processor/Processor.dig", "examples/processor/Processor.dig")
|
new GuiTester("../../main/dig/processor/Processor.dig", "examples/processor/Processor.dig")
|
||||||
.press(' ')
|
.press(' ')
|
||||||
.delay(2000)
|
.delay(4000)
|
||||||
.add(new GuiTester.WindowCheck<>(GraphicDialog.class, (gt, gd) -> {
|
.add(new GuiTester.WindowCheck<>(GraphicDialog.class, (gt, gd) -> {
|
||||||
graphic = gd;
|
graphic = gd;
|
||||||
final Main main = (Main) gd.getParent();
|
final Main main = (Main) gd.getParent();
|
||||||
@ -112,7 +114,7 @@ public class ScreenShots {
|
|||||||
.delay(500)
|
.delay(500)
|
||||||
.press("F1")
|
.press("F1")
|
||||||
.add(new MainScreenShot("distribution/screenshot.png"))
|
.add(new MainScreenShot("distribution/screenshot.png"))
|
||||||
.execute();
|
.execute(); /**/
|
||||||
new GuiTester()
|
new GuiTester()
|
||||||
.press("F10")
|
.press("F10")
|
||||||
.press("RIGHT", 4)
|
.press("RIGHT", 4)
|
||||||
@ -215,7 +217,7 @@ public class ScreenShots {
|
|||||||
.add(new GuiTester.CloseTopMost())
|
.add(new GuiTester.CloseTopMost())
|
||||||
.add(new GuiTester.CloseTopMost())
|
.add(new GuiTester.CloseTopMost())
|
||||||
.add(new GuiTester.CloseTopMost())
|
.add(new GuiTester.CloseTopMost())
|
||||||
.execute();
|
.execute();/**/
|
||||||
}
|
}
|
||||||
|
|
||||||
private static GuiTester.WindowCheck<Window> closeAllSolutionsDialog() {
|
private static GuiTester.WindowCheck<Window> closeAllSolutionsDialog() {
|
||||||
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |