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 support for Slider<T> #271

Merged
merged 29 commits into from
Jan 1, 2024
Merged

Add support for Slider<T> #271

merged 29 commits into from
Jan 1, 2024

Conversation

tznind
Copy link
Collaborator

@tznind tznind commented Dec 29, 2023

Adds support for creating <T> views e.g. Slider<int> or TreeView<MyGameObject>

Fixes #274

  • Add a Slider<T> to view
    • Prompt user to pick a Type for T when adding a Slider<T>
    • Create the corresponding T Type
    • Restrict to value types only
  • CodeDOM
    • Construct and add private field instance for Slider<T>
    • Populate Property Options
  • Design Options property
    • Support for List<T> with complex type (i.e. SliderOption<T>)
    • Array Editor for complex types
    • Editor for SliderOption<T>

image

slider-tgd

@tznind tznind marked this pull request as draft December 29, 2023 09:43
@tznind tznind changed the title WIP - Add generic views support WIP - Add support for Slider<T> Dec 30, 2023
@tznind tznind changed the title WIP - Add support for Slider<T> Add support for Slider<T> Jan 1, 2024
@tznind tznind added the v2 label Jan 1, 2024
@tznind tznind marked this pull request as ready for review January 1, 2024 11:30
@tznind tznind merged commit d187bdc into v2 Jan 1, 2024
1 check passed
@tznind tznind deleted the add-generic-views-support branch January 1, 2024 11:40
@tznind tznind mentioned this pull request Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant