Fork me on GitHub
#humbleui
<
2022-10-30
>
lilactown17:10:15

is there like a "minimal starter" code example I could look at? trying to riff off of what's in tonsky's humble-ants & humble-deck and running into issues discerning what is strictly necessary

lilactown21:10:10

thanks, I had looked at most of these and was able to piece together the minimal bits I needed to get a simple app running. I decided to publish what I learned as a starter project with lots of comments: https://github.com/lilactown/humble-starter/

gratitude 3
🎉 4
🔥 3
1
lilactown17:10:14

what does this line do?

(set! (.-_colorSpace ^LayerMetalSkija (.getLayer ^Window @*window)) (ColorSpace/getDisplayP3))

Niki18:10:30

Sets color space of the surface. This will be done automatically in the future, but for now I hard-coded it for the demo

lilactown21:10:10

thanks, I had looked at most of these and was able to piece together the minimal bits I needed to get a simple app running. I decided to publish what I learned as a starter project with lots of comments: https://github.com/lilactown/humble-starter/

gratitude 3
🎉 4
🔥 3
1
Niki22:10:41

I’ve added all the repos I know about that use Humble UI to the Readme https://github.com/HumbleUI/HumbleUI/

🎉 3
👏 1