mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-04-28 14:31:23 +00:00
new hotkeys to select dirs, files.
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
use crate::types::audio_player::PlayerState;
|
||||
|
||||
use egui::Id;
|
||||
|
||||
use std::{
|
||||
collections::{HashMap, HashSet},
|
||||
path::PathBuf,
|
||||
@@ -18,6 +21,12 @@ pub struct AppState {
|
||||
|
||||
pub current_dir: Option<PathBuf>,
|
||||
pub dirs: HashSet<PathBuf>,
|
||||
|
||||
pub selected_file: Option<PathBuf>,
|
||||
pub files: HashSet<PathBuf>,
|
||||
|
||||
pub search_field_id: Option<Id>,
|
||||
pub force_focus_id: Option<Id>,
|
||||
}
|
||||
|
||||
#[derive(Default, Debug, Clone)]
|
||||
|
||||
Reference in New Issue
Block a user