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

Editor: make Global Variables pane list to have a tree folder structure #1714

Open
ivan-mogilko opened this issue Jun 26, 2022 · 1 comment
Labels
context: ui/ux type: enhancement a suggestion or necessity to have something improved what: editor related to the game editor

Comments

@ivan-mogilko
Copy link
Contributor

A request from a user on forums:

So for a while I've always wondered if there could possibly a small improvement to the global variables usage, mainly would it be possible to add some folder options so we can store variables in a slightly better user friendly structure.

Right now the global vars are displayed in a simple list view (afaik), having folders would require to:

  1. In Game.agf: support serializing global variables in subfolders, similar to many existing game entities;
  2. On UI: replace list box with something supporting folders and columns at the same time, get an existing 3rd party component, or code your own.
@ivan-mogilko ivan-mogilko added type: enhancement a suggestion or necessity to have something improved what: editor related to the game editor context: ui/ux labels Jun 26, 2022
@jumpjack
Copy link

Current implementation is "mixed": there is one single item in the "listboxes panel" on the right, but no listboxes associated to it: double clicking on the "Global variables" item opens up a window which lists variables:

image

It remembers me how Windows register (which supports folders) is organized:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context: ui/ux type: enhancement a suggestion or necessity to have something improved what: editor related to the game editor
Projects
None yet
Development

No branches or pull requests

2 participants