-
Hey guys I have some questions regarding this project:
?
use fltk::{app, prelude::*, window::Window};
fn main() {
let app = app::App::default();
let mut wind = Window::new(100, 100, 400, 300, "Hello from rust");
wind.end();
wind.show();
app.run().unwrap();
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It is designed to be retained mode.
Yes, have two two backends and it is generally designed to allow for multiple.
That is hard to say and depends on the complexity of our scene and your compute environment.
I believe so, yes.
Yes, that is our objective. We may not have the features set of egui just yet, but we're working towards it while maintaining our design oriented approach (as opposed to programming the user).
Well, we have not designed our API to be ... API agnostic :-). So we do require the programmer to use certain methods or APIs, partly because of our design choice and partly because of the underlying libraries that we use. For example at the moment we require running the event loop in the main thread. We do however provide functions to allow for communication between other threads, to make an integration as easy as possible. For example cargo-ui uses that to do its work using using async functions driven by tokio, in a separate thread, and it communicates with the SixtyFPS UI. That said, you're writing |
Beta Was this translation helpful? Give feedback.
It is designed to be retained mode.
Yes, have two two backends and it is generally designed to allow for multiple.
That is hard to say and depends on the complexity of our scene and your compute environment.
I believe so, yes.