From 8c6863a0c554ab75e8967618d6a0b90aaa4562f2 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Fri, 26 Aug 2022 16:58:52 +0200 Subject: Hud stuff (#119) * Commit @Wyvest here * Api moment --- api/OneConfig.api | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'api') diff --git a/api/OneConfig.api b/api/OneConfig.api index 7e007d6..48f4bc2 100644 --- a/api/OneConfig.api +++ b/api/OneConfig.api @@ -951,6 +951,7 @@ public abstract class cc/polyfrost/oneconfig/gui/pages/Page { } public abstract class cc/polyfrost/oneconfig/hud/BasicHud : cc/polyfrost/oneconfig/hud/Hud { + protected field background Z protected field bgColor Lcc/polyfrost/oneconfig/config/core/OneColor; protected field border Z protected field borderColor Lcc/polyfrost/oneconfig/config/core/OneColor; @@ -963,7 +964,7 @@ public abstract class cc/polyfrost/oneconfig/hud/BasicHud : cc/polyfrost/oneconf public fun (Z)V public fun (ZFF)V public fun (ZFFF)V - public fun (ZFFFZFFFLcc/polyfrost/oneconfig/config/core/OneColor;ZFLcc/polyfrost/oneconfig/config/core/OneColor;)V + public fun (ZFFFZZFFFLcc/polyfrost/oneconfig/config/core/OneColor;ZFLcc/polyfrost/oneconfig/config/core/OneColor;)V public fun drawAll (Lcc/polyfrost/oneconfig/libs/universal/UMatrixStack;Z)V protected fun drawBackground (FFFFF)V public fun setScale (FZ)V @@ -1043,7 +1044,9 @@ public abstract class cc/polyfrost/oneconfig/hud/SingleTextHud : cc/polyfrost/on protected field title Ljava/lang/String; protected field titleLocation I public fun (Ljava/lang/String;Z)V + public fun (Ljava/lang/String;ZFFFZZFFFLcc/polyfrost/oneconfig/config/core/OneColor;ZFLcc/polyfrost/oneconfig/config/core/OneColor;)V public fun (Ljava/lang/String;ZII)V + public fun drawAll (Lcc/polyfrost/oneconfig/libs/universal/UMatrixStack;Z)V protected final fun getCompleteText (Ljava/lang/String;)Ljava/lang/String; protected fun getLines (Ljava/util/List;Z)V protected fun getLinesFrequent (Ljava/util/List;Z)V @@ -1056,6 +1059,7 @@ public abstract class cc/polyfrost/oneconfig/hud/TextHud : cc/polyfrost/oneconfi protected field lines Ljava/util/List; protected field textType I public fun (Z)V + public fun (ZFFFZZFFFLcc/polyfrost/oneconfig/config/core/OneColor;ZFLcc/polyfrost/oneconfig/config/core/OneColor;)V public fun (ZII)V public fun draw (Lcc/polyfrost/oneconfig/libs/universal/UMatrixStack;FFFZ)V protected fun drawLine (Ljava/lang/String;FFF)V -- cgit