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

Generic component library for Editor initialization #65

Closed
wants to merge 14 commits into from

Conversation

onsdagens
Copy link
Collaborator

This implements what i mentioned in #40 , and allows any crate using syncrim to implement their own component library to feed the editor.

@onsdagens
Copy link
Collaborator Author

something is broken here still

@onsdagens
Copy link
Collaborator Author

Looking better, now the editor no longer depends on a hard coded match statement to initialize placed components, allowing model crates to implement their own libraries fully.

@onsdagens
Copy link
Collaborator Author

I've implemented some RISC-V components in egui to demo the use case. The riscv/empty example provides the GUI with a library of RISC-V components so you can make your own model in the graphical editor.

@onsdagens
Copy link
Collaborator Author

All rv32i components now have properly sized egui placeholders, next goal is to implement the graphical model in the editor.

@onsdagens onsdagens closed this Jan 16, 2024
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.

1 participant