41 Commits (cea78cc576eae0380f9cf43333e3b7e89730b663)

Author SHA1 Message Date
omar 7e7c017b75 Examples: Simplified mouse wheel handling. (#1463) ago%!(EXTRA string=7 years)
omar 0b1fecb792 Horizontal mouse wheel: renamed io.MouseHorizWheel to io.MouseWheelH. Reorganized the code in NewFrame(). Examples: Updated GLFW+GL and SDL+GL accordingly. (#1463) ago%!(EXTRA string=7 years)
omar ba99900023 Examples: GLFW+GL2: Renamed imgui_impl_glfw.* to imgui_impl_glfw_gl2.* for consistency and to emphasis on GL2-ness. ago%!(EXTRA string=7 years)
omar ce95b84825 Added ImGuiKey_Insert for future use. Setup in all example bindings. (#1541) ago%!(EXTRA string=7 years)
omar 407955d9fb Examples: Using IM_OFFSETOF macro. + Comments ago%!(EXTRA string=7 years)
omar 4c90529c62 Examples: Visual Studio projects: Disabled extraneous function-level check in Release build. ago%!(EXTRA string=7 years)
omar 9f8632b131 Examples: Comments about invalid mouse pos. ago%!(EXTRA string=7 years)
omar ce13426a1a Examples: Comments, synched some minor drift between examples + stronger suggestion to use StyleColorsDark(). ago%!(EXTRA string=7 years)
omar 1b86e7343f Renamed the emblematic ShowTestWindow() function to ShowDemoWindow(). Kept redirection function (will obsolete). ago%!(EXTRA string=7 years)
Emmanuel Benoît 77a310736d Horizontal mouse wheel support ago%!(EXTRA string=8 years)
omar ef5dd30625 Sisyphus says: tweaked comments about not using old-style OpenGL examples (#1459, #1394 etc.) ago%!(EXTRA string=8 years)
omar 6bd3b45b34 Sisyphus says: tweaked comments about not using old-style OpenGL examples (#1459, #1394 etc.) ago%!(EXTRA string=8 years)
omar fba704bf5d Examples: Added a bunch of comments/referencs related to io.WantCaptureMouse, io.WantCaptureKeyboard (#1262, #1237, #1219, #635, #1058, #1051, #912, #533, #703, #446, #459, #364, #213, #52, and more) ago%!(EXTRA string=8 years)
omar 36f00811b9 Examples: Comments to guide people unfamiliar with the librairies used. ago%!(EXTRA string=8 years)
omar cb38caeda4 Examples: Added more comments near the fonts loading section, to catch common questions and errors (e.g. #1397, #1366, #1341, #1222, #1193, #1115, #951, etc.) ago%!(EXTRA string=8 years)
omar c5027d4fa1 Examples: Extra clarification for the 100th person who insist on using the OpenGL2 code in spite of existing documentation leaning against it. (#1394) ago%!(EXTRA string=8 years)
omar 50f5be9266 Examples: GLFW+GL2/GL3: Minor tweaks, comments. ago%!(EXTRA string=8 years)
omar b3099d650c Examples: Adding Roboto to the commented-out font list, and removing the unnecessary ProggyClean from there. ago%!(EXTRA string=8 years)
omar 842e88a8e3 Examples: Avoid using ImColor() to not tempt newcomers into looking at it ago%!(EXTRA string=8 years)
ocornut d5d825debb Nav/Examples: honoring the io.WantMoveMouse flag in most common examples (#323) ago%!(EXTRA string=8 years)
omar b8ade0b94f Examples: Main: Removed call to SetNextWindowSize() ago%!(EXTRA string=8 years)
omar 4abce8af58 Examples: GL2: Renaming, comments. ago%!(EXTRA string=8 years)
omar 7d1f2c0dc5 Examples: GL2: rename functions to include GL2 in name ago%!(EXTRA string=8 years)
unknown cf48e28932 Backup polygon mode, draw with filled polygons, restore state, for clients running opengl with glPolygonMode. closes #798 ago%!(EXTRA string=8 years)
omar 92a6faca6f IO: io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. Previously ImVec2(-1,-1) was enough but we'll now accept negative mouse coordinates. ago%!(EXTRA string=8 years)
omar 7e452ec737 Renamed ImGuiSetCond_XXX type and enums to ImGuiCond_XXX, kept old enums under #ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS ago%!(EXTRA string=8 years)
omar 645875a240 Examples: Enable vsync by default in example applications (#1213, #1151) ago%!(EXTRA string=8 years)
omar 166e8f6261 Examples: OpenGL2+GLFW/SDL: Added commented out glUseProgram(0) in main.cpp for visibility (#1116) ago%!(EXTRA string=8 years)
radius 8b6896faf9 add SDL GL3 makefile ago%!(EXTRA string=8 years)
radius d43695b748 fix gl2 sample too ago%!(EXTRA string=8 years)
omar f030087f8e Comments to redirect people to OpenGL3 examples (#1116) ago%!(EXTRA string=8 years)
ocornut 1396659b72 Examples: Speculative fix for OSX Makefile to make Travis happy (re #812) ago%!(EXTRA string=8 years)
ocornut 775ac24d45 Fixed overzealous GCC warnings (#883) + partly undo 8553bab241 ago%!(EXTRA string=9 years)
ocornut 81eefb704b Minor const fixes for overzealous warnings (#883) ago%!(EXTRA string=9 years)
ocornut 0d3f8807c7 Added a void* user_data parameter to Clipboard function handlers. (#875) ago%!(EXTRA string=9 years)
ocornut 02399852fe Examples: OpenGL2: Uploading font texture as RGBA32 to increase compatibility with users shaders for beginners (#824) ago%!(EXTRA string=9 years)
ocornut bc57fd5d1d Examples: OpenGL*: Savnig/restoring existing scissor rectangle for completeness (#807) ago%!(EXTRA string=9 years)
ocornut 2825eaa0be Examples: Accessing ImVector fields directly, feel less stl-ey and fix renderer side assert when render list only contains a callback (#810) ago%!(EXTRA string=9 years)
ocornut 5ae71aa04a Examples: Renaming opengl_example/ to opengl2_example/ for clarity (1/2 because git) ago%!(EXTRA string=9 years)
ocornut 3c384c2f10 Examples: Renaming opengl_example/ to opengl2_example/ for clarity (1/2 because git) ago%!(EXTRA string=9 years)