Ask Your Question
2

How can I eliminate the title bar in ImGui?

asked 2023-06-17 03:33:20 +0000

bukephalos gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-06-17 04:00:01 +0000

huitzilopochtli gravatar image

To eliminate the title bar in ImGui, you can use the ImGuiWindowFlags_NoTitleBar flag in the ImGui::Begin() function. Here's an example:

ImGui::Begin("Window Title", nullptr, ImGuiWindowFlags_NoTitleBar);

This will create a window without a title bar. If you also want to remove the border around the window, you can use the ImGuiWindowFlags_NoResize and ImGuiWindowFlags_NoScrollbar flags as well.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-17 03:33:20 +0000

Seen: 15 times

Last updated: Jun 17 '23