client work
This commit is contained in:
parent
d27ba95d32
commit
1ee6707d39
1 changed files with 40 additions and 36 deletions
|
@ -115,19 +115,30 @@ impl eframe::App for WxboxApp {
|
||||||
.show(ui.ctx(), |ui| {
|
.show(ui.ctx(), |ui| {
|
||||||
ui.horizontal(|ui| {
|
ui.horizontal(|ui| {
|
||||||
ui.hyperlink_to(attribution.text, attribution.url);
|
ui.hyperlink_to(attribution.text, attribution.url);
|
||||||
})
|
});
|
||||||
|
ui.horizontal(|ui| {
|
||||||
|
ui.label("wxbox is made with <3 by ");
|
||||||
|
ui.hyperlink_to("core", "https://coredoes.dev");
|
||||||
|
ui.label(" and ");
|
||||||
|
ui.hyperlink_to("tm85", "https://u8.lc");
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
Window::new("wxbox")
|
Window::new("wxbox")
|
||||||
.resizable(false)
|
.resizable(false)
|
||||||
.show(ui.ctx(), |ui| {
|
.show(ui.ctx(), |ui| {
|
||||||
ui.label("Welcome to wxbox!")
|
ui.heading("Welcome to wxbox!");
|
||||||
|
ui.label("We're glad you're here; Open up the Datasource panel to get started.");
|
||||||
|
ui.label("If you're using a mouse, you can click and drag to move around and Ctrl+Scroll to zoom.");
|
||||||
|
ui.label("On a touch-based device like a trackpad or touchscreen, you can tap/click and drag to move around and two-finger pinch to zoom.");
|
||||||
|
ui.label("You can close this window by clicking the arrow to the left of it's title.");
|
||||||
});
|
});
|
||||||
|
|
||||||
let mut need_to_reset_for_next_frame = false;
|
let mut need_to_reset_for_next_frame = false;
|
||||||
|
|
||||||
Window::new("Datasource")
|
Window::new("Datasource")
|
||||||
.resizable(false)
|
.resizable(false)
|
||||||
|
.default_open(false)
|
||||||
.show(ui.ctx(), |ui| {
|
.show(ui.ctx(), |ui| {
|
||||||
ui.collapsing("NOAA", |ui| {
|
ui.collapsing("NOAA", |ui| {
|
||||||
ui.collapsing("Multi-Radar Multi-Sensor", |ui| {
|
ui.collapsing("Multi-Radar Multi-Sensor", |ui| {
|
||||||
|
@ -150,13 +161,7 @@ impl eframe::App for WxboxApp {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
ui.separator();
|
||||||
|
|
||||||
Window::new("Datasource Settings")
|
|
||||||
.resizable(false)
|
|
||||||
.show(ui.ctx(), |ui| {
|
|
||||||
let mut ui_builder = UiBuilder::new();
|
|
||||||
ui.scope_builder(ui_builder, |ui| {
|
|
||||||
egui::Grid::new("dsconfig_grid")
|
egui::Grid::new("dsconfig_grid")
|
||||||
.num_columns(2)
|
.num_columns(2)
|
||||||
.spacing([40.0, 4.0])
|
.spacing([40.0, 4.0])
|
||||||
|
@ -186,7 +191,6 @@ impl eframe::App for WxboxApp {
|
||||||
need_to_reset_for_next_frame = true;
|
need_to_reset_for_next_frame = true;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if need_to_reset_for_next_frame {
|
if need_to_reset_for_next_frame {
|
||||||
|
|
Loading…
Reference in a new issue