28 lines
663 B
Java
28 lines
663 B
Java
package com.droidquest.devices;
|
|
|
|
public class GenericChip extends Device {
|
|
public String label;
|
|
public boolean inBurner;
|
|
public boolean inTester;
|
|
public String description = "Chip Pinouts";
|
|
private transient ChipText chiptext;
|
|
|
|
GenericChip() {
|
|
}
|
|
|
|
public void rotate(int dir) {
|
|
// Does not Rotate!
|
|
}
|
|
|
|
public void ShowText(boolean editable) {
|
|
if (chiptext == null) {
|
|
chiptext = new ChipText(this);
|
|
chiptext.setTitle("Pinout for Chip " + label);
|
|
}
|
|
chiptext.setText(description, label);
|
|
chiptext.setEditable(editable);
|
|
chiptext.setVisible(true);
|
|
}
|
|
|
|
}
|