Solved❓ Help with menu

Posts 1–4 of 4 · Page 1 of 1
❓ Help with menu
Well, I posted a previous post about adding a rainbow bar at the top of the menu. Fixed that, and works fine. but there is one problem that really is annoying me. https :// gyazo. com/ 3287ce5153037cbfba7b709803e620a2 (cant post links) Once I open the menu, everything is fine, but when I close it, the rainbow bar just stays on the screen. Any help? Thank you.

Original(w/o rainbow)
Code:
Render::Clear(window->m_x, window->m_y + 2 + 20, window->m_iWidth, 4, UI_COL_MAIN);
New(with rainbow)
Code:
Render::GradientV(window->m_x, window->m_y + 2 + 20, window->m_iWidth, 4, Color::FromHSB(rainbow, 1.f, 1.f), Color::FromHSB(rainbow, 1.f, 1.f));
Quote Originally Posted by csalphyy View Post
Well, I posted a previous post about adding a rainbow bar at the top of the menu. Fixed that, and works fine. but there is one problem that really is annoying me. https :// gyazo. com/ 3287ce5153037cbfba7b709803e620a2 (cant post links) Once I open the menu, everything is fine, but when I close it, the rainbow bar just stays on the screen. Any help? Thank you.
Send code please of what u changed in the menu (rainbow bar).
Quote Originally Posted by An0m4ly_15 View Post
Send code please of what u changed in the menu (rainbow bar).
Code:
Render::GradientV(window->m_x, window->m_y + 2 + 20, window->m_iWidth, 4, Color::FromHSB(rainbow, 1.f, 1.f), Color::FromHSB(rainbow, 1.f, 1.f));
Code:
Render::Clear(window->m_x, window->m_y + 2 + 20, window->m_iWidth, 4, UI_COL_MAIN);
fixed it, admins please mark as solved.
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us