|
@@ -20,6 +20,7 @@
|
|
|
// Read online: https://github.com/ocornut/imgui/tree/master/docs
|
|
|
|
|
|
#pragma once
|
|
|
+#ifndef IMGUI_DISABLE
|
|
|
#include "imgui.h" // IMGUI_IMPL_API
|
|
|
|
|
|
IMGUI_IMPL_API bool ImGui_ImplGLUT_Init();
|
|
@@ -29,7 +30,7 @@ IMGUI_IMPL_API void ImGui_ImplGLUT_NewFrame();
|
|
|
|
|
|
// You can call ImGui_ImplGLUT_InstallFuncs() to get all those functions installed automatically,
|
|
|
// or call them yourself from your own GLUT handlers. We are using the same weird names as GLUT for consistency..
|
|
|
-//---------------------------------------- GLUT name --------------------------------------------- Decent Name ---------
|
|
|
+//------------------------------------ GLUT name ---------------------------------------------- Decent Name ---------
|
|
|
IMGUI_IMPL_API void ImGui_ImplGLUT_ReshapeFunc(int w, int h); // ~ ResizeFunc
|
|
|
IMGUI_IMPL_API void ImGui_ImplGLUT_MotionFunc(int x, int y); // ~ MouseMoveFunc
|
|
|
IMGUI_IMPL_API void ImGui_ImplGLUT_MouseFunc(int button, int state, int x, int y); // ~ MouseButtonFunc
|
|
@@ -38,3 +39,5 @@ IMGUI_IMPL_API void ImGui_ImplGLUT_KeyboardFunc(unsigned char c, int x, int
|
|
|
IMGUI_IMPL_API void ImGui_ImplGLUT_KeyboardUpFunc(unsigned char c, int x, int y); // ~ CharReleasedFunc
|
|
|
IMGUI_IMPL_API void ImGui_ImplGLUT_SpecialFunc(int key, int x, int y); // ~ KeyPressedFunc
|
|
|
IMGUI_IMPL_API void ImGui_ImplGLUT_SpecialUpFunc(int key, int x, int y); // ~ KeyReleasedFunc
|
|
|
+
|
|
|
+#endif // #ifndef IMGUI_DISABLE
|