mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Added HyperCon to deploy directory. Sorted leds to start at led-nr zero. Changed default integration depth of horizontal leds.
Former-commit-id: 67b38ceea032de0105daadd4bcda99cd458fb15f
This commit is contained in:
parent
3b232ad4f5
commit
ed4596f3aa
1
deploy/HyperCon.jar.REMOVED.git-id
Normal file
1
deploy/HyperCon.jar.REMOVED.git-id
Normal file
@ -0,0 +1 @@
|
||||
c8654fba4777ea4222897a55d1d24517cc636482
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<project default="main" basedir=".">
|
||||
<property name="deploy.dir" value="${basedir}/deploy" />
|
||||
<property name="deploy.dir" value="${basedir}/../../../deploy" />
|
||||
|
||||
<target name="main" depends="make_deploy_dir, build" description="Build HyperCon, the Hyperion configuration file builder" />
|
||||
|
||||
@ -15,10 +15,6 @@
|
||||
|
||||
<move file="HyperCon.jar" todir="${deploy.dir}" />
|
||||
</target>
|
||||
|
||||
<target name="clear">
|
||||
<delete dir="{deploy.dir}" quiet="true" />
|
||||
</target>
|
||||
|
||||
<target name="make_deploy_dir">
|
||||
<mkdir dir="${deploy.dir}" />
|
||||
|
@ -2,6 +2,8 @@ package org.hyperion.hypercon;
|
||||
|
||||
import java.awt.geom.Point2D;
|
||||
import java.awt.geom.Rectangle2D;
|
||||
import java.util.Collections;
|
||||
import java.util.Comparator;
|
||||
import java.util.Vector;
|
||||
|
||||
import org.hyperion.hypercon.spec.BorderSide;
|
||||
@ -153,6 +155,12 @@ public class LedFrameFactory {
|
||||
}
|
||||
}
|
||||
|
||||
Collections.sort(mLeds, new Comparator<Led>() {
|
||||
@Override
|
||||
public int compare(Led o1, Led o2) {
|
||||
return Integer.compare(o1.mLedSeqNr, o2.mLedSeqNr);
|
||||
}
|
||||
});
|
||||
return mLeds;
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ import org.hyperion.hypercon.LedFrameFactory;
|
||||
public class ImageProcessConfig extends Observable {
|
||||
|
||||
/** The 'integration depth' of the leds along the horizontal axis of the tv */
|
||||
private double mHorizontalDepth = 0.05;
|
||||
private double mHorizontalDepth = 0.08;
|
||||
/** The 'integration depth' of the leds along the vertical axis of the tv */
|
||||
private double mVerticalDepth = 0.05;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user