mirror of
https://github.com/danbulant/cushy
synced 2026-07-05 03:00:43 +00:00
Export Menu + Finish Guide Stubs
This commit is contained in:
parent
ddacd53084
commit
7f55b352b4
10 changed files with 58 additions and 5 deletions
|
|
@ -34,14 +34,17 @@
|
||||||
- [Image](./widgets/controls/image.md)
|
- [Image](./widgets/controls/image.md)
|
||||||
- [Input](./widgets/controls/input.md)
|
- [Input](./widgets/controls/input.md)
|
||||||
- [Label](./widgets/controls/label.md)
|
- [Label](./widgets/controls/label.md)
|
||||||
|
- [Menu](./widgets/controls/menu.md)
|
||||||
- [ProgressBar](./widgets/controls/progress.md)
|
- [ProgressBar](./widgets/controls/progress.md)
|
||||||
- [Scroll](./widgets/controls/scroll.md)
|
- [Scroll](./widgets/controls/scroll.md)
|
||||||
- [Slider](./widgets/controls/slider.md)
|
- [Slider](./widgets/controls/slider.md)
|
||||||
- [Space](./widgets/controls/space.md)
|
- [Space](./widgets/controls/space.md)
|
||||||
- [Switcher](./widgets/controls/switcher.md)
|
- [Switcher](./widgets/controls/switcher.md)
|
||||||
|
- [TileMap](./widgets/controls/tilemap.md)
|
||||||
|
- [Validated](./widgets/controls/validated.md)
|
||||||
- [Utility Widgets](./widgets/utility.md)
|
- [Utility Widgets](./widgets/utility.md)
|
||||||
- [Custom]()
|
- [Custom](./widgets/utility/custom.md)
|
||||||
- [Data]()
|
- [Data](./widgets/utility/data.md)
|
||||||
- [Style]()
|
- [Style](./widgets/utility/style.md)
|
||||||
- [Themed]()
|
- [Themed](./widgets/utility/themed.md)
|
||||||
- [ThemedMode]()
|
- [ThemedMode](./widgets/utility/themedmode.md)
|
||||||
|
|
|
||||||
7
guide/src/widgets/controls/menu.md
Normal file
7
guide/src/widgets/controls/menu.md
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Menu
|
||||||
|
|
||||||
|
The [`Menu`][Menu] widget is a widget designed to work in an overlay layer. It
|
||||||
|
presents a pop-up menu and invokes a callback with the selected item if the user
|
||||||
|
selects an item.
|
||||||
|
|
||||||
|
[Menu]: <{{ docs }}/widgets/menu/struct.Menu.html>
|
||||||
6
guide/src/widgets/controls/tilemap.md
Normal file
6
guide/src/widgets/controls/tilemap.md
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
# TileMap
|
||||||
|
|
||||||
|
The [`TileMap`][TileMap] widget provides a layered 2d surface that draws layers
|
||||||
|
of tiles or objects in a scrollable and zoomable 2d plane.
|
||||||
|
|
||||||
|
[TileMap]: <{{ docs }}/widgets/struct.TileMap.html>
|
||||||
6
guide/src/widgets/controls/validated.md
Normal file
6
guide/src/widgets/controls/validated.md
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Validated
|
||||||
|
|
||||||
|
The [`Validated`][Validated] widget displays validation information around
|
||||||
|
another widget. This widget can be used to visualize input errors in forms.
|
||||||
|
|
||||||
|
[Validated]: <{{ docs }}/widgets/validated/struct.Validated.html>
|
||||||
6
guide/src/widgets/utility/custom.md
Normal file
6
guide/src/widgets/utility/custom.md
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Custom
|
||||||
|
|
||||||
|
The [`Custom`][Custom] widget enables creating a new widget by providing
|
||||||
|
callbacks instead of creating a new type.
|
||||||
|
|
||||||
|
[Custom]: <{{ docs }}/widgets/struct.Custom.html>
|
||||||
7
guide/src/widgets/utility/data.md
Normal file
7
guide/src/widgets/utility/data.md
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Data
|
||||||
|
|
||||||
|
The [`Data`][Data] widget is a widget that can contain an arbitrary value. The
|
||||||
|
widget does not display or occupy any space. This is useful for ensuring a
|
||||||
|
resource isn't dropped while a user interface is displayed.
|
||||||
|
|
||||||
|
[Data]: <{{ docs }}/widgets/struct.Data.html>
|
||||||
5
guide/src/widgets/utility/style.md
Normal file
5
guide/src/widgets/utility/style.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
# Style
|
||||||
|
|
||||||
|
The [`Style`][Style] widget attaches style information for its contents.
|
||||||
|
|
||||||
|
[Style]: <{{ docs }}/widgets/struct.Style.html>
|
||||||
5
guide/src/widgets/utility/themed.md
Normal file
5
guide/src/widgets/utility/themed.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
# Themed
|
||||||
|
|
||||||
|
The [`Themed`][Themed] widget overrides the theme for its contents.
|
||||||
|
|
||||||
|
[Themed]: <{{ docs }}/widgets/struct.Themed.html>
|
||||||
7
guide/src/widgets/utility/themedmode.md
Normal file
7
guide/src/widgets/utility/themedmode.md
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# ThemedMode
|
||||||
|
|
||||||
|
The [`ThemedMode`][ThemedMode] widget allows changing the
|
||||||
|
[`ThemeMode`][ThemeMode] of the widgets belonging to it.
|
||||||
|
|
||||||
|
[ThemedMode]: <{{ docs }}/widgets/struct.ThemedMode.html>
|
||||||
|
[ThemeMode]: <{{ docs }}/window/enum.ThemeMode.html>
|
||||||
|
|
@ -51,6 +51,7 @@ pub use self::image::Image;
|
||||||
pub use self::input::Input;
|
pub use self::input::Input;
|
||||||
pub use self::label::Label;
|
pub use self::label::Label;
|
||||||
pub use self::layers::Layers;
|
pub use self::layers::Layers;
|
||||||
|
pub use self::menu::Menu;
|
||||||
pub use self::mode_switch::ThemedMode;
|
pub use self::mode_switch::ThemedMode;
|
||||||
pub use self::progress::ProgressBar;
|
pub use self::progress::ProgressBar;
|
||||||
pub use self::radio::Radio;
|
pub use self::radio::Radio;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue