We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbbc812 commit 8afb963Copy full SHA for 8afb963
ImFileDialog.cpp
@@ -24,7 +24,12 @@
24
#include <pwd.h>
25
#endif
26
27
+#ifdef IMGUI_HAS_TEXTURES
28
+#define ICON_SIZE ImGui::GetFontSize() * ImGui::GetIO().FontGlobalScale + 3
29
+#else
30
#define ICON_SIZE ImGui::GetFont()->FontSize * ImGui::GetIO().FontGlobalScale + 3
31
+#endif
32
+
33
#define GUI_ELEMENT_SIZE std::max(GImGui->FontSize + 10.f, 24.f)
34
#define DEFAULT_ICON_SIZE 32
35
#define PI 3.141592f
0 commit comments