fltk-rs / fl2rust

A fluid (fltk ui designer) file to Rust transpiler
MIT License
52 stars 3 forks source link

add fltk-form example #11

Closed 1sra3l closed 2 years ago

1sra3l commented 2 years ago

quick fl2rust + fltk-form example

The only thing I am unsure about is the "dependencies" line I added in the Cargo.toml is that the right way to add them?

MoAlyousef commented 2 years ago

Thanks for the PR. The dependency to fltk-form and fltk-form-derive should be added in the [dev-dependencies] since, like fltk, they're only used in the examples.

1sra3l commented 2 years ago

Update the README.md more when you have the link to the source code, and add any information you want. I put the fltk-form section at the end of the README, feel free to change it!

MoAlyousef commented 2 years ago

Looks good 👍

1sra3l commented 2 years ago

Thanks! I might create more to show a more detailed emit(), or how to access ui elements in more detail

MoAlyousef commented 2 years ago

Sounds good