cleaning up bugs and making more

This commit is contained in:
benfry
2004-05-16 20:54:32 +00:00
parent 37562e039d
commit b4d0c6b336
3 changed files with 40 additions and 14 deletions

View File

@@ -71,7 +71,7 @@ public class PdeEditorButtons extends JComponent implements MouseInputListener {
JPopupMenu popup;
int buttonCount;
int state[];
int state[] = new int[BUTTON_COUNT];
Image stateImage[];
int which[]; // mapping indices to implementation
@@ -142,7 +142,7 @@ public class PdeEditorButtons extends JComponent implements MouseInputListener {
rollover = new Image[BUTTON_COUNT];
active = new Image[BUTTON_COUNT];
state = new int[BUTTON_COUNT];
//state = new int[BUTTON_COUNT];
for (int i = 0; i < BUTTON_COUNT; i++) {
inactive[i] = createImage(BUTTON_WIDTH, BUTTON_HEIGHT);