Upload files to "src/openonyx/features/hud/group_m"

This commit is contained in:
winterflyt committed 2026-11-30 05:51:47 +02:00
1 parent aedb35b546
commit ba48bf0c30
5 files changed
+192

No files matched your search

@@ -0,0 +1,43 @@
package openonyx.features.hud.group_m;
import openonyx.history.DisplayNamed;
public enum ArrayListAnimation implements DisplayNamed {
SLIDE_FADE("Slide + Fade"),
FADE("Fade"),
SLIDE("Slide"),
SCALE("Scale");
private final String f;
public boolean D() {
return this == SCALE;
}
ArrayListAnimation(String string1) {
this.f = string1;
}
private static ArrayListAnimation[] L() {
ArrayListAnimation[] arrayListAnimations = new ArrayListAnimation[4];
boolean bl = true;
arrayListAnimations[0] = SLIDE;
arrayListAnimations[1] = FADE;
arrayListAnimations[2] = SLIDE_FADE;
arrayListAnimations[3] = SCALE;
return arrayListAnimations;
}
public boolean d() {
return this != SLIDE;
}
@Override
public String getDisplayName() {
return this.f;
}
public boolean L() {
return this == SLIDE || this == SLIDE_FADE;
}
}
@@ -0,0 +1,43 @@
package openonyx.features.hud.group_m;
import openonyx.history.DisplayNamed;
public enum ArrayListColorMode implements DisplayNamed {
FADE("Fade"),
STATIC("Static"),
GRADIENT("Gradient"),
CATEGORY("Category"),
RAINBOW("Rainbow"),
ACCENT("Accent");
private final String l;
@Override
public String getDisplayName() {
return this.l;
}
public boolean d() {
return this == FADE || this == GRADIENT;
}
ArrayListColorMode(String string1) {
this.l = string1;
}
private static ArrayListColorMode[] L() {
ArrayListColorMode[] arrayListColorModes = new ArrayListColorMode[6];
boolean bl = true;
arrayListColorModes[0] = ACCENT;
arrayListColorModes[1] = STATIC;
arrayListColorModes[2] = FADE;
arrayListColorModes[3] = GRADIENT;
arrayListColorModes[4] = RAINBOW;
arrayListColorModes[5] = CATEGORY;
return arrayListColorModes;
}
public boolean L() {
return this == FADE || this == RAINBOW;
}
}
@@ -0,0 +1,48 @@
package openonyx.features.hud.group_m;
import openonyx.render.group_d.Animation;
public final class ArrayListEntry {
public String I;
public boolean d;
public final Animation animation = new Animation(0.0F);
public int f;
public float H;
public final Animation animation2;
public ArrayListEntry(float f) {
this.animation2 = new Animation(fx);
}
public static String decrypt(String string) {
String string1 = string;
int n = --4 << --4 ^ 5;
String string2;
int p = (string2 = string1).length();
char[] e = new char[p];
boolean bl = true;
int j;
int o = j = p - 1;
char[] c = e;
byte b = 16;
byte dx = 17;
int k = o;
int i = n;
while (k >= 0) {
int l = j;
int m = string2.charAt(j);
j--;
c[l] = (char)(m ^ i);
if (j < 0) {
break;
}
m = j--;
c[m] = (char)(string2.charAt(m) ^ b);
k = j;
}
return new String(c);
}
}
@@ -0,0 +1,29 @@
package openonyx.features.hud.group_m;
import openonyx.history.DisplayNamed;
public enum ArrayListSorting implements DisplayNamed {
ALPHABETICAL("A-Z"),
WIDTH_DESC("Longest first"),
WIDTH_ASC("Shortest first");
private final String e;
private static ArrayListSorting[] L() {
ArrayListSorting[] arrayListSortings = new ArrayListSorting[3];
boolean bl = true;
arrayListSortings[0] = WIDTH_DESC;
arrayListSortings[1] = WIDTH_ASC;
arrayListSortings[2] = ALPHABETICAL;
return arrayListSortings;
}
ArrayListSorting(String string1) {
this.e = string1;
}
@Override
public String getDisplayName() {
return this.e;
}
}
@@ -0,0 +1,29 @@
package openonyx.features.hud.group_m;
import openonyx.history.DisplayNamed;
public enum ArrayListStyle implements DisplayNamed {
ACCENT_BAR("Accent Bar"),
PILLS("Pills"),
TEXT("Text");
private final String i;
private static ArrayListStyle[] L() {
ArrayListStyle[] arrayListStyles = new ArrayListStyle[3];
boolean bl = true;
arrayListStyles[0] = ACCENT_BAR;
arrayListStyles[1] = PILLS;
arrayListStyles[2] = TEXT;
return arrayListStyles;
}
ArrayListStyle(String string1) {
this.i = string1;
}
@Override
public String getDisplayName() {
return this.i;
}
}