mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-13 15:26:24 +00:00
15 lines
387 B
Text
15 lines
387 B
Text
platform "gui"
|
|
requires {} { render : Elem }
|
|
exposes []
|
|
packages {}
|
|
imports []
|
|
provides [renderForHost]
|
|
|
|
Rgba : { r : F32, g : F32, b : F32, a : F32 }
|
|
|
|
ButtonStyles : { bgColor : Rgba, borderColor : Rgba, borderWidth : F32, textColor : Rgba }
|
|
|
|
Elem : [Button Elem ButtonStyles, Col (List Elem), Row (List Elem), Text Str]
|
|
|
|
renderForHost : Elem
|
|
renderForHost = render
|