Rename GraphicsInformation to Information
This commit is contained in:
parent
7a13928130
commit
5be1ac18fe
7 changed files with 13 additions and 13 deletions
|
|
@ -520,7 +520,7 @@ pub fn update<A: Application, E: Executor>(
|
|||
debug: &mut Debug,
|
||||
messages: &mut Vec<A::Message>,
|
||||
window: &winit::window::Window,
|
||||
graphics_info: &window::GraphicsInformation,
|
||||
graphics_info: &window::Information,
|
||||
) {
|
||||
for message in messages.drain(..) {
|
||||
debug.log_message(&message);
|
||||
|
|
@ -543,7 +543,7 @@ pub fn run_command<Message: 'static + std::fmt::Debug + Send, E: Executor>(
|
|||
clipboard: &mut Clipboard,
|
||||
proxy: &mut winit::event_loop::EventLoopProxy<Message>,
|
||||
window: &winit::window::Window,
|
||||
graphics_info: &window::GraphicsInformation,
|
||||
graphics_info: &window::Information,
|
||||
) {
|
||||
use iced_native::command;
|
||||
use iced_native::system;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ pub fn information<Message>(
|
|||
|
||||
#[cfg(feature = "sysinfo")]
|
||||
pub(crate) fn get_information(
|
||||
graphics_info: &window::GraphicsInformation,
|
||||
graphics_info: &window::Information,
|
||||
) -> Option<Information> {
|
||||
use sysinfo::{ProcessExt, ProcessorExt, System, SystemExt};
|
||||
let mut system = System::new_all();
|
||||
|
|
@ -47,7 +47,7 @@ pub(crate) fn get_information(
|
|||
|
||||
#[cfg(not(feature = "sysinfo"))]
|
||||
pub(crate) fn get_information(
|
||||
_graphics_info: &window::GraphicsInformation,
|
||||
_graphics_info: &window::Information,
|
||||
) -> Option<Information> {
|
||||
None
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue