ocornut / imgui

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
MIT License
58.86k stars 10.05k forks source link

Frameless ImGui/GLFW window #1097

Open galloscript opened 7 years ago

galloscript commented 7 years ago

captura de pantalla 2017-04-12 a las 23 00 54

Im guessing how to do it in MS Windows, if you are interested in the MacOSX version check the Gist: https://gist.github.com/Galloman/1ca2c21ab2b8425bb6aa36c5e0cb4bae

Note: The minimize/maximize/close buttons are native.

melak47 commented 7 years ago

Have a look at this: https://msdn.microsoft.com/en-us/library/windows/desktop/bb688195(v=vs.85).aspx

This lets you retain the native buttons, but puts everything into the client area. Then you can paint over it anywhere using OpenGL, D3D, GDI or whatever you want. For example, painting tabs on the caption bar:

example

r-lyeh commented 6 years ago

also, https://github.com/rossy/borderless-window

ocornut commented 6 years ago

Thanks for posting those links, they are super useful for my work on viewport and docking.

r-lyeh commented 6 years ago

https://github.com/ands/borderless-window-opengl

blackball commented 4 years ago

Any update on this for Linux system ?

Sk44rt commented 2 years ago

Any update on this for Linux system ?

i can't find any windowless/borderless example for linux also :(

damntourists commented 2 years ago

I am also interested in this.