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

Select agents through dropdown menu instead of inputting id #1

Open
Krappa322 opened this issue Apr 3, 2021 · 1 comment
Open

Select agents through dropdown menu instead of inputting id #1

Krappa322 opened this issue Apr 3, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Krappa322
Copy link
Owner

Would make the agent selection easier to use

@Krappa322 Krappa322 added the enhancement New feature or request label Apr 3, 2021
@knoxfighter
Copy link
Collaborator

For easier dropdowns, just implement to_string for the enum (if not already done in the extensions) and use ImGuiEx::Selectable.
I also made it a fully function, that (when to_string for the enum is implemented), does everything to show a selectComboBox for it :)
ImGuiEx::EnumCombo()

🤔 it tests for enum right know, but ints should also work just fine.

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

No branches or pull requests

2 participants