mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-07-12 20:57:46 +02:00
Dynamically add bluetooth devices
Add scrolling for wifi Improve audio ui a little
This commit is contained in:
parent
13084ed86d
commit
e34e8ce80f
11 changed files with 263 additions and 141 deletions
|
@ -1,4 +1,4 @@
|
|||
use gtk::{Align, FlowBox, FlowBoxChild};
|
||||
use gtk::{Align, FlowBox, FlowBoxChild, Label};
|
||||
use gtk::prelude::{FlowBoxChildExt, WidgetExt};
|
||||
use crate::components::audio::audioBox::AudioBox;
|
||||
use crate::components::bluetooth::bluetoothBox::BluetoothBox;
|
||||
|
@ -59,9 +59,9 @@ pub const HANDLE_VOLUME_CLICK: fn(FlowBox) = |resetMain: FlowBox| {
|
|||
};
|
||||
|
||||
pub const HANDLE_MICROPHONE_CLICK: fn(FlowBox) = |resetMain: FlowBox| {
|
||||
let wifibox = WifiBox::new();
|
||||
let label = Label::new(Some("not implemented yet"));
|
||||
resetMain.remove_all();
|
||||
resetMain.insert(&wifibox, -1);
|
||||
resetMain.insert(&label, -1);
|
||||
};
|
||||
|
||||
pub const HANDLE_HOME: fn(FlowBox) = |resetMain: FlowBox| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue