I want to hide the title bar of the window

Can I hide the top title bar in the window state without making it full screen?
The OS is Mac.

In the main.cpp file, you can do:

int main()
{
    ofGLFWWindowSettings settings;

    settings.width = 1024;
    settings.height = 768;
    settings.decorated = false;
    settings.windowMode = OF_WINDOW;

    ofCreateWindow(settings);
    ofRunApp(new ofApp());
}
2 Likes

Hi,
when set “decorated = false”, not only the title bar but also my other window(gui) settings like borders and colors disappear. Do you have a suggestion on how i can just get rid of the title bar and still keep my other fancy windows settings?