Jeremy Day
47c68e40a2
fix for canvas rendering edge cases causing overflow errors
5 years ago
Sven-Hendrik Haase
a78fa73b34
Add new shape: Rectangle
6 years ago
Sven-Hendrik Haase
144bfb71cf
Upgrade to 2018 edition
6 years ago
Florian Dehau
6c69160d6b
feat: remove unecessary borrows of Style
6 years ago
Florian Dehau
13e194cd26
refactor: update widgets
...
* all widgets use the consumable builder pattern
* `draw` on terminal expect a closure that take a frame as only arg
6 years ago
Florian Dehau
d6016788ef
refactor: clippy + rustfmt
6 years ago
Florian Dehau
7181970a32
feat: split layout from rendering
...
* remove layout logic from Terminal
* replace Group with Layout
* add Frame intermediate object
6 years ago
Florian Dehau
36a5eb2110
Format code
6 years ago
Florian Dehau
c3c5109c5a
[src] Fix build and tests
7 years ago
Florian Dehau
151d7e8a1c
[src] Update dependencies
...
* Update all dependencies to their latest versions
* Change border to Borders to match v1.0 of bitflags
7 years ago
Florian Dehau
1f285fbac0
[src] Run cargo fmt
7 years ago
talha
3045ac4124
Minor codestyle fixes
7 years ago
Florian Dehau
71545a0aa8
Run cargo fmt
7 years ago
Florian Dehau
b1737ce667
Update Widget Trait
...
The draw function now take a &mut reference to the widget, allowing the
widget to modify itself when drawn. This change the semantic of the draw
call since the widget should now be considered "consumed" after it.
7 years ago
Florian Dehau
b2bb24b9d2
Fix rustfmt and clippy errors
7 years ago
Florian Dehau
224eb2d8e0
Add support for text styling
8 years ago
Florian Dehau
652ff12380
More documentation
8 years ago
Florian Dehau
7a25987352
Canvas widget refactoring
8 years ago
Florian Dehau
9e5195096a
More work on the widgets API
...
* Change slice to vecs in table and canvas to ease the interaction with data
constructed on the fly
* Add a legend to charts based on datasets' names and colors
* Update demo to reflect previous updates
8 years ago
Florian Dehau
a5b632aeb0
Cleanup API
8 years ago
Florian Dehau
a36e20f217
Add background_color support for all existing wigets
8 years ago
Florian Dehau
d038b283db
Fix chart and canvas widgets
8 years ago
Florian Dehau
654be037be
Redefine canvas widget and add shapes
...
* Give the canvas widget a proper modules and define a standard way to
draw to it (Shape trait)
* Add Points, Line, Rectangle and Map shapes
8 years ago
Florian Dehau
f0979dfeee
Improve canvas functionalities and fix clippy warnings
8 years ago