diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-09-11 21:08:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-11 15:08:52 -0400 |
commit | 158dfe128df8d95971b7d0db2bd5dfaf700818b3 (patch) | |
tree | 291992ea85b39f2cb94824c9aae1835a4d6fc17d /api | |
parent | 865e1eb14c4f3df17c6da530b3cd2fefd5037f7d (diff) | |
download | OneConfig-158dfe128df8d95971b7d0db2bd5dfaf700818b3.tar.gz OneConfig-158dfe128df8d95971b7d0db2bd5dfaf700818b3.tar.bz2 OneConfig-158dfe128df8d95971b7d0db2bd5dfaf700818b3.zip |
fix: fix description bugs
Diffstat (limited to 'api')
-rw-r--r-- | api/OneConfig.api | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/api/OneConfig.api b/api/OneConfig.api index a922b10..3e5688f 100644 --- a/api/OneConfig.api +++ b/api/OneConfig.api @@ -293,6 +293,7 @@ public abstract class cc/polyfrost/oneconfig/config/elements/BasicOption { public final field description Ljava/lang/String; protected final field field Ljava/lang/reflect/Field; public final field name Ljava/lang/String; + protected field nameColor I protected field parent Ljava/lang/Object; public final field size I public final field subcategory Ljava/lang/String; @@ -301,11 +302,12 @@ public abstract class cc/polyfrost/oneconfig/config/elements/BasicOption { public fun addHideCondition (Ljava/util/function/Supplier;)V public fun addListener (Ljava/lang/Runnable;)V public abstract fun draw (JIILcc/polyfrost/oneconfig/utils/InputHandler;)V - public fun drawDescription (JIIILcc/polyfrost/oneconfig/utils/InputHandler;)V + public fun drawDescription (JIILcc/polyfrost/oneconfig/utils/InputHandler;)V public fun drawLast (JIILcc/polyfrost/oneconfig/utils/InputHandler;)V public fun get ()Ljava/lang/Object; public fun getField ()Ljava/lang/reflect/Field; public abstract fun getHeight ()I + protected fun getNameX (I)F public fun getParent ()Ljava/lang/Object; public fun isEnabled ()Z public fun isHidden ()Z @@ -728,6 +730,7 @@ public class cc/polyfrost/oneconfig/gui/elements/config/ConfigCheckbox : cc/poly public static fun create (Ljava/lang/reflect/Field;Ljava/lang/Object;)Lcc/polyfrost/oneconfig/gui/elements/config/ConfigCheckbox; public fun draw (JIILcc/polyfrost/oneconfig/utils/InputHandler;)V public fun getHeight ()I + protected fun getNameX (I)F } public class cc/polyfrost/oneconfig/gui/elements/config/ConfigColorElement : cc/polyfrost/oneconfig/config/elements/BasicOption { @@ -799,6 +802,7 @@ public class cc/polyfrost/oneconfig/gui/elements/config/ConfigSwitch : cc/polyfr public static fun create (Ljava/lang/reflect/Field;Ljava/lang/Object;)Lcc/polyfrost/oneconfig/gui/elements/config/ConfigSwitch; public fun draw (JIILcc/polyfrost/oneconfig/utils/InputHandler;)V public fun getHeight ()I + protected fun getNameX (I)F } public class cc/polyfrost/oneconfig/gui/elements/config/ConfigTextBox : cc/polyfrost/oneconfig/config/elements/BasicOption { @@ -1337,6 +1341,8 @@ public class cc/polyfrost/oneconfig/renderer/scissor/ScissorManager { public fun <init> ()V public static fun clearScissors (J)V public static fun resetScissor (JLcc/polyfrost/oneconfig/renderer/scissor/Scissor;)V + public static fun restore (J)V + public static fun save ()V public static fun scissor (JFFFF)Lcc/polyfrost/oneconfig/renderer/scissor/Scissor; } |