WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
CustomTitleBar.h
Go to the documentation of this file.
1#pragma once
2
3// ---- Custom Title Bar (Windows) -------------------------------------------
4// Removes the native title bar and replaces it with an ImGui-drawn bar
5// that embeds the main menu, status text, and window controls (min/max/close),
6// similar to Visual Studio and Unreal Engine.
7//
8// On non-Windows platforms the module is a no-op: init() does nothing and
9// begin()/end() fall back to the standard ImGui main menu bar.
10
11struct GLFWwindow;
12
14{
15
18void init(GLFWwindow* window);
19
22bool begin(GLFWwindow* window);
23
27void end(GLFWwindow* window, const char* statusText);
28
30float height() noexcept;
31
36void mergeIconFont(float pixelSize);
37
38} // namespace CustomTitleBar
void end(GLFWwindow *window, const char *statusText)
bool begin(GLFWwindow *window)
float height() noexcept
Title bar height in logical pixels (call after begin()).
void init(GLFWwindow *window)
void mergeIconFont(float pixelSize)