Generate perfectly consistent and complete Python interface #126
Labels
No Label
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
priority:tier1-active
priority:tier2-foundation
priority:tier3-future
Refactoring & Cleanup
system:animation
system:documentation
system:grid
system:input
system:performance
system:python-binding
system:rendering
system:ui-hierarchy
Tiny Feature
workflow:blocked
workflow:needs-benchmark
workflow:needs-documentation
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: john/McRogueFace#126
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Extension of #20 - use mcrfpy classes:
__init__(see #110)This is the "leader issue" for a broader class of pain-in-the-ass deficiencies with the way C++ items are exposed and the way Python has to present them.
Acceptable shorthand for Python
We have these vectors across all classes:
position->pospos.xandpos.ysize->sizesize.xandsize.ygrid_posandgrid_sizeSimilarly, we have
fillandoutlinecolorsThere are a lot of other ints and floats these objects expose - they should be enumerated and made into optional
__init__keyword-only argsMandatory args, positional args, and rules for
mcrfpyPython objects during__init__Caption(),Sprite(),Grid()andFrame()must result in valid, safe objects[pos, size, grid_pos, grid_size vectors], [texture/font objects], [text]Other optional args
keyword-only.
Wiki References:
Blocked by: Need to document current patterns before automating generation