Changed GuiRenderSettings to have "Advanced" settings
Added GuiColorPicker and implemented it for Greenscreen color choosing
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user