hardware acceleration enabled for canvas and ruler

This commit is contained in:
Branislav Stojkovic
2019-01-14 00:12:13 +01:00
parent c7f468a0bc
commit c5c4d6c04e
8 changed files with 20 additions and 4 deletions
+3 -1
View File
@@ -7,7 +7,7 @@
<property name="jar.dir" value="${build.dir}/jar" />
<property name="report.dir" value="${build.dir}/junitreport" />
<property name="main.class" value="org.diylc.DIYLCStarter" />
<property name="diylc.version" value="3.48.0" />
<property name="diylc.version" value="3.49.0" />
<property name="classes.dir" value="${build.dir}/temp/${ant.project.name}/classes" />
<property name="test.classes.dir" value="${build.dir}/temp/${ant.project.name}/test.classes" />
@@ -104,6 +104,7 @@
<include name="splash.png" />
<include name="update.xml" />
<include name="variants.xml" />
<include name="config.properties" />
<include name="templates**/*.diy" />
<include name="themes**/*.xml" />
<include name="fonts**/*.ttf" />
@@ -132,6 +133,7 @@
<zipfileset dir="themes" prefix="themes" />
<zipfileset dir="fonts" prefix="fonts" />
<zipfileset dir="." includes="update.xml" />
<zipfileset dir="." includes="config.properties" />
<zipfileset dir="." includes="variants.xml" />
<zipfileset dir="." includes="run.sh" />
<zipfileset dir="." includes="diylc.l4j.ini" />
+2 -1
View File
@@ -1,4 +1,5 @@
# Uncomment lines you want to edit and change the part after the "=" sign.
#org.diylc.presenter.InstantiationManager.MAX_RECENT_COMPONENTS=20
#org.diylc.swing.plugins.canvas.CanvasPanel.USE_HARDWARE_ACCELLERATION=true
org.diylc.swing.plugins.canvas.CanvasPanel.USE_HARDWARE_ACCELLERATION=true
org.diylc.swingframework.ruler.Ruler.USE_HARDWARE_ACCELLERATION=true
#org.diylc.swing.gui.editor.PropertyEditorDialog.SHOW_DEFAULT_BOXES=true
+1
View File
@@ -17,6 +17,7 @@ Source: "diylc.l4j.ini"; DestDir: "{app}"
Source: "config.xml"; DestDir: "{app}"
Source: "update.xml"; DestDir: "{app}"
Source: "variants.xml"; DestDir: "{app}"
Source: "config.properties"; DestDir: "{app}"
Source: "splash.png"; DestDir: "{app}"
Source: "diylc.ico"; DestDir: "{app}"
Source: "build\jar\diylc.jar"; DestDir: "{app}"
Binary file not shown.
Binary file not shown.
+14 -2
View File
@@ -2205,7 +2205,11 @@
</versionNumber>
<releaseDate>2018-12-26 00:00:00.000 CET</releaseDate>
<name></name>
<changes>
<changes>
<org.diylc.appframework.update.Change>
<changeType>NEW_FEATURE</changeType>
<description>When "High Quality Rendering" option is checked, some components are rendered with 3D shading for better looks</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>NEW_FEATURE</changeType>
<description>Changed default project font again to "Lucida Console" because "Square721 BT" doesn't render Ohm symbol properly</description>
@@ -2213,7 +2217,15 @@
<org.diylc.appframework.update.Change>
<changeType>NEW_FEATURE</changeType>
<description>Added optional arrow to the "Line" component together with configurable thickness</description>
</org.diylc.appframework.update.Change>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>IMPROVEMENT</changeType>
<description>Use hardware acceleration for rendering to improve performance</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>IMPROVEMENT</changeType>
<description>Leads and wires are rendered better, especially when zoomed in</description>
</org.diylc.appframework.update.Change>
</changes>
<url>https://github.com/bancika/diy-layout-creator/releases</url>
</org.diylc.appframework.update.Version>