Compare commits
3 commits
993f6b445d
...
30d613d753
Author | SHA1 | Date | |
---|---|---|---|
30d613d753 | |||
666547b6d0 | |||
|
0409e26410 |
2 changed files with 3 additions and 3 deletions
|
@ -8,5 +8,5 @@ edition = "2021"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serialport = "4.3.0"
|
serialport = "4.3.0"
|
||||||
gtk = { version = "0.18.1", features = ["v3_24"] }
|
gtk = { version = "0.18.1", features = ["v3_24"] }
|
||||||
anyhow = { version = "1.0.81", features = ["backtrace"] }
|
anyhow = { version = "1.0.82", features = ["backtrace"] }
|
||||||
glib = "0.18.5"
|
glib = "0.18.5"
|
||||||
|
|
|
@ -35,8 +35,8 @@ fn main() {
|
||||||
|
|
||||||
let master_box = gtk::Box::new(Orientation::Vertical, 5);
|
let master_box = gtk::Box::new(Orientation::Vertical, 5);
|
||||||
let top_bar_box = gtk::Box::new(Orientation::Horizontal, 5);
|
let top_bar_box = gtk::Box::new(Orientation::Horizontal, 5);
|
||||||
let pid = Entry::builder().text("0x27dd").editable(true).build();
|
let pid = Entry::builder().text("0xcafe").editable(true).build();
|
||||||
let vid = Entry::builder().text("0x16c0").editable(true).build();
|
let vid = Entry::builder().text("0xc0de").editable(true).build();
|
||||||
let connect_button = Button::with_label("Connect");
|
let connect_button = Button::with_label("Connect");
|
||||||
let reset_button = Button::with_label("Reset");
|
let reset_button = Button::with_label("Reset");
|
||||||
let serial_info = TextView::new();
|
let serial_info = TextView::new();
|
||||||
|
|
Loading…
Reference in a new issue