diff --git a/applets/cosmic-applet-network/src/main.rs b/applets/cosmic-applet-network/src/main.rs index 5258daa7..d48798dd 100644 --- a/applets/cosmic-applet-network/src/main.rs +++ b/applets/cosmic-applet-network/src/main.rs @@ -7,7 +7,7 @@ pub mod task; pub mod ui; pub mod widgets; -use gtk4::{gio::ApplicationFlags, prelude::*, Orientation}; +use gtk4::{gio::ApplicationFlags, prelude::*, Orientation, Separator}; use once_cell::sync::Lazy; use tokio::runtime::Runtime; @@ -41,6 +41,10 @@ fn build_ui(application: >k4::Application) { } } ui::toggles::add_toggles(&main_box); + main_box.append(&Separator::new(Orientation::Horizontal)); + ui::current_networks::add_current_networks(&main_box); + main_box.append(&Separator::new(Orientation::Horizontal)); + ui::available_wifi::add_available_wifi(&main_box); window.set_child(Some(&main_box)); window.show(); diff --git a/applets/cosmic-applet-network/src/ui.rs b/applets/cosmic-applet-network/src/ui.rs index 31363901..8a0eebea 100644 --- a/applets/cosmic-applet-network/src/ui.rs +++ b/applets/cosmic-applet-network/src/ui.rs @@ -1,3 +1,5 @@ // SPDX-License-Identifier: LGPL-3.0-or-later +pub mod available_wifi; +pub mod current_networks; pub mod toggles; diff --git a/applets/cosmic-applet-network/src/ui/available_wifi.rs b/applets/cosmic-applet-network/src/ui/available_wifi.rs new file mode 100644 index 00000000..1c75f022 --- /dev/null +++ b/applets/cosmic-applet-network/src/ui/available_wifi.rs @@ -0,0 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + +use gtk4::{Label, ScrolledWindow}; + +pub fn add_available_wifi(target: >k4::Box) {} diff --git a/applets/cosmic-applet-network/src/ui/current_networks.rs b/applets/cosmic-applet-network/src/ui/current_networks.rs new file mode 100644 index 00000000..9cf8f0ef --- /dev/null +++ b/applets/cosmic-applet-network/src/ui/current_networks.rs @@ -0,0 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + +use gtk4::Label; + +pub fn add_current_networks(target: >k4::Box) {}