Skip to content
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

UI - UserControls style support #30

Open
LambdaSix opened this issue Jul 5, 2018 · 0 comments
Open

UI - UserControls style support #30

LambdaSix opened this issue Jul 5, 2018 · 0 comments

Comments

@LambdaSix
Copy link
Owner

Ability to define some kind of UserControl object that would basically act like a Panel with child elements would be very useful for defining common parts of the UI like extended information on Construction/Crafting/Examine windows, where they should ideally be the same in all cases.

However the current design of controls in OctoGhast.UI doesn't allow arbitrary child elements, all elements are added at the top level to the owning Window (which derives from Widget and implements user input) -- so this feature requires ControlBase to be modified to pass user input downwards to its children.

Potentially any UserControl objects would have to pass user input along to their children controls as well.

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

No branches or pull requests

1 participant