From f10498425eec4df10cdddfc4f9b467b461072157 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Wed, 19 Feb 2025 00:22:59 -0500 Subject: [PATCH] Make the FPS/debug output render in a better place and not so in your face. --- gui.cpp | 5 +++-- status_ui.cpp | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gui.cpp b/gui.cpp index 140effe..40be879 100644 --- a/gui.cpp +++ b/gui.cpp @@ -24,8 +24,9 @@ namespace gui { { $window.setVerticalSyncEnabled(VSYNC); $window.setFramerateLimit(FRAME_LIMIT); - $text.setPosition({43,300}); - $text.setFillColor({255,255,255}); + $text.setPosition({RAY_VIEW_X,RAY_VIEW_Y}); + $text.setCharacterSize(20); + $text.setFillColor(ColorValue::LIGHT_DARK); $textures.load_tiles(); $textures.load_sprites(); } diff --git a/status_ui.cpp b/status_ui.cpp index c890c8d..27bc94f 100644 --- a/status_ui.cpp +++ b/status_ui.cpp @@ -11,10 +11,12 @@ namespace gui { { $gui.position(STATUS_UI_X, STATUS_UI_Y, STATUS_UI_WIDTH, STATUS_UI_HEIGHT); $gui.layout( - "[*%(100,200)log_view]" - "[_]" "[button1 | button2 | button3]" "[button4 | button5 | button6]" + "[button7 | button8 | button9]" + "[*%(100,300)log_view]" + "[_]" + "[_]" ); }