diff --git a/renderd7.hpp b/renderd7.hpp index a8f7ce9..de9c7e7 100644 --- a/renderd7.hpp +++ b/renderd7.hpp @@ -261,8 +261,8 @@ namespace RenderD7 public: Console(); Console(int x, int y, int w, int h, int a = 255); - Console(int x, int y, int w, int h, rgba col); - 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 outlinecol = {222, 222, 222, 255}); + Console(int x, int y, int w, int h, RenderD7::rgba col); + Console(int x, int y, int w, int h, std::string name, RenderD7::rgba col = {255, 255, 255, 255}, RenderD7::rgba barcol = {0, 0, 0, 255}, RenderD7::rgba outlinecol = {222, 222, 222, 255}); void On(C3D_RenderTarget *t_cscreen); bool Update(); ~Console(); @@ -273,9 +273,9 @@ namespace RenderD7 C3D_RenderTarget *cscreen; bool m_nconsole = false; bool m_mconsole = false; - rgba color = {255, 255, 255, 255}; - rgba outlinecol = {222, 222, 222, 255}; - rgba barcolor = {0, 0, 0, 255}; + RenderD7::rgba color = {255, 255, 255, 255}; + RenderD7::rgba outlinecol = {222, 222, 222, 255}; + RenderD7::rgba barcolor = {0, 0, 0, 255}; }; bool NameIsEndingWith(const std::string &name, const std::vector &extensions);