mirror of
https://github.com/mehah/otclient
synced 2026-08-15 16:29:06 -04:00
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.
517 B
517 B
Changelog
2026-02-04
- Added OTML alias resolution so
.otuifiles can declare variables (e.g.&primaryColor) and reference them as$primaryColor, improving theme consistency and readability.
05-12-2023
Breaking API Changes
UIWidgetpropertyqr-code&qr-code-borderreplaced withUIQrCodepropertiescode&code-borderimage-source-base64replaced withimage-source: base64:/path/to/image#include "shadermanager.h"moved to#include <framework/graphics/shadermanager.h>