public static void drawGradientRoundedRect(float x,
float y,
float w,
float h,
Vector4f r){
DisplayUtils.drawRoundedRect(x, y, w, h, new Vector4f(r.x,r.y,r.z,r.w), new Vector4i(
ColorUtils.getColor((int) (10 + System.currentTimeMillis() / 1000 % 360)),
ColorUtils.getColor((int) (5 + System.currentTimeMillis() / 1000 % 360)),
ColorUtils.getColor((int) (1 + System.currentTimeMillis() / 1000 % 360)),
ColorUtils.getColor((int) (-1 + System.currentTimeMillis() / 1000 % 360)))
);
}
public static void drawGradientRoundedRect(float x,
float y,
float w,
float h,
float r){
DisplayUtils.drawRoundedRect(x, y, w, h, new Vector4f(r,r,r,r), new Vector4i(
ColorUtils.getColor((int) (10 + System.currentTimeMillis() / 1000 % 360)),
ColorUtils.getColor((int) (5 + System.currentTimeMillis() / 1000 % 360)),
ColorUtils.getColor((int) (1 + System.currentTimeMillis() / 1000 % 360)),
ColorUtils.getColor((int) (-1 + System.currentTimeMillis() / 1000 % 360)))
);
}