Skip to content
Success

Changes

Summary

  1. Initial GUI support (#29) (commit: 0c802bb) (details)
Commit 0c802bb40322802c1cfe3ed6e55104abba29dcd8 by noreply
Initial GUI support (#29)

* Initial setup & a few base types

* Scroll panels (not tested yet)

* Buttons, enum util, better id handling, cleanups

* Text support, `getTaggedObject`

* Insets support

* Labels and dynamic labels

* Registration based system

* Allow specifying GUI scripts as widgets

* Proper `registerGuiElement` error checking

* Cleaner insets handling

* Cleanup button handling

* Item elements

* Debug handling rework/cleanup

* Improve dynamic label error handling

* Scroll panel scroll speed setters

* Text field elements

* Grid panels

* Box elements

* Slider elements

* Progress bars

* Improve texture parsing, minor cleanups

* Cleaner icon format

* Sprite elements

* Fix texture/icon parsing no value handling

* Toggle buttons

* Cleaner path handling

* Error handling & context fixups

* No wildcard static imports

* Minor cleanups to tab panel parsing

* Plain panels: match naming for child widgets

* Initial work on meta

* Bar documentation

* Document insets, textures, and icons

* Finalize `gui` command

* Box elements meta

* Button meta, minor cleanups, remove event for now

* Dynamic label element

* Grid panel meta + minor rename for consistency

* Item elements meta

* Slider element meta

* Labeled slider meta

* Properly document slider context values

* Label elements meta

* Plain panel elements meta

* Scroll panel elements meta

* Sprite element meta docs

* Tab panel element meta

* Text element meta

* Text field elements meta

* Toggle buttons meta docs

* Consistency

* Bump LibGUI and other deps

* Revert outdated `ItemTag` change

* `getTaggedStringList`: support in-line `ListTag`s

* `bar` -> `progress_bar`

* Consistent box panel naming

* Clearer dynamic label warning

* Grid panels: `gap` -> `spacing`

* Sliders: direction must match axis

* Clarify slider dynamic label meta

* `Item` element: `duration` -> `frame_duration`

* UV handling: width & height instead of 2 points

* Better gui script handling in screen event

* `GUI` command: support closing

* Why is `gui` `Holdable`

* `SpriteElement`: `frame_time` -> `duration`

* `TextFieldElement`: consistent naming

* Fix `gui` command syntax

* Meta fixup
(commit: 0c802bb)
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/TextFieldElement.java
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/LabeledSliderElement.java
The file was modifiedgradle.properties (diff)
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/LabelElement.java
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/TextElement.java
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/GuiScriptGuiDescription.java
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/SpriteElement.java
The file was modifiedsrc/main/java/com/denizenscript/clientizen/scripts/containers/ClientizenContainerRegistry.java (diff)
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/ItemElement.java
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/ButtonElement.java
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/ScrollPanelElement.java
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/BoxPanelElement.java
The file was modifiedsrc/main/java/com/denizenscript/clientizen/scripts/commands/GuiCommand.java (diff)
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/PlainPanelElement.java
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/DynamicLabelElement.java
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/GuiScriptContainer.java
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/ProgressBarElement.java
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/GridPanelElement.java
The file was removedsrc/main/java/com/denizenscript/clientizen/scripts/containers/GuiScriptContainer.java
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/TabPanelElement.java
The file was modified.editorconfig (diff)
The file was modifiedsrc/main/java/com/denizenscript/clientizen/util/ScreenNameMapping.java (diff)
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/SliderElement.java
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/elements/ToggleButtonElement.java
The file was modifiedsrc/main/java/com/denizenscript/clientizen/events/ScreenOpenCloseEvent.java (diff)
The file was addedsrc/main/java/com/denizenscript/clientizen/scripts/containers/gui/GuiScriptScreen.java