From bfe0d797c81ed714cb0e41d01419790f999eee1f Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Tue, 18 Feb 2025 23:58:13 -0500 Subject: [PATCH] Status UI now has a log and some buttons. --- combat_ui.cpp | 2 +- constants.hpp | 2 +- events.hpp | 2 +- guecs.cpp | 8 ++++++++ guecs.hpp | 27 +++++++++++++++++++++++---- gui.cpp | 4 ++++ status_ui.cpp | 33 +++++++++++++++++++++++---------- 7 files changed, 61 insertions(+), 17 deletions(-) diff --git a/combat_ui.cpp b/combat_ui.cpp index 524408a..bf31fd2 100644 --- a/combat_ui.cpp +++ b/combat_ui.cpp @@ -27,7 +27,7 @@ namespace gui { world.set(button, {"trash_button"}); world.set(button, guecs::make_action(*$level.world, Events::GUI::ATTACK)); - world.set(button, {"Attack"}); + world.set