Mods / GuiCompositeSettingsEx

Category: #QoL #Utility
Author: Fulgen
Side: Client
Created: Jul 9th at 12:37 AM
Last modified: Jul 20th at 12:48 AM
Downloads: 341

This mod provides an API to add custom settings panels to the settings dialog.

API documentation

Example:

public override void StartClientSide(ICoreClientAPI capi)
{
    GuiCompositeSettingsEx.AddPanel("testpanel", (settings, on) =>
    {
        GuiComposer composer = settings.ComposerHeaderEx("testpanel", "testpanel");
        // Add your GUI elements here using standard UI elements.
        // Be aware that the header is 75.0 pixels high.
        
        composer.EndChildElements(); // title bar
        composer.Compose();
        settings.LoadComposer(composer);
    };
}

Version For Game version Downloads Release date Changelog Download
v0.2.0 221 Jul 20th at 12:48 AM Show GuiCompositeSettingsEx.dll
v0.1.0 120 Jul 9th at 1:03 AM Show GuiCompositeSettingsEx.dll

0 Comments (oldest first | newest first)

delete edit