17 Commits

Author SHA1 Message Date
a941e2c6fc Make rrtop sample working in MPP (#824) 2025-03-24 15:01:06 -04:00
f71c42d2d0 Make all samples multiplatform (#786) 2025-03-13 13:23:43 -04:00
ac2f10564a Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.2 (#689)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-10 15:57:28 +00:00
2b4cb8a69c Add rudimentary key handling (#442)
This forces all usages into raw mode, regardless of whether you are listening for keys or not.
2024-09-10 18:11:15 -04:00
145c8112dd Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.1 (#437)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 10:34:09 -04:00
4d053dbbd3 Change runMosaic to support effects (#284) 2024-08-16 16:58:08 -04:00
3fc06ec160 Update dependency org.jline:jline to v3.26.3 (#414)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17 12:25:16 -04:00
8b2abbae64 Update dependency org.jline:jline to v3.26.2 (#403)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 08:10:00 -04:00
620fcad8ca Remove background color from default rrtop sample theme (#395) 2024-06-08 16:25:22 -04:00
be8adb134d Add rrtop gif to rrtop readme 2024-06-03 21:29:59 -04:00
0a4b690c90 Update gifs and readme (#388)
New renders for the demo and rrtop. Also use self-documenting awaitCancelation function in their code.
2024-06-03 20:50:41 +00:00
d542cf1587 Modify DrawScope#drawRect (#383)
- Change the `drawRect` method in `DrawScope` like the method from the Compose UI
- Add support for `DrawStyle`: `Fill` and `Stroke` in `DrawScope#drawRect`
- Add support for drawing a rectangle from text characters
- Add `Filler` with code point
- Change the robot sample to show `drawRect` with `Stroke`
2024-05-29 21:50:07 -04:00
a5ec60767d Update to Kotlin 2.0
* Update Kotlin and Compose to v2

* Kotlin 2.0 updates

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
2024-05-28 16:55:50 -04:00
15d9d2df30 Remove autoboxing and object creation from multiple locations (#372)
- Add `Color.Unspecified` for replace nullable `Color`
- Add some extension functions for `Color` to check on `Color.Unspecified`
- Use `TextStyle.Unspecified` instead null for `TextStyle`
- Add some extension functions for `TextStyle` to check on `TextStyle.Unspecified` and `TextStyle.Empty`
- Make `TextStyle` an inline class
- Using `Int` as codepoint (`TextPixel#codePoint`) instead of `String` in `TextPixel` (`TextPixel#value`)
- Rename `style: TextStyle` to `textStyle: TextStyle` for clearer and less confusing naming, as there are several other styles
- Add emoji to demo sample and use of 2 styles for part of the text
2024-05-27 21:15:36 -04:00
6efdb159b8 Support true color palette (#356)
Also update rrtop sample with several color palettes
2024-05-15 21:30:20 -04:00
eb76d4c1ba Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.0 (#368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 13:55:31 +00:00
cc4b181c17 Add rrtop sample (#366)
An example of a UI like the [rrtop](https://github.com/wojciech-zurek/rrtop) program with **fake** data.
2024-05-15 09:47:04 -04:00