mirror of
https://github.com/danbulant/cushy
synced 2026-07-06 19:50:40 +00:00
Fixing asset link
And a little more filler
This commit is contained in:
parent
8fb372e743
commit
31de0bc458
3 changed files with 33 additions and 5 deletions
|
|
@ -1 +1,20 @@
|
||||||
# About
|
# About Cushy
|
||||||
|
|
||||||
|
Cushy is a Graphical User Interface (GUI) crate for the [Rust programming
|
||||||
|
language][rust]. It runs natively utilizing [wgpu][wgpu] to render
|
||||||
|
consistently-styled, cross-platform applications using hardware acceleration
|
||||||
|
when available. It does not utilize any existing widget libraries.
|
||||||
|
|
||||||
|
Cushy's high-level goals are to be:
|
||||||
|
|
||||||
|
- Easy-to-use.
|
||||||
|
- Flexible.
|
||||||
|
- Predictable.
|
||||||
|
- Efficient.
|
||||||
|
- Accessible.
|
||||||
|
|
||||||
|
Being so early in development, Cushy has not yet achieved all of its goals,
|
||||||
|
especially with regards to accessibility.
|
||||||
|
|
||||||
|
[rust]: <https://rust-lang.org/>
|
||||||
|
[wgpu]: <https://github.com/gfx-rs/wgpu>
|
||||||
|
|
|
||||||
|
|
@ -1 +1,12 @@
|
||||||
# Welcome
|
# Introduction
|
||||||
|
|
||||||
|
> **WARNING:** Cushy is in early alpha. This guide doubly so.
|
||||||
|
|
||||||
|
This is a user's guide for [Cushy][cushy], a [Rust][rust] GUI crate. The
|
||||||
|
[documentation][docs] is a great resource for finding information about specific
|
||||||
|
functionality quickly. This guide is aimed to providing an example-rich
|
||||||
|
walkthrough of how to use and extend Cushy.
|
||||||
|
|
||||||
|
[cushy]: <https://github.com/khonsulabs/cushy>
|
||||||
|
[rust]: <https://rust-lang.org/>
|
||||||
|
[docs]: <{{docs}}>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
# Aligning Widgets
|
# Aligning Widgets
|
||||||
|
|
||||||
{{#title Align - Layout Widgets - Cushy User's Guide}}
|
|
||||||
|
|
||||||
The [`Align`][align] widget positions a child widget within its parent. It
|
The [`Align`][align] widget positions a child widget within its parent. It
|
||||||
supports both horizontal and vertical alignment.
|
supports both horizontal and vertical alignment.
|
||||||
|
|
||||||
|
|
@ -18,7 +16,7 @@ to the parent's matching edge.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
The `content()` function in each of these snippets is a [`Space`][space] widget
|
The `content()` function in each of these snippets is a [`Space`][space] widget
|
||||||
occupying at least 32px squared:
|
occupying at least 32px squared:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue