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 simpler examples #4011

Open
Toby222 opened this issue Feb 9, 2024 · 5 comments
Open

Add simpler examples #4011

Toby222 opened this issue Feb 9, 2024 · 5 comments

Comments

@Toby222
Copy link

Toby222 commented Feb 9, 2024

Is your feature request related to a problem? Please describe.
The examples tend to be slightly over-complicated. The "hello_world" example has 3 dependencies, all with custom feature-sets, the "hello_world_simple" example only drops the image.

Describe the solution you'd like
A set of more basic examples.
E.g. a "hello world" that is strictly a text label for "Hello world", to make it more approachable for new users to understand what each part does.
A new user, or someone new to Rust will very likely not clone the egui repository just to run the examples, but will copy-paste the examples' source code to their own crate, only to be faced with unexpected -and unnecessary- missing modules.

Additional context
error message about missing env_logger dependency in hello_world_simple example

@rustbasic
Copy link
Contributor

How about creating and maintaining a repository for egui examples?

@YgorSouza
Copy link
Contributor

#3622 is trying to address this.

@Toby222
Copy link
Author

Toby222 commented Feb 11, 2024

There's also been no activity in that issue (barring yours just then) basically since it was first opened ^^;

@rustbasic
Copy link
Contributor

rustbasic commented Feb 12, 2024

@Toby222 @YgorSouza

I don’t think you need to think about it too hard.

Just open 'Repository' and merge all examples provided with the Pull Request.
If it's not a hack, just ignore the bug and merge.

It's a simple task, but rustbasic or emilk seem to have limitations in stamina.

Is there anyone who wants to try it?

@Agent-E11
Copy link

@Toby222 @YgorSouza

There's also been no activity in that issue (barring yours just then) basically since it was first opened ^^;

Yes, I originally opened the issue, but unfortunately I no longer have enough time to work on it.

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

No branches or pull requests

4 participants