From 29e52544d389f88a4af836ae1d82b838ed7a10c7 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Thu, 31 Dec 2020 14:23:45 +0000 Subject: Fix texture loading. Add log overlay --- src/main/resources/index.html | 10 +++++++--- src/main/resources/style.css | 15 +++++++++++++-- src/main/resources/textures/blank.png | Bin 0 -> 1494 bytes 3 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 src/main/resources/textures/blank.png (limited to 'src/main/resources') diff --git a/src/main/resources/index.html b/src/main/resources/index.html index 9dd0d5f..bbb72bb 100644 --- a/src/main/resources/index.html +++ b/src/main/resources/index.html @@ -13,6 +13,10 @@
+
+
+
+
@@ -51,14 +55,14 @@
diff --git a/src/main/resources/style.css b/src/main/resources/style.css index c8b7d92..42ec857 100644 --- a/src/main/resources/style.css +++ b/src/main/resources/style.css @@ -1,5 +1,4 @@ body { - margin: 0.5em; font-size: 15px; } @@ -19,14 +18,26 @@ p { padding: 10px; } +#log { + position: absolute; + left: 0; + top: 0; + padding: 10px; + margin-top: 125px; + font-family: monospace; + color: yellow; + font-size: 14px; +} + #output-wrapper { position: relative; width: 960px; height: 720px; + margin-top: 0.5em; } .controls { - /*max-width: 20em;*/ + margin-top: 0.5em; } .slider { diff --git a/src/main/resources/textures/blank.png b/src/main/resources/textures/blank.png new file mode 100644 index 0000000..f2e812a Binary files /dev/null and b/src/main/resources/textures/blank.png differ -- cgit v1.2.3