UIDrawable Rendering format change #6
Labels
No Label
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
Refactoring & Cleanup
Tiny Feature
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: john/McRogueFace#6
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?
notes say:
6 feat: // 7DRL hack - TODO apply RenderTexture concept to all UIDrawables (via
sf::RenderTarget
) - void render(sf::Vector2f, sf::RenderTexture&);UIDrawable implements
render()
, which calls the derived render implementation withsf::Vector2f()
(equal to(0,0)
). It should also provide a RenderTexture (the main window).Prerequisite for UIFrames that "clip" contents to the parent's bounding box
while working on #43, I found a reference to
Resources::game
. It's how Caption/Frame/Grid/Sprite classes get their default render target.I want to phase out
Resources
, but not exactly sure how to (probably just move the global Game reference intoMcRFPy_API
or static inUIDrawable
?)