From b9578e151d1feeddb9b8621009545fe233e882a7 Mon Sep 17 00:00:00 2001 From: Tobi Date: Thu, 18 Nov 2021 20:51:28 +0100 Subject: [PATCH] Update renderd7.hpp --- renderd7.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/renderd7.hpp b/renderd7.hpp index cef0936..ed57d76 100644 --- a/renderd7.hpp +++ b/renderd7.hpp @@ -254,7 +254,7 @@ namespace RenderD7 }; struct rgba { - int r, g, b, a; + u8 r, g, b, a; }; class Console { @@ -264,11 +264,13 @@ namespace RenderD7 Console(int x, int y, int w, int h, std::string name, rgba col = {255, 255, 255, 255}, rgba barcol = {0, 0, 0, 255}, rgba outline = {222, 222, 222, 255}); ~Console(); private: - int x, y, w, h, a; + std::vector m_lines; + int x, y, w, h; + u8 a; rgba color = {255, 255, 255, 255}; rgba outline = {222, 222, 222, 255}; rgba barcolor = {0, 0, 0, 255}; - }! + }; bool NameIsEndingWith(const std::string &name, const std::vector &extensions); void GetDirContentsExt(std::vector &dircontent, const std::vector &extensions);