summaryrefslogtreecommitdiff
path: root/themes/main.cpp
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2021-09-19 19:53:42 -0400
committerMatthew Kosarek <mattkae@protonmail.com>2021-09-19 19:53:42 -0400
commit9d33d175b5cd564e77bda07fcbce252477f7c40f (patch)
tree21eedba8ca61e6f4e6c5fc20bdfd0488b4c166c3 /themes/main.cpp
parentde850676e79da39aec6f1ce0400cfa94cecbd744 (diff)
Decently working autumn theme
Diffstat (limited to 'themes/main.cpp')
-rw-r--r--themes/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/main.cpp b/themes/main.cpp
index 7941153..7e08011 100644
--- a/themes/main.cpp
+++ b/themes/main.cpp
@@ -110,8 +110,9 @@ EM_BOOL selectAutumn(int eventType, const EmscriptenMouseEvent* mouseEvent, void
return true;
}
-// -- Autumn theme
+// -- Autumn theme3
void AutumnTheme::load(Renderer2d* renderer) {
+ renderer->clearColor = Vector4(252,76,2, 0.5).toNormalizedColor();
tree.load(renderer);
}
@@ -126,3 +127,4 @@ void AutumnTheme::render(Renderer2d* renderer) {
void AutumnTheme::unload() {
tree.unload();
}
+