Move MouseCursor to iced_wgpu
This commit is contained in:
parent
a7d1194403
commit
a90f7fcb98
6 changed files with 5 additions and 10 deletions
|
|
@ -103,7 +103,7 @@ where
|
||||||
/// #
|
/// #
|
||||||
/// # mod iced_wgpu {
|
/// # mod iced_wgpu {
|
||||||
/// # use iced_native::{
|
/// # use iced_native::{
|
||||||
/// # button, row, Button, MouseCursor, Node, Point, Rectangle, Style, Layout, Row
|
/// # button, row, Button, Node, Point, Rectangle, Style, Layout, Row
|
||||||
/// # };
|
/// # };
|
||||||
/// # pub struct Renderer;
|
/// # pub struct Renderer;
|
||||||
/// #
|
/// #
|
||||||
|
|
|
||||||
|
|
@ -77,8 +77,7 @@
|
||||||
//! #
|
//! #
|
||||||
//! # mod iced_wgpu {
|
//! # mod iced_wgpu {
|
||||||
//! # use iced_native::{
|
//! # use iced_native::{
|
||||||
//! # button, text, Button, Text,
|
//! # button, text, Button, Text, Node, Point, Rectangle, Style, Color, Layout
|
||||||
//! # MouseCursor, Node, Point, Rectangle, Style, Color, Layout
|
|
||||||
//! # };
|
//! # };
|
||||||
//! #
|
//! #
|
||||||
//! # pub struct Renderer {}
|
//! # pub struct Renderer {}
|
||||||
|
|
@ -207,7 +206,6 @@ mod element;
|
||||||
mod event;
|
mod event;
|
||||||
mod hasher;
|
mod hasher;
|
||||||
mod layout;
|
mod layout;
|
||||||
mod mouse_cursor;
|
|
||||||
mod node;
|
mod node;
|
||||||
mod style;
|
mod style;
|
||||||
mod user_interface;
|
mod user_interface;
|
||||||
|
|
@ -223,7 +221,6 @@ pub use element::Element;
|
||||||
pub use event::Event;
|
pub use event::Event;
|
||||||
pub use hasher::Hasher;
|
pub use hasher::Hasher;
|
||||||
pub use layout::Layout;
|
pub use layout::Layout;
|
||||||
pub use mouse_cursor::MouseCursor;
|
|
||||||
pub use node::Node;
|
pub use node::Node;
|
||||||
pub use renderer::Renderer;
|
pub use renderer::Renderer;
|
||||||
pub use style::Style;
|
pub use style::Style;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//! Display images in your user interface.
|
//! Display images in your user interface.
|
||||||
|
|
||||||
use crate::{Element, Hasher, Layout, MouseCursor, Node, Point, Widget};
|
use crate::{Element, Hasher, Layout, Node, Point, Widget};
|
||||||
|
|
||||||
use std::hash::Hash;
|
use std::hash::Hash;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
use std::hash::Hash;
|
use std::hash::Hash;
|
||||||
|
|
||||||
use crate::{
|
use crate::{Element, Event, Hasher, Layout, Node, Point, Style, Widget};
|
||||||
Element, Event, Hasher, Layout, MouseCursor, Node, Point, Style, Widget,
|
|
||||||
};
|
|
||||||
|
|
||||||
/// A container that distributes its contents horizontally.
|
/// A container that distributes its contents horizontally.
|
||||||
pub type Row<'a, Message, Renderer> =
|
pub type Row<'a, Message, Renderer> =
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
use std::hash::Hash;
|
use std::hash::Hash;
|
||||||
|
|
||||||
use crate::input::{mouse, ButtonState};
|
use crate::input::{mouse, ButtonState};
|
||||||
use crate::{Element, Event, Hasher, Layout, MouseCursor, Node, Point, Widget};
|
use crate::{Element, Event, Hasher, Layout, Node, Point, Widget};
|
||||||
|
|
||||||
pub use iced_core::slider::*;
|
pub use iced_core::slider::*;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue