Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Menu rendering invisible #72

Open
vk-nom opened this issue Nov 12, 2020 · 5 comments
Open

[BUG] Menu rendering invisible #72

vk-nom opened this issue Nov 12, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@vk-nom
Copy link

vk-nom commented Nov 12, 2020

hey guys im new to this stuff and not really good at c++ but my menu isnt rendering onto my canvas and its just blocking all input until I toggle it using insert here's my code:

void renderMenu()
{
    zgui::poll_input("Counter-Strike: Global Offensive");

    if (zgui::begin_window("test", { 380, 520 }, zgui::zgui_window_flags_none)) {

        zgui::begin_groupbox("test", { 375, 515 }, zgui::zgui_window_flags_none);
        bool esp = false;
        zgui::checkbox("esp toggle", esp);
        zgui::end_groupbox();

    }
    zgui::end_window();
}

any help is appreciated

@vk-nom vk-nom added the bug Something isn't working label Nov 12, 2020
@MihaiHvH
Copy link

Did you call the function renderMenu() ?

@vk-nom
Copy link
Author

vk-nom commented Nov 21, 2020

yes I did

@MihaiHvH
Copy link

MihaiHvH commented Nov 21, 2020

Do you use ZGUI v2 ? or LEGACY ?
On zgui::begin_window("", {500, 350 }, UR_FONT, zgui::zgui_window_flags_none), you dont have a font :/ <----- On LEGACY

@MihaiHvH
Copy link

Btw when I try implement zgui my cs crash do you know why ?

@vk-nom
Copy link
Author

vk-nom commented Nov 23, 2020

i dont know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants