therealbluepandabear
|
5efc1498cd
Add some `enforce` blocks for safety reasons.
|
1 anno fa |
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 anno fa |
therealbluepandabear
|
e1a5775432
`Vector.toString` is now `const`.
|
1 anno fa |
therealbluepandabear
|
dc3174963b
Add `toString` for `Vector`.
|
1 anno fa |
therealbluepandabear
|
4dd268c2bc
Rename `Coordinate` and `Dimension` to `Vector` with `x` and `y`.
|
1 anno fa |
therealbluepandabear
|
f4c4c0a9aa
`Color` now uses `ubyte` for `r`, `g`, and `b` values.
|
1 anno fa |
therealbluepandabear
|
5bec566923
Remove some useless comments.
|
1 anno fa |
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 anno fa |
thebluepandabear
|
3da66a54b0
Create README.md
|
1 anno fa |
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 anno fa |
therealbluepandabear
|
6754e4c794
Fix minor bug in `Tree`.
|
1 anno fa |
therealbluepandabear
|
dda176583b
Fix bug where `Rect.empty` had a black fill color instead of the default terminal fill color.
|
1 anno fa |
therealbluepandabear
|
c6e6c90fbc
Add another `add` function to `StackLayout` which accepts an array of `Renderable` instead of an individual `Renderable`.
|
1 anno fa |
therealbluepandabear
|
3660ab485d
Fix dimensions for `Tree`.
|
2 anni fa |
therealbluepandabear
|
c3f6406b14
Some code formatting updates.
|
2 anni fa |
therealbluepandabear
|
51fccbabee
Add `Tree` control; some constructor updates.
|
2 anni fa |
therealbluepandabear
|
e79b0205cd
Minor bugfix for `Canvas`.
|
2 anni fa |
therealbluepandabear
|
63b8c316b3
Add option of using wider block units.
|
2 anni fa |
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 anni fa |
therealbluepandabear
|
c3c950716e
Allow setting `tableColor` for `Table`.
|
2 anni fa |
therealbluepandabear
|
011300bf67
Remove useless field for `Table`.
|
2 anni fa |
therealbluepandabear
|
6b701f9fd3
Major feat: add `Table` TUI element.
|
2 anni fa |
therealbluepandabear
|
dbde23ade2
Add `Color.toHex()` method ([notabug.org] fix #1).
|
2 anni fa |
therealbluepandabear
|
269ee2a5cb
Delete useless `Orientation` enum.
|
2 anni fa |
therealbluepandabear
|
1ea369cbad
Add option for setting `backgroundColor` for `StackLayout`.
|
2 anni fa |
therealbluepandabear
|
ed6a3da58f
Add option for setting `backgroundColor` for `Canvas`.
|
2 anni fa |
therealbluepandabear
|
ca9c4f9770
Minor `Chart` code cleanup.
|
2 anni fa |
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 anni fa |
therealbluepandabear
|
a754a9d17c
Add `spacing` for `StackLayout`.
|
2 anni fa |
therealbluepandabear
|
57fd5e38d2
Update constructors for `Label` (2).
|
2 anni fa |