Changed GuiRenderSettings to have "Advanced" settings

Added GuiColorPicker and implemented it for Greenscreen color choosing
This commit is contained in:
CrushedPixel
2015-06-02 02:41:11 +02:00
parent db030cf174
commit 2331634af9
9 changed files with 345 additions and 71 deletions

View File

@@ -38,4 +38,10 @@ public class MouseUtils {
return new Point(width, heigth);
}
public static boolean isMouseWithinBounds(int minX, int minY, int width, int height) {
Point mousePos = getMousePos();
return mousePos.getX() >= minX && mousePos.getX() <= minX + width
&& mousePos.getY() >= minY && mousePos.getY() <= minY + height;
}
}