Update README
This commit is contained in:
parent
d59d3f033d
commit
6298fd87a3
1 changed files with 5 additions and 8 deletions
13
README.md
13
README.md
|
|
@ -1,10 +1,8 @@
|
||||||
Iced
|
# Iced
|
||||||
|
|
||||||
[](https://travis-ci.org/hecrj/iced)
|
[](https://travis-ci.org/hecrj/iced)
|
||||||
[](https://docs.rs/iced)
|
[](https://docs.rs/iced)
|
||||||
[](https://crates.io/crates/iced)
|
[](https://crates.io/crates/iced)
|
||||||
[](https://github.com/hecrj/iced/blob/master/LICENSE)
|
[](https://github.com/hecrj/iced/blob/master/LICENSE)
|
||||||
-------------------
|
|
||||||
|
|
||||||
A simple GUI runtime for Rust, heavily inspired by [Elm].
|
A simple GUI runtime for Rust, heavily inspired by [Elm].
|
||||||
|
|
||||||
|
|
@ -23,7 +21,7 @@ missing] and there are probably _many_ bugs. [Feel free to contribute!]
|
||||||
* Simple, easy-to-use API
|
* Simple, easy-to-use API
|
||||||
* Responsive, flexbox-based layouting
|
* Responsive, flexbox-based layouting
|
||||||
* Type-safe, reactive programming model
|
* Type-safe, reactive programming model
|
||||||
* Many built-in widgets
|
* Built-in widgets
|
||||||
* Custom widget support
|
* Custom widget support
|
||||||
* Renderer-agnostic runtime
|
* Renderer-agnostic runtime
|
||||||
|
|
||||||
|
|
@ -87,7 +85,7 @@ use iced::{Button, Column, Text};
|
||||||
use iced_wgpu::Renderer; // Iced is renderer-agnostic! We need to bring our own!
|
use iced_wgpu::Renderer; // Iced is renderer-agnostic! We need to bring our own!
|
||||||
|
|
||||||
impl Counter {
|
impl Counter {
|
||||||
fn view(&mut self) -> Column<Message> {
|
fn view(&mut self) -> Column<Message, Renderer> {
|
||||||
// We use a column: a simple vertical layout
|
// We use a column: a simple vertical layout
|
||||||
Column::new()
|
Column::new()
|
||||||
.push(
|
.push(
|
||||||
|
|
@ -150,9 +148,8 @@ Browse the [documentation] and the [examples] to learn more!
|
||||||
[gui_gfycat]: https://gfycat.com/gloomyweakhammerheadshark
|
[gui_gfycat]: https://gfycat.com/gloomyweakhammerheadshark
|
||||||
|
|
||||||
## Implementation details
|
## Implementation details
|
||||||
Iced was originally born as part of [Coffee], a 2D game engine I am working on,
|
Iced was originally born as an attempt at bringing the simplicity of [Elm] and
|
||||||
as an attempt at bringing the simplicity of [Elm] and [The Elm Architecture]
|
[The Elm Architecture] into [Coffee], a 2D game engine I am working on.
|
||||||
into Rust.
|
|
||||||
|
|
||||||
Currently, Iced builds upon
|
Currently, Iced builds upon
|
||||||
* [`stretch`] for flexbox-based layouting.
|
* [`stretch`] for flexbox-based layouting.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue