otclient-redemption/CHANGELOG.md
Eduardo Dantas 2288d63b0a
feat: add otml alias resolution (#1634)
New Features:
• OTML variable/alias support for styles, including nested, node-scoped, and global aliases for consistent theming.

Documentation:
• Added a detailed guide and example demonstrating alias declarations, scoping, resolution order, literal handling, and best practices.

Bug Fixes:
• UI loading now ignores variable-only nodes and better handles literal color tokens and invalid or circular alias references.

Tests:
• Added tests covering alias resolution, scoping, error cases, and export behavior.
Changelog
• New changelog entry documenting OTML alias resolution and related note about an include path update.
2026-02-25 18:00:53 -03:00

517 B

Changelog

2026-02-04

  • Added OTML alias resolution so .otui files can declare variables (e.g. &primaryColor) and reference them as $primaryColor, improving theme consistency and readability.

05-12-2023

Breaking API Changes

  • UIWidget property qr-code & qr-code-border replaced with UIQrCode properties code & code-border
  • image-source-base64 replaced with image-source: base64:/path/to/image
  • #include "shadermanager.h" moved to #include <framework/graphics/shadermanager.h>