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 added the
Minor Feature
label 2025-07-05 19:03:21 +00:00
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 Participants
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.