projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib: Write IMU headers to CSV file when present
[fw/altos]
/
altosuilib
/
AltosUIMarker.java
diff --git
a/altosuilib/AltosUIMarker.java
b/altosuilib/AltosUIMarker.java
index 0949be6f94af3122ed0b31d2643eb16754b40c9f..37ae2e85c93bb31d8062f1025613f286c2b59fe0 100644
(file)
--- a/
altosuilib/AltosUIMarker.java
+++ b/
altosuilib/AltosUIMarker.java
@@
-3,7
+3,8
@@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-15,14
+16,14
@@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-package org.altusmetrum.altosuilib_1;
+package org.altusmetrum.altosuilib_1
4
;
import java.io.*;
import java.util.ArrayList;
import java.awt.*;
import javax.swing.*;
import java.io.*;
import java.util.ArrayList;
import java.awt.*;
import javax.swing.*;
-import org.altusmetrum.altoslib_1.*;
+import org.altusmetrum.altoslib_1
4
.*;
import org.jfree.ui.*;
import org.jfree.chart.*;
import org.jfree.ui.*;
import org.jfree.chart.*;
@@
-41,7
+42,7
@@
public class AltosUIMarker implements AltosUIGrapher {
boolean enabled;
int fetch;
Color color;
boolean enabled;
int fetch;
Color color;
-
+
private void remove_markers() {
for (ValueMarker marker : markers)
plot.removeDomainMarker(marker);
private void remove_markers() {
for (ValueMarker marker : markers)
plot.removeDomainMarker(marker);
@@
-55,6
+56,8
@@
public class AltosUIMarker implements AltosUIGrapher {
public void set_units() {
}
public void set_units() {
}
+ public boolean need_reset() { return true; }
+
public void set_enable(boolean enable) {
if (enabled == enable)
return;
public void set_enable(boolean enable) {
if (enabled == enable)
return;
@@
-109,4
+112,4
@@
public class AltosUIMarker implements AltosUIGrapher {
public AltosUIMarker (int fetch, Color color, XYPlot plot) {
this(fetch, color, plot, true);
}
public AltosUIMarker (int fetch, Color color, XYPlot plot) {
this(fetch, color, plot, true);
}
-}
\ No newline at end of file
+}