refactor: move position property to UIDrawable base class (UICaption)

- Update UICaption to use base class position instead of text position
- Synchronize text position with base class position for rendering
- Add onPositionChanged() virtual method for position synchronization
- Update all UICaption methods to use base position consistently
- Add comprehensive test coverage for UICaption position handling

This is part 2 of moving position to the base class. UISprite and UIGrid
will be updated in subsequent commits.
This commit is contained in:
John McCardle 2025-07-07 17:45:53 -04:00
commit 5d24ba6a85
7 changed files with 36 additions and 10 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB