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

Add allocators for controls & menus #75

Open
ProgramMax opened this issue Jul 6, 2023 · 0 comments
Open

Add allocators for controls & menus #75

ProgramMax opened this issue Jul 6, 2023 · 0 comments

Comments

@ProgramMax
Copy link
Owner

Is your feature request related to a problem? Please describe.
maxGUI maintains lifetimes of controls and menus. Just like it maintains lifetimes of forms.
For forms, a form allocator is provided. This allows users to provide their own allocator to be used inside maxGUI.
Controls and menus need this same thing.

Describe the solution you'd like
A control / menu allocator.

Describe alternatives you've considered
Always using 'new', as currently happens. This works for probably 99% of use cases. And thus it should be the easy default. But ultimately, there should be an option.

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

No branches or pull requests

1 participant