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