Add position tuple support to Frame and Sprite constructors #83

Closed
opened 2025-07-05 19:03:21 +00:00 by john · 0 comments
Owner

Frame and Sprite require separate x, y arguments while Caption and Entity accept position tuples/Vectors. All UI objects should support both patterns: Object(x, y, ...) and Object((x, y), ...) where the first positional arg can be a position tuple.
Affects: Frame, Sprite, Caption (partial - already supports Vector but not in addition to x,y)

Frame and Sprite require separate x, y arguments while Caption and Entity accept position tuples/Vectors. All UI objects should support both patterns: Object(x, y, ...) and Object((x, y), ...) where the first positional arg can be a position tuple. Affects: Frame, Sprite, Caption (partial - already supports Vector but not in addition to x,y)
john closed this issue 2025-07-05 21:55:44 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
john/McRogueFace#83
No description provided.