aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-08-18 18:04:48 +0200
committerGitHub <noreply@github.com>2022-08-18 17:04:48 +0100
commit268e64acec2a9e556b575103631ddddfac698b3c (patch)
tree40fff7a07c2361efdcc77117d26ef8309a0b31ac /api
parentf6ca23fcc1d13389ab9460c843a0f2126eb84443 (diff)
downloadOneConfig-268e64acec2a9e556b575103631ddddfac698b3c.tar.gz
OneConfig-268e64acec2a9e556b575103631ddddfac698b3c.tar.bz2
OneConfig-268e64acec2a9e556b575103631ddddfac698b3c.zip
Add ability to use image flags (#95)
add image flags
Diffstat (limited to 'api')
-rw-r--r--api/OneConfig.api9
1 files changed, 9 insertions, 0 deletions
diff --git a/api/OneConfig.api b/api/OneConfig.api
index 553b87c..32318e8 100644
--- a/api/OneConfig.api
+++ b/api/OneConfig.api
@@ -1132,21 +1132,28 @@ public abstract interface class cc/polyfrost/oneconfig/platform/ServerPlatform {
}
public final class cc/polyfrost/oneconfig/renderer/AssetLoader {
+ public static final field DEFAULT_FLAGS I
public static field INSTANCE Lcc/polyfrost/oneconfig/renderer/AssetLoader;
public fun clearImages (J)V
public fun clearSVGs (J)V
public fun getImage (Ljava/lang/String;)I
public fun getSVG (Ljava/lang/String;FF)I
public fun imageToIntBuffer (Ljava/lang/String;)Ljava/nio/IntBuffer;
+ public fun loadImage (JLcc/polyfrost/oneconfig/renderer/Image;)Z
public fun loadImage (JLjava/lang/String;)Z
+ public fun loadImage (JLjava/lang/String;I)Z
+ public fun loadSVG (JLcc/polyfrost/oneconfig/renderer/SVG;FF)Z
public fun loadSVG (JLjava/lang/String;FF)Z
+ public fun loadSVG (JLjava/lang/String;FFI)Z
public fun removeImage (JLjava/lang/String;)V
public fun removeSVG (JLjava/lang/String;FF)V
}
public class cc/polyfrost/oneconfig/renderer/Image {
public final field filePath Ljava/lang/String;
+ public final field flags I
public fun <init> (Ljava/lang/String;)V
+ public fun <init> (Ljava/lang/String;I)V
}
public final class cc/polyfrost/oneconfig/renderer/RenderManager {
@@ -1197,7 +1204,9 @@ public final class cc/polyfrost/oneconfig/renderer/RenderManager$TextType : java
public class cc/polyfrost/oneconfig/renderer/SVG {
public final field filePath Ljava/lang/String;
+ public final field flags I
public fun <init> (Ljava/lang/String;)V
+ public fun <init> (Ljava/lang/String;I)V
}
public class cc/polyfrost/oneconfig/renderer/TextRenderer {