You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/imgui/imconfig.h
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,10 @@
26
26
//---- Don't define obsolete functions/enums/behaviors. Consider enabling from time to time after updating to avoid using soon-to-be obsolete function/names.
27
27
//#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS
28
28
29
-
//---- Disable all of Dear ImGui or don't implement standard windows.
29
+
//---- Disable all of Dear ImGui or don't implement standard windows.
30
30
// It is very strongly recommended to NOT disable the demo windows during development. Please read comments in imgui_demo.cpp.
31
-
//#define IMGUI_DISABLE // Disable everything: all headers and source files will be empty.
32
-
//#define IMGUI_DISABLE_DEMO_WINDOWS // Disable demo windows: ShowDemoWindow()/ShowStyleEditor() will be empty. Not recommended.
31
+
//#define IMGUI_DISABLE // Disable everything: all headers and source files will be empty.
32
+
//#define IMGUI_DISABLE_DEMO_WINDOWS // Disable demo windows: ShowDemoWindow()/ShowStyleEditor() will be empty. Not recommended.
33
33
//#define IMGUI_DISABLE_METRICS_WINDOW // Disable debug/metrics window: ShowMetricsWindow() will be empty.
34
34
35
35
//---- Don't implement some functions to reduce linkage requirements.
@@ -48,6 +48,9 @@
48
48
//---- Pack colors to BGRA8 instead of RGBA8 (to avoid converting from one to another)
49
49
//#define IMGUI_USE_BGRA_PACKED_COLOR
50
50
51
+
//---- Use 32-bit for ImWchar (default is 16-bit) to support full unicode code points.
52
+
//#define IMGUI_USE_WCHAR32
53
+
51
54
//---- Avoid multiple STB libraries implementations, or redefine path/filenames to prioritize another version
52
55
// By default the embedded implementations are declared static and not available outside of imgui cpp files.
Copy file name to clipboardExpand all lines: src/imgui/imgui_impl_glfw.h
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@
17
17
// Only override if your GL version doesn't handle this GLSL version. Keep NULL if unsure!
18
18
19
19
#pragma once
20
+
#include"imgui.h"// IMGUI_IMPL_API
20
21
21
22
structGLFWwindow;
22
23
@@ -25,8 +26,9 @@ IMGUI_IMPL_API bool ImGui_ImplGlfw_InitForVulkan(GLFWwindow* window, bool in
25
26
IMGUI_IMPL_APIvoidImGui_ImplGlfw_Shutdown();
26
27
IMGUI_IMPL_APIvoidImGui_ImplGlfw_NewFrame();
27
28
28
-
// InitXXX function with 'install_callbacks=true': install GLFW callbacks. They will call user's previously installed callbacks, if any.
29
-
// InitXXX function with 'install_callbacks=false': do not install GLFW callbacks. You will need to call them yourself from your own GLFW callbacks.
29
+
// GLFW callbacks
30
+
// - When calling Init with 'install_callbacks=true': GLFW callbacks will be installed for you. They will call user's previously installed callbacks, if any.
31
+
// - When calling Init with 'install_callbacks=false': GLFW callbacks won't be installed. You will need to call those function yourself from your own GLFW callbacks.
Copy file name to clipboardExpand all lines: src/imgui/imgui_impl_opengl3.cpp
+68-63Lines changed: 68 additions & 63 deletions
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,19 @@
13
13
14
14
// CHANGELOG
15
15
// (minor and older changes stripped away, please see git history for details)
16
-
// 2020-01-07: OpenGL: Added support for glbindings OpenGL loader.
16
+
// 2020-07-10: OpenGL: Added support for glad2 OpenGL loader.
17
+
// 2020-05-08: OpenGL: Made default GLSL version 150 (instead of 130) on OSX.
18
+
// 2020-04-21: OpenGL: Fixed handling of glClipControl(GL_UPPER_LEFT) by inverting projection matrix.
19
+
// 2020-04-12: OpenGL: Fixed context version check mistakenly testing for 4.0+ instead of 3.2+ to enable ImGuiBackendFlags_RendererHasVtxOffset.
20
+
// 2020-03-24: OpenGL: Added support for glbinding 2.x OpenGL loader.
21
+
// 2020-01-07: OpenGL: Added support for glbinding 3.x OpenGL loader.
17
22
// 2019-10-25: OpenGL: Using a combination of GL define and runtime GL version to decide whether to use glDrawElementsBaseVertex(). Fix building with pre-3.2 GL loaders.
// Our visible imgui space lies from draw_data->DisplayPos (top left) to draw_data->DisplayPos+data_data->DisplaySize (bottom right). DisplayPos is (0,0) for single viewport apps.
0 commit comments