Readded global log

This commit is contained in:
Yousef Khadadeh 2026-04-05 22:01:30 +03:00
parent 3c5e41af94
commit 19db2a57ea
4 changed files with 56 additions and 37 deletions

View file

@ -15,6 +15,8 @@ class MainProgram;
class Toolbar {
public:
struct LogMessage {
static constexpr float DISPLAY_TIME = 8.0f;
static constexpr float FADE_START_TIME = 7.0f;
std::string text;
enum {
COLOR_NORMAL = 0,
@ -41,6 +43,7 @@ class Toolbar {
std::string chatMessageInput;
Toolbar(MainProgram& initMain);
void update();
void layout_run();
struct ColorSelectorData {
std::function<void()> onChange;