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 cairo's live-demo #11

Closed
wants to merge 26 commits into from
Closed

add cairo's live-demo #11

wants to merge 26 commits into from

Conversation

theavege
Copy link
Contributor

@theavege theavege commented Jul 16, 2024

Terve!

@MoAlyousef I add cairo's demo.

  • Can you add features = ["use-ninja", "cairoext"] to flemish?
  • Can you add Event::Released to on_event()?
  • Can you add example for Settings{ on_close_fn: } ?
  • Can you make on_close_fn() like on_event() - Just send Message?
  • Can you add handling for deactivated widgets?
  • Can you add fltk-table and fltk-grid to flemish?
  • Can you add support MarkDown to HelpView?
  • Can you make default Settings { scheme: Some(app::Scheme::Base), color_map: Some(color_themes::GREY_THEME)} like in FLTK?
  • Can you add xclass and icon to Settings {}?
  • Can you make make default Settings {pos: <center_screen>}?

Kiitos, ystävällisin terveisin
Artöm

@theavege
Copy link
Contributor Author

theavege commented Jul 24, 2024

This don't work.

app::GlobalState::<Vec<String>>::new(Vec::new());
app::GlobalState::<HashMap<String, String>>::new(HashMap::new());

@MoAlyousef
Copy link
Contributor

There can be only one global state

@theavege
Copy link
Contributor Author

But app::GlobalState::<String>::new(String::new()); work.

@theavege
Copy link
Contributor Author

@MoAlyousef Could you add xclass and icon to Settings {}?

@MoAlyousef
Copy link
Contributor

This don't work.
app::GlobalState::<Vec<String>>::new(Vec::new());
app::GlobalState::<HashMap<String, String>>::new(HashMap::new());

This is not actionable to me. Do you have a minimal repro?

@MoAlyousef MoAlyousef closed this Jul 26, 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.

2 participants