Commit Graph

42 Commits (5bc617a9a61d3b02e781068d9721cc9fd5aad3db)

Author SHA1 Message Date
Sven-Hendrik Haase 144bfb71cf Upgrade to 2018 edition 6 years ago
Karoline Pauls 8522e028f1 Run `cargo fmt` with the new Rust stable toolchain (1.31.0) 6 years ago
Florian Dehau d8e5f57d53 style: fmt 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
Jeremy Day cfc90ab7f6 fix(widgets): Prevent chart legend from rendering when no dataset has a name 6 years ago
Florian Dehau 36a5eb2110 Format code 6 years ago
Florian Dehau 6a3b9fb130 [src][chart] fmt 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 af16518650 [src] Run rustfmt 7 years ago
Florian Dehau 5dd03d91ad [widgets] Fix a bug in chart layout 7 years ago
Florian Dehau 3cc3585e48 [widgets][chart] Use generic type for labels 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 662e2dd102 Fix examples 8 years ago
Florian Dehau 224eb2d8e0 Add support for text styling 8 years ago
Florian Dehau 652ff12380 More documentation 8 years ago
Florian Dehau fcac19d6c5 Documentation 8 years ago
Florian Dehau 93cc237007 Documentation 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 20465f2159 Change dot symbol for line chart 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
Florian Dehau c862fa9ce3 Add Map widget 8 years ago
Florian Dehau 7bdb11c681 Add Canvas widget
* Add a canvas widget to draw shapes using braille dots
* Use this widget in the chart widget when the braille mode is selected
8 years ago
Florian Dehau 95a160cf50 Add braille mode for the chart widget 8 years ago
Florian Dehau c91436baee Change rendering method and adapt widget trait accordingly 8 years ago
Florian Dehau ea485b5439 Simpler layout and cleanup api 8 years ago
Florian Dehau 017eaa4122 Fix clippy warnings 8 years ago
Florian Dehau 7a427c06d4 Update chart widget and fix colors in all widgets 8 years ago
Florian Dehau 15c3471f0b Fix clippy warnings 8 years ago
Florian Dehau d7131ead11 Cache layout and performance fixes 8 years ago
Florian Dehau 07ff2b08eb Improve Chart Widget, safer buffer and unicode width 8 years ago
Florian Dehau fde0ba95dd Remove cache system and add unicode segmentation 8 years ago
Florian Dehau bd404f0238 Cleanup code and add chart widget 8 years ago