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 flags editor #1993

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

luizzeroxis
Copy link
Contributor

Description

Added a FlagsBox that display all possible flag values of a field as checkboxes. They are hidden in an Expander initially to not create clutter. The TextBox, as it existed before, is still there, so the old method of changing flags still works. If there's unrecognized flags, it'll display the number, and the checkboxes won't override it, simply adding or removing flags normally.

The FlagsBox was added to general info, the sound editor and the room editor.

Example:

image

Caveats

Alright, the Expander is a bit a ugly. But what isn't ugly in this, huh? I tried a ComboBox design, but modifying these built in controls is complicated.

Notes

Fixes #75.

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

Successfully merging this pull request may close these issues.

A better editor for the flag fields
1 participant