[WIP] Viewports backend, 2

This commit is contained in:
SpaiR committed 2020-08-30 21:10:18 +03:00
1 parent c1632cfd3e
commit e9cfd62137
13 files changed
+126 -12

No files matched your search

@@ -0,0 +1,24 @@
package imgui.glfw;
final class ImGuiImplGlfwNative {
private ImGuiImplGlfwNative() {
}
/*JNI
#if defined(_WIN32)
#include <windows.h>
#endif
*/
// GLFW hack: Hide icon from task bar
// Applied only for windows
static native void win32hideFromTaskBar(long hwndPtr); /*
#if defined(_WIN32)
HWND hwnd = (HWND)hwndPtr;
LONG ex_style = ::GetWindowLong(hwnd, GWL_EXSTYLE);
ex_style &= ~WS_EX_APPWINDOW;
ex_style |= WS_EX_TOOLWINDOW;
::SetWindowLong(hwnd, GWL_EXSTYLE, ex_style);
#endif
*/
}