Skip to content
This repository has been archived by the owner on Feb 26, 2018. It is now read-only.

Commit

Permalink
Gradle stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
NickAcPT committed Oct 22, 2017
1 parent 576a431 commit 3f4f32b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public class NewLithiumGUI extends GuiScreen {
private Map<UUID, LTextBox> textBoxesLReverse = new HashMap<>();
private Map<UUID, LProgressBar> progressBars = new NickHashMap<>();
private Map<UUID, LCheckBox> checkBoxes = new NickHashMap<>();
private Map<UUID, LSlider> sliders = new NickHashMap<>();
private List<LTextLabel> labels = new ArrayList<>();

//Button stuff
Expand Down Expand Up @@ -312,7 +313,6 @@ private void softRemoveControl(LControl g) {
gg.setInsideColor(gui.getInsideColor());
gg.setProgressColor(gui.getProgressColor());
}
//gg.setProgress();
progressBars.remove(g.getUUID());
}
}
Expand Down Expand Up @@ -359,7 +359,7 @@ protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws IOEx
@Override
protected void mouseClickMove(int mouseX, int mouseY, int clickedMouseButton, long timeSinceLastClick) {
super.mouseClickMove(mouseX, mouseY, clickedMouseButton, timeSinceLastClick);
for (LCheckBox l : checkBoxes.values()) checkboxRenderer.mouseMove(l, this, mouseX, mouseY);
//for (LCheckBox l : checkBoxes.values()) checkboxRenderer.mouseClickMove(l, this, mouseX, mouseY);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ public void mouseClick(LCheckBox control, GuiScreen gui, int mouseX, int mouseY,
}

@Override
public void mouseMove(LCheckBox control, GuiScreen gui, int mouseX, int mouseY) {
public void mouseClickMove(LCheckBox control, GuiScreen gui, int mouseX, int mouseY, int clickedMouseButton, long timeSinceLastClick) {

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ public void mouseClick(LProgressBar control, GuiScreen gui, int mouseX, int mous
}

@Override
public void mouseMove(LProgressBar control, GuiScreen gui, int mouseX, int mouseY) {
public void mouseClickMove(LProgressBar control, GuiScreen gui, int mouseX, int mouseY, int clickedMouseButton, long timeSinceLastClick) {

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ public void mouseClick(LTextLabel control, GuiScreen gui, int mouseX, int mouseY
}

@Override
public void mouseMove(LTextLabel control, GuiScreen gui, int mouseX, int mouseY) {
public void mouseClickMove(LTextLabel control, GuiScreen gui, int mouseX, int mouseY, int clickedMouseButton, long timeSinceLastClick) {

}

}

0 comments on commit 3f4f32b

Please # to comment.