mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-22 15:10:05 +00:00
move rust-sciter in
This commit is contained in:
1 parent
bdfb59dd1a
commit
237e889604
76 files changed
+16950
-83
No files matched your search
@@ -0,0 +1,17 @@
|
||||
//! Sciter sample with archived resources.
|
||||
|
||||
extern crate sciter;
|
||||
|
||||
fn main() {
|
||||
let resources = include_bytes!("archived.rc");
|
||||
|
||||
let mut frame = sciter::WindowBuilder::main_window()
|
||||
.fixed()
|
||||
.with_size((600, 400))
|
||||
.create();
|
||||
|
||||
frame.archive_handler(resources).expect("Invalid archive");
|
||||
|
||||
frame.load_file("this://app/index.htm");
|
||||
frame.run_app();
|
||||
}
|
||||
Reference in new issue
Block a user