New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow restricting HUD to a parent view. #36

wants to merge 4 commits into
base: version2


None yet
2 participants

patridge commented Feb 6, 2015

  • Allow a constructor to be called with a parent view that will contain the mask overlay (allowing HUD within a tab, for instance).
  • Figure out a good way to interact the parent view system with the static Show methods.
  • Test that combining Show calls with a parent and without a parent doesn't blow up the world.

(Note: I wasn't sure where to send the PR, but this looked like the in-progress branch so I went for it. I can always cherry-pick it to a master-derived branch, though.)

patridge added some commits Feb 6, 2015

Make sure we use parent bounds.
Also reverts unneeded Initialize method.
Use parent view for orientation frame.
This also allows for "showing" a HUD in a parent view during ViewWillAppear (when Window is potentially null).

This comment has been minimized.

streinhard commented Oct 6, 2016

👍 This would allow usage in Extensions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment