From 165a619f0282050c229ca7472968501eeafa61d4 Mon Sep 17 00:00:00 2001 From: Jonas Herzig Date: Mon, 12 Aug 2024 16:02:43 +0200 Subject: [PATCH] Standalone: Replace example image with public domain one Sourced from https://commons.wikimedia.org/wiki/File:Tabby_cat_with_blue_eyes-3336579.jpg --- .../src/main/kotlin/gg/essential/example/main.kt | 2 +- .../100px-Tabby_cat_with_blue_eyes-3336579.jpg | Bin 0 -> 4362 bytes .../example/src/main/resources/essential.png | Bin 1077 -> 0 bytes 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 standalone/example/src/main/resources/100px-Tabby_cat_with_blue_eyes-3336579.jpg delete mode 100644 standalone/example/src/main/resources/essential.png diff --git a/standalone/example/src/main/kotlin/gg/essential/example/main.kt b/standalone/example/src/main/kotlin/gg/essential/example/main.kt index ea5410a..be4082e 100644 --- a/standalone/example/src/main/kotlin/gg/essential/example/main.kt +++ b/standalone/example/src/main/kotlin/gg/essential/example/main.kt @@ -28,7 +28,7 @@ fun main() = runUniversalCraft("Example", 1000, 600) { window -> fun LayoutScope.exampleScreen(extraFontsLoaded: State) { column(Arrangement.spacedBy(10f)) { - image("/essential.png", Modifier.width(186f).height(16f)) + image("/100px-Tabby_cat_with_blue_eyes-3336579.jpg", Modifier.width(50f).height(60f)) row(Arrangement.spacedBy(5f)) { box(Modifier.width(100f).height(20f).color(Color.CYAN).hoverColor(Color.BLUE).hoverScope()) UIRoundedRectangle(10f)(Modifier.width(100f).height(20f).color(Color.RED)) diff --git a/standalone/example/src/main/resources/100px-Tabby_cat_with_blue_eyes-3336579.jpg b/standalone/example/src/main/resources/100px-Tabby_cat_with_blue_eyes-3336579.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bf8c6d6f681bf5ad5b4a0e2fa35a7f47fcd36fa1 GIT binary patch literal 4362 zcmb7{X*kpY*N6YiFla0@OxeadvQ8o@dv;?mb`p_&$r{}h<(}6(r z4D?_ym=Sc^Lq~r~VE|lMPLq*S#OxL%kV`&3Q>*m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