desktop: Rename config.rs to preferences.rs
This commit is contained in:
parent
8b589a9620
commit
d62963c2d4
|
@ -1,8 +1,8 @@
|
|||
use crate::cli::Opt;
|
||||
use crate::config::GlobalPreferences;
|
||||
use crate::custom_event::RuffleEvent;
|
||||
use crate::gui::{GuiController, MENU_HEIGHT};
|
||||
use crate::player::{PlayerController, PlayerOptions};
|
||||
use crate::preferences::GlobalPreferences;
|
||||
use crate::util::{
|
||||
get_screen_size, gilrs_button_to_gamepad_button, parse_url, pick_file, plot_stats_in_tracy,
|
||||
winit_to_ruffle_key_code, winit_to_ruffle_text_control,
|
||||
|
|
|
@ -9,12 +9,12 @@ pub use movie::MovieView;
|
|||
use std::borrow::Cow;
|
||||
use url::Url;
|
||||
|
||||
use crate::config::GlobalPreferences;
|
||||
use crate::custom_event::RuffleEvent;
|
||||
use crate::gui::context_menu::ContextMenu;
|
||||
use crate::gui::open_dialog::OpenDialog;
|
||||
use crate::gui::preferences_dialog::PreferencesDialog;
|
||||
use crate::player::PlayerOptions;
|
||||
use crate::preferences::GlobalPreferences;
|
||||
use chrono::DateTime;
|
||||
use egui::*;
|
||||
use fluent_templates::fluent_bundle::FluentValue;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
use crate::backends::DesktopUiBackend;
|
||||
use crate::config::GlobalPreferences;
|
||||
use crate::custom_event::RuffleEvent;
|
||||
use crate::gui::movie::{MovieView, MovieViewRenderer};
|
||||
use crate::gui::{RuffleGui, MENU_HEIGHT};
|
||||
use crate::player::{PlayerController, PlayerOptions};
|
||||
use crate::preferences::GlobalPreferences;
|
||||
use anyhow::anyhow;
|
||||
use egui::{Context, ViewportId};
|
||||
use fontdb::{Database, Family, Query, Source};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use crate::config::GlobalPreferences;
|
||||
use crate::gui::text;
|
||||
use crate::preferences::GlobalPreferences;
|
||||
use egui::{Align2, Button, ComboBox, Grid, Ui, Widget, Window};
|
||||
use ruffle_render_wgpu::clap::{GraphicsBackend, PowerPreference};
|
||||
use std::borrow::Cow;
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
mod app;
|
||||
mod backends;
|
||||
mod cli;
|
||||
mod config;
|
||||
mod custom_event;
|
||||
mod executor;
|
||||
mod gui;
|
||||
mod player;
|
||||
mod preferences;
|
||||
mod task;
|
||||
mod time_demo;
|
||||
mod util;
|
||||
|
|
|
@ -2,10 +2,10 @@ use crate::backends::{
|
|||
CpalAudioBackend, DesktopExternalInterfaceProvider, DesktopFSCommandProvider, DesktopUiBackend,
|
||||
DiskStorageBackend, ExternalNavigatorBackend,
|
||||
};
|
||||
use crate::config::GlobalPreferences;
|
||||
use crate::custom_event::RuffleEvent;
|
||||
use crate::executor::WinitAsyncExecutor;
|
||||
use crate::gui::MovieView;
|
||||
use crate::preferences::GlobalPreferences;
|
||||
use crate::{CALLSTACK, RENDER_INFO, SWF_INFO};
|
||||
use anyhow::anyhow;
|
||||
use ruffle_core::backend::navigator::{OpenURLMode, SocketMode};
|
||||
|
|
Loading…
Reference in New Issue