frontend: the advoware GUI

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2020-06-12 16:39:45 +02:00
parent 3837183199
commit 51b73d0978
68 changed files with 3499 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
use orbtk::prelude::*;
fn main() {
// use this only if you want to run it as web application.
orbtk::initialize();
Application::new()
.window(|ctx| {
Window::create()
.title("OrbTk - minimal example")
.position((100.0, 100.0))
.size(420.0, 730.0)
.child(TextBlock::create().text("OrbTk").margin(4.0).build(ctx))
.build(ctx)
})
.run();
}