diff options
author | 2021-12-23 09:34:37 +0200 | |
---|---|---|
committer | 2022-01-03 11:36:13 +0700 | |
commit | ff2a470fd85cc3ccf8c32f6268a0e8aa0075dd38 (patch) | |
tree | 585eb9300840c72fa954d10d40389c959a914de3 /native | |
parent | d19858bce8f4e425837d55c9bda44c258b2dd176 (diff) | |
download | iced-ff2a470fd85cc3ccf8c32f6268a0e8aa0075dd38.tar.gz iced-ff2a470fd85cc3ccf8c32f6268a0e8aa0075dd38.tar.bz2 iced-ff2a470fd85cc3ccf8c32f6268a0e8aa0075dd38.zip |
Change GitHub namespace to new org for all files
Diffstat (limited to 'native')
-rw-r--r-- | native/Cargo.toml | 2 | ||||
-rw-r--r-- | native/README.md | 4 | ||||
-rw-r--r-- | native/src/event.rs | 2 | ||||
-rw-r--r-- | native/src/lib.rs | 6 | ||||
-rw-r--r-- | native/src/user_interface.rs | 2 | ||||
-rw-r--r-- | native/src/widget.rs | 10 | ||||
-rw-r--r-- | native/src/widget/checkbox.rs | 2 | ||||
-rw-r--r-- | native/src/widget/image.rs | 2 | ||||
-rw-r--r-- | native/src/widget/pane_grid.rs | 2 | ||||
-rw-r--r-- | native/src/widget/radio.rs | 2 | ||||
-rw-r--r-- | native/src/widget/text.rs | 2 | ||||
-rw-r--r-- | native/src/widget/text_input.rs | 2 |
12 files changed, 19 insertions, 19 deletions
diff --git a/native/Cargo.toml b/native/Cargo.toml index b662e6fa..8f0aea6a 100644 --- a/native/Cargo.toml +++ b/native/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"] edition = "2018" description = "A renderer-agnostic library for native GUIs" license = "MIT" -repository = "https://github.com/hecrj/iced" +repository = "https://github.com/iced-rs/iced" [features] debug = [] diff --git a/native/README.md b/native/README.md index 0d79690a..ceb525d9 100644 --- a/native/README.md +++ b/native/README.md @@ -1,7 +1,7 @@ # `iced_native` [][documentation] [](https://crates.io/crates/iced_native) -[](https://github.com/hecrj/iced/blob/master/LICENSE) +[](https://github.com/iced-rs/iced/blob/master/LICENSE) [](https://iced.zulipchat.com) `iced_native` takes [`iced_core`] and builds a native runtime on top of it, featuring: @@ -34,4 +34,4 @@ iced_native = "0.4" __Iced moves fast and the `master` branch can contain breaking changes!__ If you want to learn about a specific release, check out [the release list]. -[the release list]: https://github.com/hecrj/iced/releases +[the release list]: https://github.com/iced-rs/iced/releases diff --git a/native/src/event.rs b/native/src/event.rs index 1c26b5f2..27540a25 100644 --- a/native/src/event.rs +++ b/native/src/event.rs @@ -9,7 +9,7 @@ use crate::window; /// _**Note:** This type is largely incomplete! If you need to track /// additional events, feel free to [open an issue] and share your use case!_ /// -/// [open an issue]: https://github.com/hecrj/iced/issues +/// [open an issue]: https://github.com/iced-rs/iced/issues #[derive(Debug, Clone, PartialEq)] pub enum Event { /// A keyboard event diff --git a/native/src/lib.rs b/native/src/lib.rs index 950454ce..4753bba2 100644 --- a/native/src/lib.rs +++ b/native/src/lib.rs @@ -1,6 +1,6 @@ //! A renderer-agnostic native GUI runtime. //! -//!  +//!  //! //! `iced_native` takes [`iced_core`] and builds a native runtime on top of it, //! featuring: @@ -23,8 +23,8 @@ //! - Build a new renderer, see the [renderer] module. //! - Build a custom widget, start at the [`Widget`] trait. //! -//! [`iced_core`]: https://github.com/hecrj/iced/tree/master/core -//! [`iced_winit`]: https://github.com/hecrj/iced/tree/master/winit +//! [`iced_core`]: https://github.com/iced-rs/iced/tree/master/core +//! [`iced_winit`]: https://github.com/iced-rs/iced/tree/master/winit //! [`druid`]: https://github.com/xi-editor/druid //! [`raw-window-handle`]: https://github.com/rust-windowing/raw-window-handle //! [renderer]: crate::renderer diff --git a/native/src/user_interface.rs b/native/src/user_interface.rs index 5d24bf4f..40f7a204 100644 --- a/native/src/user_interface.rs +++ b/native/src/user_interface.rs @@ -18,7 +18,7 @@ use std::hash::Hasher; /// The [`integration` example] uses a [`UserInterface`] to integrate Iced in /// an existing graphical application. /// -/// [`integration` example]: https://github.com/hecrj/iced/tree/0.3/examples/integration +/// [`integration` example]: https://github.com/iced-rs/iced/tree/0.3/examples/integration #[allow(missing_debug_implementations)] pub struct UserInterface<'a, Message, Renderer> { root: Element<'a, Message, Renderer>, diff --git a/native/src/widget.rs b/native/src/widget.rs index e2613e67..caa3f0bc 100644 --- a/native/src/widget.rs +++ b/native/src/widget.rs @@ -93,12 +93,12 @@ use crate::{Clipboard, Hasher, Layout, Length, Point, Rectangle, Shell}; /// - [`geometry`], a custom widget showcasing how to draw geometry with the /// `Mesh2D` primitive in [`iced_wgpu`]. /// -/// [examples]: https://github.com/hecrj/iced/tree/0.3/examples -/// [`bezier_tool`]: https://github.com/hecrj/iced/tree/0.3/examples/bezier_tool -/// [`custom_widget`]: https://github.com/hecrj/iced/tree/0.3/examples/custom_widget -/// [`geometry`]: https://github.com/hecrj/iced/tree/0.3/examples/geometry +/// [examples]: https://github.com/iced-rs/iced/tree/0.3/examples +/// [`bezier_tool`]: https://github.com/iced-rs/iced/tree/0.3/examples/bezier_tool +/// [`custom_widget`]: https://github.com/iced-rs/iced/tree/0.3/examples/custom_widget +/// [`geometry`]: https://github.com/iced-rs/iced/tree/0.3/examples/geometry /// [`lyon`]: https://github.com/nical/lyon -/// [`iced_wgpu`]: https://github.com/hecrj/iced/tree/0.3/wgpu +/// [`iced_wgpu`]: https://github.com/iced-rs/iced/tree/0.3/wgpu pub trait Widget<Message, Renderer> where Renderer: crate::Renderer, diff --git a/native/src/widget/checkbox.rs b/native/src/widget/checkbox.rs index 5a8dbc83..95856928 100644 --- a/native/src/widget/checkbox.rs +++ b/native/src/widget/checkbox.rs @@ -32,7 +32,7 @@ pub use iced_style::checkbox::{Style, StyleSheet}; /// Checkbox::new(is_checked, "Toggle me!", Message::CheckboxToggled); /// ``` /// -///  +///  #[allow(missing_debug_implementations)] pub struct Checkbox<'a, Message, Renderer: text::Renderer> { is_checked: bool, diff --git a/native/src/widget/image.rs b/native/src/widget/image.rs index 164b4a5e..b8fb662e 100644 --- a/native/src/widget/image.rs +++ b/native/src/widget/image.rs @@ -20,7 +20,7 @@ use std::hash::Hash; /// let image = Image::<image::Handle>::new("resources/ferris.png"); /// ``` /// -/// <img src="https://github.com/hecrj/iced/blob/9712b319bb7a32848001b96bd84977430f14b623/examples/resources/ferris.png?raw=true" width="300"> +/// <img src="https://github.com/iced-rs/iced/blob/9712b319bb7a32848001b96bd84977430f14b623/examples/resources/ferris.png?raw=true" width="300"> #[derive(Debug, Hash)] pub struct Image<Handle> { handle: Handle, diff --git a/native/src/widget/pane_grid.rs b/native/src/widget/pane_grid.rs index 24b87eed..b3d8b819 100644 --- a/native/src/widget/pane_grid.rs +++ b/native/src/widget/pane_grid.rs @@ -6,7 +6,7 @@ //! The [`pane_grid` example] showcases how to use a [`PaneGrid`] with resizing, //! drag and drop, and hotkey support. //! -//! [`pane_grid` example]: https://github.com/hecrj/iced/tree/0.3/examples/pane_grid +//! [`pane_grid` example]: https://github.com/iced-rs/iced/tree/0.3/examples/pane_grid mod axis; mod configuration; mod content; diff --git a/native/src/widget/radio.rs b/native/src/widget/radio.rs index aa7019d4..1dbe7cf5 100644 --- a/native/src/widget/radio.rs +++ b/native/src/widget/radio.rs @@ -41,7 +41,7 @@ pub use iced_style::radio::{Style, StyleSheet}; /// Radio::new(Choice::B, "This is B", selected_choice, Message::RadioSelected); /// ``` /// -///  +///  #[allow(missing_debug_implementations)] pub struct Radio<'a, Message, Renderer: text::Renderer> { is_selected: bool, diff --git a/native/src/widget/text.rs b/native/src/widget/text.rs index 488b45c4..f0b29d15 100644 --- a/native/src/widget/text.rs +++ b/native/src/widget/text.rs @@ -21,7 +21,7 @@ use std::hash::Hash; /// .size(40); /// ``` /// -///  +///  #[derive(Debug)] pub struct Text<Renderer: text::Renderer> { content: String, diff --git a/native/src/widget/text_input.rs b/native/src/widget/text_input.rs index fb9f0834..f06b6aa6 100644 --- a/native/src/widget/text_input.rs +++ b/native/src/widget/text_input.rs @@ -52,7 +52,7 @@ pub use iced_style::text_input::{Style, StyleSheet}; /// ) /// .padding(10); /// ``` -///  +///  #[allow(missing_debug_implementations)] pub struct TextInput<'a, Message, Renderer: text::Renderer> { state: &'a mut State, |