Change GitHub namespace to new org for all files
This commit is contained in:
parent
d19858bce8
commit
ff2a470fd8
36 changed files with 122 additions and 122 deletions
132
CHANGELOG.md
132
CHANGELOG.md
|
|
@ -41,30 +41,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- `Viewport::physical_width` returning the wrong value. [#700]
|
||||
- Outdated documentation for the `Sandbox` trait. [#710]
|
||||
|
||||
[#57]: https://github.com/hecrj/iced/pull/57
|
||||
[#283]: https://github.com/hecrj/iced/pull/283
|
||||
[#319]: https://github.com/hecrj/iced/pull/319
|
||||
[#392]: https://github.com/hecrj/iced/pull/392
|
||||
[#465]: https://github.com/hecrj/iced/pull/465
|
||||
[#650]: https://github.com/hecrj/iced/pull/650
|
||||
[#657]: https://github.com/hecrj/iced/pull/657
|
||||
[#658]: https://github.com/hecrj/iced/pull/658
|
||||
[#668]: https://github.com/hecrj/iced/pull/668
|
||||
[#669]: https://github.com/hecrj/iced/pull/669
|
||||
[#672]: https://github.com/hecrj/iced/pull/672
|
||||
[#699]: https://github.com/hecrj/iced/pull/699
|
||||
[#700]: https://github.com/hecrj/iced/pull/700
|
||||
[#701]: https://github.com/hecrj/iced/pull/701
|
||||
[#710]: https://github.com/hecrj/iced/pull/710
|
||||
[#719]: https://github.com/hecrj/iced/pull/719
|
||||
[#720]: https://github.com/hecrj/iced/pull/720
|
||||
[#725]: https://github.com/hecrj/iced/pull/725
|
||||
[#760]: https://github.com/hecrj/iced/pull/760
|
||||
[#764]: https://github.com/hecrj/iced/pull/764
|
||||
[#770]: https://github.com/hecrj/iced/pull/770
|
||||
[#773]: https://github.com/hecrj/iced/pull/773
|
||||
[#789]: https://github.com/hecrj/iced/pull/789
|
||||
[#804]: https://github.com/hecrj/iced/pull/804
|
||||
[#57]: https://github.com/iced-rs/iced/pull/57
|
||||
[#283]: https://github.com/iced-rs/iced/pull/283
|
||||
[#319]: https://github.com/iced-rs/iced/pull/319
|
||||
[#392]: https://github.com/iced-rs/iced/pull/392
|
||||
[#465]: https://github.com/iced-rs/iced/pull/465
|
||||
[#650]: https://github.com/iced-rs/iced/pull/650
|
||||
[#657]: https://github.com/iced-rs/iced/pull/657
|
||||
[#658]: https://github.com/iced-rs/iced/pull/658
|
||||
[#668]: https://github.com/iced-rs/iced/pull/668
|
||||
[#669]: https://github.com/iced-rs/iced/pull/669
|
||||
[#672]: https://github.com/iced-rs/iced/pull/672
|
||||
[#699]: https://github.com/iced-rs/iced/pull/699
|
||||
[#700]: https://github.com/iced-rs/iced/pull/700
|
||||
[#701]: https://github.com/iced-rs/iced/pull/701
|
||||
[#710]: https://github.com/iced-rs/iced/pull/710
|
||||
[#719]: https://github.com/iced-rs/iced/pull/719
|
||||
[#720]: https://github.com/iced-rs/iced/pull/720
|
||||
[#725]: https://github.com/iced-rs/iced/pull/725
|
||||
[#760]: https://github.com/iced-rs/iced/pull/760
|
||||
[#764]: https://github.com/iced-rs/iced/pull/764
|
||||
[#770]: https://github.com/iced-rs/iced/pull/770
|
||||
[#773]: https://github.com/iced-rs/iced/pull/773
|
||||
[#789]: https://github.com/iced-rs/iced/pull/789
|
||||
[#804]: https://github.com/iced-rs/iced/pull/804
|
||||
[`smol`]: https://github.com/smol-rs/smol
|
||||
[`winit`]: https://github.com/rust-windowing/winit
|
||||
[`glutin`]: https://github.com/rust-windowing/glutin
|
||||
|
|
@ -96,22 +96,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- __[`QRCode` widget][qr_code]__ (#622)
|
||||
A widget that displays a QR code, powered by [the `qrcode` crate].
|
||||
|
||||
[canvas]: https://github.com/hecrj/iced/pull/325
|
||||
[opengl]: https://github.com/hecrj/iced/pull/354
|
||||
[`iced_graphics`]: https://github.com/hecrj/iced/pull/354
|
||||
[pane_grid]: https://github.com/hecrj/iced/pull/397
|
||||
[pick_list]: https://github.com/hecrj/iced/pull/444
|
||||
[error]: https://github.com/hecrj/iced/pull/514
|
||||
[view]: https://github.com/hecrj/iced/pull/597
|
||||
[event]: https://github.com/hecrj/iced/pull/614
|
||||
[color]: https://github.com/hecrj/iced/pull/200
|
||||
[qr_code]: https://github.com/hecrj/iced/pull/622
|
||||
[#193]: https://github.com/hecrj/iced/pull/193
|
||||
[canvas]: https://github.com/iced-rs/iced/pull/325
|
||||
[opengl]: https://github.com/iced-rs/iced/pull/354
|
||||
[`iced_graphics`]: https://github.com/iced-rs/iced/pull/354
|
||||
[pane_grid]: https://github.com/iced-rs/iced/pull/397
|
||||
[pick_list]: https://github.com/iced-rs/iced/pull/444
|
||||
[error]: https://github.com/iced-rs/iced/pull/514
|
||||
[view]: https://github.com/iced-rs/iced/pull/597
|
||||
[event]: https://github.com/iced-rs/iced/pull/614
|
||||
[color]: https://github.com/iced-rs/iced/pull/200
|
||||
[qr_code]: https://github.com/iced-rs/iced/pull/622
|
||||
[#193]: https://github.com/iced-rs/iced/pull/193
|
||||
[`glutin`]: https://github.com/rust-windowing/glutin
|
||||
[`wgpu`]: https://github.com/gfx-rs/wgpu-rs
|
||||
[`glow`]: https://github.com/grovesNL/glow
|
||||
[the `qrcode` crate]: https://docs.rs/qrcode/0.12.0/qrcode/
|
||||
[integration with existing applications]: https://github.com/hecrj/iced/pull/183
|
||||
[integration with existing applications]: https://github.com/iced-rs/iced/pull/183
|
||||
[The Elm Architecture]: https://guide.elm-lang.org/architecture/
|
||||
|
||||
|
||||
|
|
@ -142,17 +142,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
### Removed
|
||||
- Unnecessary `'static` lifetimes in `Renderer` bounds. [#290]
|
||||
|
||||
[#259]: https://github.com/hecrj/iced/pull/259
|
||||
[#260]: https://github.com/hecrj/iced/pull/260
|
||||
[#266]: https://github.com/hecrj/iced/pull/266
|
||||
[#267]: https://github.com/hecrj/iced/pull/267
|
||||
[#268]: https://github.com/hecrj/iced/pull/268
|
||||
[#278]: https://github.com/hecrj/iced/pull/278
|
||||
[#279]: https://github.com/hecrj/iced/pull/279
|
||||
[#281]: https://github.com/hecrj/iced/pull/281
|
||||
[#289]: https://github.com/hecrj/iced/pull/289
|
||||
[#290]: https://github.com/hecrj/iced/pull/290
|
||||
[#293]: https://github.com/hecrj/iced/pull/293
|
||||
[#259]: https://github.com/iced-rs/iced/pull/259
|
||||
[#260]: https://github.com/iced-rs/iced/pull/260
|
||||
[#266]: https://github.com/iced-rs/iced/pull/266
|
||||
[#267]: https://github.com/iced-rs/iced/pull/267
|
||||
[#268]: https://github.com/iced-rs/iced/pull/268
|
||||
[#278]: https://github.com/iced-rs/iced/pull/278
|
||||
[#279]: https://github.com/iced-rs/iced/pull/279
|
||||
[#281]: https://github.com/iced-rs/iced/pull/281
|
||||
[#289]: https://github.com/iced-rs/iced/pull/289
|
||||
[#290]: https://github.com/iced-rs/iced/pull/290
|
||||
[#293]: https://github.com/iced-rs/iced/pull/293
|
||||
|
||||
|
||||
## [0.1.0] - 2020-04-02
|
||||
|
|
@ -187,17 +187,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- __[Texture atlas for `iced_wgpu`]__ (#154)
|
||||
An atlas on top of [`guillotiere`] for batching draw calls. Thanks to @Maldela!
|
||||
|
||||
[Event subscriptions]: https://github.com/hecrj/iced/pull/122
|
||||
[Custom styling]: https://github.com/hecrj/iced/pull/146
|
||||
[`Canvas` widget]: https://github.com/hecrj/iced/pull/193
|
||||
[`PaneGrid` widget]: https://github.com/hecrj/iced/pull/224
|
||||
[`Svg` widget]: https://github.com/hecrj/iced/pull/111
|
||||
[`ProgressBar` widget]: https://github.com/hecrj/iced/pull/141
|
||||
[Configurable futures executor]: https://github.com/hecrj/iced/pull/164
|
||||
[Compatibility with existing `wgpu` projects]: https://github.com/hecrj/iced/pull/183
|
||||
[Clipboard access]: https://github.com/hecrj/iced/pull/132
|
||||
[Texture atlas for `iced_wgpu`]: https://github.com/hecrj/iced/pull/154
|
||||
[Text selection for `TextInput`]: https://github.com/hecrj/iced/pull/202
|
||||
[Event subscriptions]: https://github.com/iced-rs/iced/pull/122
|
||||
[Custom styling]: https://github.com/iced-rs/iced/pull/146
|
||||
[`Canvas` widget]: https://github.com/iced-rs/iced/pull/193
|
||||
[`PaneGrid` widget]: https://github.com/iced-rs/iced/pull/224
|
||||
[`Svg` widget]: https://github.com/iced-rs/iced/pull/111
|
||||
[`ProgressBar` widget]: https://github.com/iced-rs/iced/pull/141
|
||||
[Configurable futures executor]: https://github.com/iced-rs/iced/pull/164
|
||||
[Compatibility with existing `wgpu` projects]: https://github.com/iced-rs/iced/pull/183
|
||||
[Clipboard access]: https://github.com/iced-rs/iced/pull/132
|
||||
[Texture atlas for `iced_wgpu`]: https://github.com/iced-rs/iced/pull/154
|
||||
[Text selection for `TextInput`]: https://github.com/iced-rs/iced/pull/202
|
||||
[`lyon`]: https://github.com/nical/lyon
|
||||
[`guillotiere`]: https://github.com/nical/guillotiere
|
||||
[Web Canvas API]: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API
|
||||
|
|
@ -207,7 +207,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
[`wasm-bindgen-futures`]: https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures
|
||||
[`resvg`]: https://github.com/RazrFalcon/resvg
|
||||
[`raqote`]: https://github.com/jrmuizel/raqote
|
||||
[`iced_wgpu`]: https://github.com/hecrj/iced/tree/master/wgpu
|
||||
[`iced_wgpu`]: https://github.com/iced-rs/iced/tree/master/wgpu
|
||||
|
||||
|
||||
## [0.1.0-beta] - 2019-11-25
|
||||
|
|
@ -219,10 +219,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
### Added
|
||||
- First release! :tada:
|
||||
|
||||
[Unreleased]: https://github.com/hecrj/iced/compare/0.3.0...HEAD
|
||||
[0.3.0]: https://github.com/hecrj/iced/compare/0.2.0...0.3.0
|
||||
[0.2.0]: https://github.com/hecrj/iced/compare/0.1.1...0.2.0
|
||||
[0.1.1]: https://github.com/hecrj/iced/compare/0.1.0...0.1.1
|
||||
[0.1.0]: https://github.com/hecrj/iced/compare/0.1.0-beta...0.1.0
|
||||
[0.1.0-beta]: https://github.com/hecrj/iced/compare/0.1.0-alpha...0.1.0-beta
|
||||
[0.1.0-alpha]: https://github.com/hecrj/iced/releases/tag/0.1.0-alpha
|
||||
[Unreleased]: https://github.com/iced-rs/iced/compare/0.3.0...HEAD
|
||||
[0.3.0]: https://github.com/iced-rs/iced/compare/0.2.0...0.3.0
|
||||
[0.2.0]: https://github.com/iced-rs/iced/compare/0.1.1...0.2.0
|
||||
[0.1.1]: https://github.com/iced-rs/iced/compare/0.1.0...0.1.1
|
||||
[0.1.0]: https://github.com/iced-rs/iced/compare/0.1.0-beta...0.1.0
|
||||
[0.1.0-beta]: https://github.com/iced-rs/iced/compare/0.1.0-alpha...0.1.0-beta
|
||||
[0.1.0-alpha]: https://github.com/iced-rs/iced/releases/tag/0.1.0-alpha
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
|||
edition = "2018"
|
||||
description = "A cross-platform GUI library inspired by Elm"
|
||||
license = "MIT"
|
||||
repository = "https://github.com/hecrj/iced"
|
||||
repository = "https://github.com/iced-rs/iced"
|
||||
documentation = "https://docs.rs/iced"
|
||||
readme = "README.md"
|
||||
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
|||
edition = "2018"
|
||||
description = "The essential concepts of Iced"
|
||||
license = "MIT"
|
||||
repository = "https://github.com/hecrj/iced"
|
||||
repository = "https://github.com/iced-rs/iced"
|
||||
|
||||
[dependencies]
|
||||
bitflags = "1.2"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# `iced_core`
|
||||
[][documentation]
|
||||
[](https://crates.io/crates/iced_core)
|
||||
[](https://github.com/hecrj/iced/blob/master/LICENSE)
|
||||
[](https://github.com/iced-rs/iced/blob/master/LICENSE)
|
||||
[](https://iced.zulipchat.com)
|
||||
|
||||
`iced_core` holds basic reusable types of the public API. For instance, basic data types like `Point`, `Rectangle`, `Length`, etc.
|
||||
|
|
@ -24,4 +24,4 @@ iced_core = "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
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ use super::{KeyCode, Modifiers};
|
|||
/// _**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, Copy, PartialEq)]
|
||||
pub enum Event {
|
||||
/// A keyboard key was pressed.
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@
|
|||
//! different runtime implementations. For instance, both [`iced_native`] and
|
||||
//! [`iced_web`] are built on top of `iced_core`.
|
||||
//!
|
||||
//! 
|
||||
//! 
|
||||
//!
|
||||
//! [Iced]: https://github.com/hecrj/iced
|
||||
//! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native
|
||||
//! [`iced_web`]: https://github.com/hecrj/iced/tree/master/web
|
||||
//! [Iced]: https://github.com/iced-rs/iced
|
||||
//! [`iced_native`]: https://github.com/iced-rs/iced/tree/master/native
|
||||
//! [`iced_web`]: https://github.com/iced-rs/iced/tree/master/web
|
||||
#![deny(missing_docs)]
|
||||
#![deny(missing_debug_implementations)]
|
||||
#![deny(unused_results)]
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ use super::Button;
|
|||
/// _**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, Copy, PartialEq)]
|
||||
pub enum Event {
|
||||
/// The mouse cursor entered the window.
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
__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
|
||||
|
||||
## [Tour](tour)
|
||||
A simple UI tour that can run both on native platforms and the web! It showcases different widgets that can be built using Iced.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
|||
edition = "2018"
|
||||
description = "Commands, subscriptions, and runtimes for Iced"
|
||||
license = "MIT"
|
||||
repository = "https://github.com/hecrj/iced"
|
||||
repository = "https://github.com/iced-rs/iced"
|
||||
documentation = "https://docs.rs/iced_futures"
|
||||
keywords = ["gui", "ui", "graphics", "interface", "futures"]
|
||||
categories = ["gui"]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
//! Asynchronous tasks for GUI programming, inspired by Elm.
|
||||
//!
|
||||
//! 
|
||||
//! 
|
||||
#![doc(
|
||||
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
|
||||
)]
|
||||
|
|
|
|||
|
|
@ -125,9 +125,9 @@ impl<I, O, H> std::fmt::Debug for Subscription<I, O, H> {
|
|||
/// - [`stopwatch`], a watch with start/stop and reset buttons showcasing how
|
||||
/// to listen to time.
|
||||
///
|
||||
/// [examples]: https://github.com/hecrj/iced/tree/0.3/examples
|
||||
/// [`download_progress`]: https://github.com/hecrj/iced/tree/0.3/examples/download_progress
|
||||
/// [`stopwatch`]: https://github.com/hecrj/iced/tree/0.3/examples/stopwatch
|
||||
/// [examples]: https://github.com/iced-rs/iced/tree/0.3/examples
|
||||
/// [`download_progress`]: https://github.com/iced-rs/iced/tree/0.3/examples/download_progress
|
||||
/// [`stopwatch`]: https://github.com/iced-rs/iced/tree/0.3/examples/stopwatch
|
||||
pub trait Recipe<Hasher: std::hash::Hasher, Event> {
|
||||
/// The events that will be produced by a [`Subscription`] with this
|
||||
/// [`Recipe`].
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
|||
edition = "2018"
|
||||
description = "A glutin runtime for Iced"
|
||||
license = "MIT"
|
||||
repository = "https://github.com/hecrj/iced"
|
||||
repository = "https://github.com/iced-rs/iced"
|
||||
documentation = "https://docs.rs/iced_glutin"
|
||||
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
|
||||
categories = ["gui"]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# `iced_glutin`
|
||||
[][documentation]
|
||||
[](https://crates.io/crates/iced_glutin)
|
||||
[](https://github.com/hecrj/iced/blob/master/LICENSE)
|
||||
[](https://github.com/iced-rs/iced/blob/master/LICENSE)
|
||||
[](https://iced.zulipchat.com)
|
||||
|
||||
`iced_glutin` offers some convenient abstractions on top of [`iced_native`] to quickstart development when using [`glutin`].
|
||||
|
|
@ -26,4 +26,4 @@ iced_glutin = "0.2"
|
|||
__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
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
//! A windowing shell for [`iced`], on top of [`glutin`].
|
||||
//!
|
||||
//! 
|
||||
//! 
|
||||
//!
|
||||
//! [`iced`]: https://github.com/hecrj/iced
|
||||
//! [`iced`]: https://github.com/iced-rs/iced
|
||||
//! [`glutin`]: https://github.com/rust-windowing/glutin
|
||||
#![doc(
|
||||
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
|
||||
|
|
|
|||
|
|
@ -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 = []
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ use std::hash::Hash;
|
|||
/// .size(40);
|
||||
/// ```
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
#[derive(Debug)]
|
||||
pub struct Text<Renderer: text::Renderer> {
|
||||
content: String,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
|||
edition = "2018"
|
||||
description = "The default set of styles of Iced"
|
||||
license = "MIT"
|
||||
repository = "https://github.com/hecrj/iced"
|
||||
repository = "https://github.com/iced-rs/iced"
|
||||
documentation = "https://docs.rs/iced_style"
|
||||
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
|
||||
categories = ["gui"]
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
//! It contains a set of styles and stylesheets for most of the built-in
|
||||
//! widgets.
|
||||
//!
|
||||
//! 
|
||||
//! 
|
||||
#![doc(
|
||||
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
|
||||
)]
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
|||
edition = "2018"
|
||||
description = "A web backend for Iced"
|
||||
license = "MIT"
|
||||
repository = "https://github.com/hecrj/iced"
|
||||
repository = "https://github.com/iced-rs/iced"
|
||||
documentation = "https://docs.rs/iced_web"
|
||||
readme = "README.md"
|
||||
keywords = ["gui", "ui", "web", "interface", "widgets"]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# `iced_web`
|
||||
[][documentation]
|
||||
[](https://crates.io/crates/iced_web)
|
||||
[](https://github.com/hecrj/iced/blob/master/LICENSE)
|
||||
[](https://github.com/iced-rs/iced/blob/master/LICENSE)
|
||||
[](https://iced.zulipchat.com)
|
||||
|
||||
`iced_web` takes [`iced_core`] and builds a WebAssembly runtime on top. It achieves this by introducing a `Widget` trait that can be used to produce VDOM nodes.
|
||||
|
|
@ -22,7 +22,7 @@ iced_web = "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
|
||||
|
||||
## Usage
|
||||
The current build process is a bit involved, as [`wasm-pack`] does not currently [support building binary crates](https://github.com/rustwasm/wasm-pack/issues/734).
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
//! The crate is currently a __very experimental__, simple abstraction layer
|
||||
//! over [`dodrio`].
|
||||
//!
|
||||
//! [`iced_core`]: https://github.com/hecrj/iced/tree/master/core
|
||||
//! [`iced_core`]: https://github.com/iced-rs/iced/tree/master/core
|
||||
//! [`dodrio`]: https://github.com/fitzgen/dodrio
|
||||
//!
|
||||
//! # Usage
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
//!
|
||||
//! [`wasm-pack`]: https://github.com/rustwasm/wasm-pack
|
||||
//! [`wasm-bindgen`]: https://github.com/rustwasm/wasm-bindgen
|
||||
//! [`tour` example]: https://github.com/hecrj/iced/tree/0.3/examples/tour
|
||||
//! [`tour` example]: https://github.com/iced-rs/iced/tree/0.3/examples/tour
|
||||
#![doc(
|
||||
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
|
||||
)]
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
|||
edition = "2018"
|
||||
description = "A wgpu renderer for Iced"
|
||||
license = "MIT AND OFL-1.1"
|
||||
repository = "https://github.com/hecrj/iced"
|
||||
repository = "https://github.com/iced-rs/iced"
|
||||
|
||||
[features]
|
||||
svg = ["resvg", "usvg", "tiny-skia"]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# `iced_wgpu`
|
||||
[][documentation]
|
||||
[](https://crates.io/crates/iced_wgpu)
|
||||
[](https://github.com/hecrj/iced/blob/master/LICENSE)
|
||||
[](https://github.com/iced-rs/iced/blob/master/LICENSE)
|
||||
[](https://iced.zulipchat.com)
|
||||
|
||||
`iced_wgpu` is a [`wgpu`] renderer for [`iced_native`]. For now, it is the default renderer of Iced in native platforms.
|
||||
|
|
@ -35,7 +35,7 @@ iced_wgpu = "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
|
||||
|
||||
## Current limitations
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ use crate::image;
|
|||
/// A [`wgpu`] graphics backend for [`iced`].
|
||||
///
|
||||
/// [`wgpu`]: https://github.com/gfx-rs/wgpu-rs
|
||||
/// [`iced`]: https://github.com/hecrj/iced
|
||||
/// [`iced`]: https://github.com/iced-rs/iced
|
||||
#[derive(Debug)]
|
||||
pub struct Backend {
|
||||
quad_pipeline: quad::Pipeline,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
//! A [`wgpu`] renderer for [`iced_native`].
|
||||
//!
|
||||
//! 
|
||||
//! 
|
||||
//!
|
||||
//! For now, it is the default renderer of [Iced] in native platforms.
|
||||
//!
|
||||
|
|
@ -15,8 +15,8 @@
|
|||
//! - Images and SVG, loaded from memory or the file system.
|
||||
//! - Meshes of triangles, useful to draw geometry freely.
|
||||
//!
|
||||
//! [Iced]: https://github.com/hecrj/iced
|
||||
//! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native
|
||||
//! [Iced]: https://github.com/iced-rs/iced
|
||||
//! [`iced_native`]: https://github.com/iced-rs/iced/tree/master/native
|
||||
//! [`wgpu`]: https://github.com/gfx-rs/wgpu-rs
|
||||
//! [WebGPU API]: https://gpuweb.github.io/gpuweb/
|
||||
//! [`wgpu_glyph`]: https://github.com/hecrj/wgpu_glyph
|
||||
|
|
@ -56,5 +56,5 @@ mod image;
|
|||
/// A [`wgpu`] graphics renderer for [`iced`].
|
||||
///
|
||||
/// [`wgpu`]: https://github.com/gfx-rs/wgpu-rs
|
||||
/// [`iced`]: https://github.com/hecrj/iced
|
||||
/// [`iced`]: https://github.com/iced-rs/iced
|
||||
pub type Renderer = iced_graphics::Renderer<Backend>;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
use crate::Renderer;
|
||||
|
||||
pub use iced_graphics::pane_grid::{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue