diff --git a/examples/allegro5_example/imgui_impl_a5.h b/examples/allegro5_example/imgui_impl_a5.h index ec10fff1a..721f510ec 100644 --- a/examples/allegro5_example/imgui_impl_a5.h +++ b/examples/allegro5_example/imgui_impl_a5.h @@ -1,7 +1,7 @@ // ImGui Allegro 5 bindings -// You can copy and use unmodified imgui_impl_* files in your project. +// You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. // If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and ImGui_ImplXXXX_Shutdown(). -// See main.cpp for an example of using this. +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. // https://github.com/ocornut/imgui // by @birthggd diff --git a/examples/allegro5_example/main.cpp b/examples/allegro5_example/main.cpp index a901e8c3a..ee89c7cb5 100644 --- a/examples/allegro5_example/main.cpp +++ b/examples/allegro5_example/main.cpp @@ -1,4 +1,5 @@ // ImGui - standalone example application for Allegro 5 +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. #include #include diff --git a/examples/directx11_example/imgui_impl_dx11.h b/examples/directx11_example/imgui_impl_dx11.h index e5d446009..1145b8976 100644 --- a/examples/directx11_example/imgui_impl_dx11.h +++ b/examples/directx11_example/imgui_impl_dx11.h @@ -1,7 +1,7 @@ // ImGui Win32 + DirectX11 binding -// You can copy and use unmodified imgui_impl_* files in your project. +// You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. // If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and ImGui_ImplXXXX_Shutdown(). -// See main.cpp for an example of using this. +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. // https://github.com/ocornut/imgui struct ID3D11Device; diff --git a/examples/directx11_example/main.cpp b/examples/directx11_example/main.cpp index 1a1d67025..5b38af6d0 100644 --- a/examples/directx11_example/main.cpp +++ b/examples/directx11_example/main.cpp @@ -1,4 +1,5 @@ // ImGui - standalone example application for DirectX 11 +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. #include #include "imgui_impl_dx11.h" diff --git a/examples/directx9_example/imgui_impl_dx9.h b/examples/directx9_example/imgui_impl_dx9.h index 608626fbc..0681b376d 100644 --- a/examples/directx9_example/imgui_impl_dx9.h +++ b/examples/directx9_example/imgui_impl_dx9.h @@ -1,7 +1,7 @@ // ImGui Win32 + DirectX9 binding -// You can copy and use unmodified imgui_impl_* files in your project. +// You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. // If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and ImGui_ImplXXXX_Shutdown(). -// See main.cpp for an example of using this. +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. // https://github.com/ocornut/imgui struct IDirect3DDevice9; diff --git a/examples/directx9_example/main.cpp b/examples/directx9_example/main.cpp index ab4839a9a..99be4e84d 100644 --- a/examples/directx9_example/main.cpp +++ b/examples/directx9_example/main.cpp @@ -1,4 +1,5 @@ // ImGui - standalone example application for DirectX 9 +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. #include #include "imgui_impl_dx9.h" diff --git a/examples/marmalade_example/imgui_impl_marmalade.cpp b/examples/marmalade_example/imgui_impl_marmalade.cpp index 65109e41f..9f1c9a494 100644 --- a/examples/marmalade_example/imgui_impl_marmalade.cpp +++ b/examples/marmalade_example/imgui_impl_marmalade.cpp @@ -1,11 +1,12 @@ // ImGui Marmalade binding with IwGx -// Copyright (C) 2015 by Giovanni Zito -// This file is part of ImGui // You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. // If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and ImGui_ImplXXXX_Shutdown(). // If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. // https://github.com/ocornut/imgui +// Copyright (C) 2015 by Giovanni Zito +// This file is part of ImGui + #include #include "imgui_impl_marmalade.h" diff --git a/examples/marmalade_example/imgui_impl_marmalade.h b/examples/marmalade_example/imgui_impl_marmalade.h index 404556ea3..cad736613 100644 --- a/examples/marmalade_example/imgui_impl_marmalade.h +++ b/examples/marmalade_example/imgui_impl_marmalade.h @@ -1,10 +1,11 @@ // ImGui Marmalade binding with IwGx +// You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. +// If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and ImGui_ImplXXXX_Shutdown(). +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. +// https://github.com/ocornut/imgui + // Copyright (C) 2015 by Giovanni Zito // This file is part of ImGui -// You can copy and use unmodified imgui_impl_* files in your project. -// If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and ImGui_ImplXXXX_Shutdown(). -// See main.cpp for an example of using this. -// https://github.com/ocornut/imgui IMGUI_API bool ImGui_Marmalade_Init(bool install_callbacks); IMGUI_API void ImGui_Marmalade_Shutdown(); diff --git a/examples/marmalade_example/main.cpp b/examples/marmalade_example/main.cpp index b0ca28247..c49aa844f 100644 --- a/examples/marmalade_example/main.cpp +++ b/examples/marmalade_example/main.cpp @@ -1,7 +1,8 @@ // ImGui - standalone example application for Marmalade +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. + // Copyright (C) 2015 by Giovanni Zito // This file is part of ImGui -// https://github.com/ocornut/imgui #include #include "imgui_impl_marmalade.h" diff --git a/examples/opengl3_example/imgui_impl_glfw_gl3.h b/examples/opengl3_example/imgui_impl_glfw_gl3.h index 33e01c30b..818b9ffce 100644 --- a/examples/opengl3_example/imgui_impl_glfw_gl3.h +++ b/examples/opengl3_example/imgui_impl_glfw_gl3.h @@ -1,7 +1,7 @@ // ImGui GLFW binding with OpenGL3 + shaders -// You can copy and use unmodified imgui_impl_* files in your project. +// You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. // If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and ImGui_ImplXXXX_Shutdown(). -// See main.cpp for an example of using this. +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. // https://github.com/ocornut/imgui struct GLFWwindow; diff --git a/examples/opengl3_example/main.cpp b/examples/opengl3_example/main.cpp index 39354de9d..fb06b2a28 100644 --- a/examples/opengl3_example/main.cpp +++ b/examples/opengl3_example/main.cpp @@ -1,4 +1,5 @@ // ImGui - standalone example application for Glfw + OpenGL 3, using programmable pipeline +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. #include #include "imgui_impl_glfw_gl3.h" diff --git a/examples/opengl_example/imgui_impl_glfw.h b/examples/opengl_example/imgui_impl_glfw.h index 05fe6b054..7c1efeef1 100644 --- a/examples/opengl_example/imgui_impl_glfw.h +++ b/examples/opengl_example/imgui_impl_glfw.h @@ -1,7 +1,7 @@ // ImGui GLFW binding with OpenGL -// You can copy and use unmodified imgui_impl_* files in your project. -// If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and ImGui_ImplXXXX_Shutdown(). -// See main.cpp for an example of using this. +// You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. +// If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and ImGui_ImplXXXX_Shutdown(). +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. // https://github.com/ocornut/imgui struct GLFWwindow; diff --git a/examples/opengl_example/main.cpp b/examples/opengl_example/main.cpp index b6d8dbdc7..a844db520 100644 --- a/examples/opengl_example/main.cpp +++ b/examples/opengl_example/main.cpp @@ -1,4 +1,5 @@ // ImGui - standalone example application for Glfw + OpenGL 2, using fixed pipeline +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. #include #include "imgui_impl_glfw.h" diff --git a/examples/sdl_opengl3_example/imgui_impl_sdl_gl3.h b/examples/sdl_opengl3_example/imgui_impl_sdl_gl3.h index ef4757cce..3bbd0a7dc 100644 --- a/examples/sdl_opengl3_example/imgui_impl_sdl_gl3.h +++ b/examples/sdl_opengl3_example/imgui_impl_sdl_gl3.h @@ -1,7 +1,7 @@ // ImGui SDL2 binding with OpenGL3 -// You can copy and use unmodified imgui_impl_* files in your project. +// You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. // If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and ImGui_ImplXXXX_Shutdown(). -// See main.cpp for an example of using this. +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. // https://github.com/ocornut/imgui struct SDL_Window; diff --git a/examples/sdl_opengl3_example/main.cpp b/examples/sdl_opengl3_example/main.cpp index 4c5d2ee42..5279ed276 100644 --- a/examples/sdl_opengl3_example/main.cpp +++ b/examples/sdl_opengl3_example/main.cpp @@ -1,4 +1,5 @@ // ImGui - standalone example application for SDL2 + OpenGL +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. #include #include "imgui_impl_sdl_gl3.h" diff --git a/examples/sdl_opengl_example/imgui_impl_sdl.h b/examples/sdl_opengl_example/imgui_impl_sdl.h index cef9817c2..cb65c3b46 100644 --- a/examples/sdl_opengl_example/imgui_impl_sdl.h +++ b/examples/sdl_opengl_example/imgui_impl_sdl.h @@ -1,7 +1,7 @@ // ImGui SDL2 binding with OpenGL -// You can copy and use unmodified imgui_impl_* files in your project. +// You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. // If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and ImGui_ImplXXXX_Shutdown(). -// See main.cpp for an example of using this. +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. // https://github.com/ocornut/imgui struct SDL_Window; diff --git a/examples/sdl_opengl_example/main.cpp b/examples/sdl_opengl_example/main.cpp index a87d0247a..f2fbad902 100644 --- a/examples/sdl_opengl_example/main.cpp +++ b/examples/sdl_opengl_example/main.cpp @@ -1,4 +1,5 @@ // ImGui - standalone example application for SDL2 + OpenGL +// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. #include #include "imgui_impl_sdl.h"