therealbluepandabear
|
5efc1498cd
Add some `enforce` blocks for safety reasons.
|
1 year ago |
therealbluepandabear
|
f4cd8bf61b
Add constructor to `Vector` which takes one parameter called `size`. This will construct a vector with `x` and `y` values of `size`. This can be efficient in scenarios in which the user would want to define a `Vector` with an equal `x` and `y`.
|
1 year ago |
therealbluepandabear
|
e1a5775432
`Vector.toString` is now `const`.
|
1 year ago |
therealbluepandabear
|
dc3174963b
Add `toString` for `Vector`.
|
1 year ago |
therealbluepandabear
|
4dd268c2bc
Rename `Coordinate` and `Dimension` to `Vector` with `x` and `y`.
|
1 year ago |
therealbluepandabear
|
f4c4c0a9aa
`Color` now uses `ubyte` for `r`, `g`, and `b` values.
|
1 year ago |
therealbluepandabear
|
5bec566923
Remove some useless comments.
|
1 year ago |
therealbluepandabear
|
5501214ac4
Fix wrong dimension for `StackLayout`. Rename `Coordinates` to `Coordinate` and `Dimensions` to `Dimension`. Make `StackLayout`'s `children` field public as it may be useful for those who wish to use this library.
|
1 year ago |
thebluepandabear
|
3da66a54b0
Create README.md
|
1 year ago |
therealbluepandabear
|
96f6adf3f7
(Forgot to mention in last commit...) Add another `add` function to `StackLayout` which accepts a single `Renderable` as well as an `int` indicating how many times the `Renderable` should be added to the `StackLayout`.
|
1 year ago |
therealbluepandabear
|
6754e4c794
Fix minor bug in `Tree`.
|
1 year ago |
therealbluepandabear
|
dda176583b
Fix bug where `Rect.empty` had a black fill color instead of the default terminal fill color.
|
1 year ago |
therealbluepandabear
|
c6e6c90fbc
Add another `add` function to `StackLayout` which accepts an array of `Renderable` instead of an individual `Renderable`.
|
1 year ago |
therealbluepandabear
|
3660ab485d
Fix dimensions for `Tree`.
|
2 years ago |
therealbluepandabear
|
c3f6406b14
Some code formatting updates.
|
2 years ago |
therealbluepandabear
|
51fccbabee
Add `Tree` control; some constructor updates.
|
2 years ago |
therealbluepandabear
|
e79b0205cd
Minor bugfix for `Canvas`.
|
2 years ago |
therealbluepandabear
|
63b8c316b3
Add option of using wider block units.
|
2 years ago |
therealbluepandabear
|
4718da515f
`Cell` `content` field is now of the wider `dchar` type, this will be useful if the library users would want to display emojis for example.
|
2 years ago |
therealbluepandabear
|
c3c950716e
Allow setting `tableColor` for `Table`.
|
2 years ago |
therealbluepandabear
|
011300bf67
Remove useless field for `Table`.
|
2 years ago |
therealbluepandabear
|
6b701f9fd3
Major feat: add `Table` TUI element.
|
2 years ago |
therealbluepandabear
|
dbde23ade2
Add `Color.toHex()` method ([notabug.org] fix #1).
|
2 years ago |
therealbluepandabear
|
269ee2a5cb
Delete useless `Orientation` enum.
|
2 years ago |
therealbluepandabear
|
1ea369cbad
Add option for setting `backgroundColor` for `StackLayout`.
|
2 years ago |
therealbluepandabear
|
ed6a3da58f
Add option for setting `backgroundColor` for `Canvas`.
|
2 years ago |
therealbluepandabear
|
ca9c4f9770
Minor `Chart` code cleanup.
|
2 years ago |
therealbluepandabear
|
194d105ce2
`Chart` update: user can now create bar charts. Now, there are two chart types you can create given with the `ChartType` enum: `ChartType.bar` or `ChartType.column`.
|
2 years ago |
therealbluepandabear
|
a754a9d17c
Add `spacing` for `StackLayout`.
|
2 years ago |
therealbluepandabear
|
57fd5e38d2
Update constructors for `Label` (2).
|
2 years ago |