4718 Commits (3fcc178c23bddf338a825fb307f55a82616bccfc)
 

Author SHA1 Message Date
omar 00e29832d4 Examples: OpenGL2: Disabling/restoring GL_LIGHTING and GL_COLOR_MATERIAL to increase compatibility with legacy OpenGL applications. (#1996) 6 years ago
omar 498c0dcb4c Using limits.h LLONG_MIN etc. to increase old-compiler compatibility (as ll and ull prefixes were not standard). Not tested much on old compilers, relying on Clang/GCC warnings. 6 years ago
omar fd2a90ee60
Update CONTRIBUTING.md 6 years ago
omar d69b2a1c1d Changelog for #1989 6 years ago
Matthias Moulin 6011ddf1e5 imgui_impl_dx11: Using ID3D11Factory instead of ID3D11Factory1 (#1989) 6 years ago
omar cc64bd9e3c Comments 6 years ago
omar 87e2fea09d Renamed io.OptResizeWindowsFromEdges to ConfigResizeWindowsFromEdges, io.OptCursorBlink to io.ConfigCursorBlink, io.OptMacOSXBehaviors to ConfigMacOSXBehaviors for consistency. (#1427, #1495, #822, #473, #650)
Demo: Exposed flags in Demo.
6 years ago
omar b1fc988c6b imgui_impl_glfw, imgui_impl_sdl: Workaround for Emscripten which doesn't seem to handle focus related calls. (#1941) 6 years ago
omar b217251a63 Added Visual Studio 2017+ build cruft to Ignore List (.vs/ folder) 6 years ago
omar 671e516377 Demo: Fix using ambiguous InputFloat() call which redirect to obsolete version. (#1990) 6 years ago
omar 65b46f62ef Fixed PushID() from keeping alive the new ID Stack top value (if a previously active widget shared the ID it would be erroneously kept alive) (drag and drop demo could soft-lock the UI until pressing Escape!) 6 years ago
omar 7e1678ff00 Drag and Drop: Elapse payload as soon as delivery is made. (#153) 6 years ago
omar faf2c34149 Drag and Drop: Added ImGuiDragDropFlags_SourceAutoExpirePayload flag to force payload to expire if the source stops being submitted. (#1725, #143). 6 years ago
omar 79ae6d3bf6 Drag and Drop: Clear payload buffers more consistently in ClearDragAndDrop() + BeginDragDropTargetCustom() can't succeed with hidden contents. (#143) 6 years ago
omar e13e5982ff Drag and Drop: Payload stays available and under the mouse if the source stops being submitted, however the tooltip is replaced by "..." + moved FrameScopeActive = false at the bottom of EndFrame() for safety. (#1725) 6 years ago
omar f88bf9cea3 InvisibleButton: Added an assert to catch common type of passing zero-sized dimensions. (#1983) 6 years ago
omar 067edd09f9 imgui_impl_opengl3: Comments. (#1987) 6 years ago
omar a7ac9e8346 Made assertion more clear when trying to call Begin() outside of the NewFrame()..EndFrame() scope. (#1987) 6 years ago
omar d5400d9517 Fixes for pre-C++11 compilers.
That said, I think we can consider upgrading requirement to an early VS-friendly subset of C++11. The thing I would like the most from C++11 are forward-declared enum (from VS 2012 onward).
6 years ago
omar 4d5dcdb57a Internals: Changed signature of ShadeVerts functions to remove pointers. (#1286, #1700, #1986) 6 years ago
omar f05aede098 Revert "Assert that fmt != NULL before calling vsnprintf (#1969)"
This reverts commit 84183f5bb6.
6 years ago
omar 80db2383d8 Speculative va_copy() fix for old versions of GCC/Clang. (cannot repro) (#1085) 6 years ago
omar 2a67aeaa3d Visual Studio: calling into _vsnprintf. (#1085) 6 years ago
Dado 81562b2b5a Examples: imgui_impl_opengl3.cpp Using #ifdef GL_SAMPLER_BINDING instead of if (glBindSampler) (#1985) 6 years ago
omar 15a93d6fe3 Internals: Fixed HoveredIdTimer so it is safe to call SetHoveredId() multiple times without altering the timer. 6 years ago
omar 6d78045ff8 Demo: Added extra demo in the Basic Horizontal Layout section. (#1977) + PR guidelines 6 years ago
Tommy Nguyen b5b972d0ef ImFontAtlas::AddFontDefault: Made it possible to override glyph ranges. (#1965) 6 years ago
Marcel Smit faa7dad537 Examples: imgui_impl_osx: Fix for incorrect DeltaTime calculation on mac OS. (#1978) 6 years ago
omar 544db70852 Examples: OpenGL3: Tweaks, added changelog. (#1941) 6 years ago
Omar Sherif Fathy fc737d2333 Examples; imgui_impl_opengl3.cpp to work with Emscripten (#1941)
* Add some ifdefs to add emscripten specific params and includes

* Update imgui_impl_opengl3.cpp

* Update imgui_impl_opengl3.cpp

* Update imgui_impl_opengl3.cpp

* replace __EMSCRIPTEN_BUILD__ with __EMSCRIPTEN__

* replace GLFW_INCLUDE_ES3 with direct header

* removing useless glfw include

* Making call to glPolygonMode() optional
6 years ago
omar f9e8b5c652 CollapseButton: Added hovering highlight + minor consistency tweaks. 6 years ago
omar 6211f40f3d Internals: Drag and Drop: default drop preview use a narrower clipping rectangle (no effect here, but other branches uses a narrow clipping rectangle that was too small so this is a fix for it) + Comments 6 years ago
omar 28c1a9857e Internals: Changed SplitterBehavior() signature to be consistent with other similar signatures. (#319). 6 years ago
omar 63df9d6311 Internals: Extracted part of Begin into UpdateWindowParentAndRootLinks(). Useful to call to keep state updated immediately (namely useful for docking) + small tidying up of imgui_internal.h 6 years ago
OswaldHurlem 84183f5bb6 Assert that fmt != NULL before calling vsnprintf (#1969)
In the case of Visual Studio 15.6 + Windows SDK 10.0, vsnprintf() with NULL format string appears to corrupt the stack...
6 years ago
omar dd0d5debef Internals: Child windows that are clipped or part of a collapsed parent are not marked as collapsed anymore, but just a separate hidden marker set. We distinguish hiding for size measurement vs hiding for other reasons. Cleaned a little the end of Begin. 6 years ago
omar 0b045d8de5 Nav: Tweaked CTRL+TAB to hide visual noise on fast switch + fading out screen dimming and highlight to make the experience less harsh 6 years ago
omar 7adac4ab3e FAQ update 6 years ago
omar 0c88fad6c2 Internals: SplitterBehavior() added hover_visibility_delay parameter which is helpful to reduce visual noise. (#319) 6 years ago
omar 357534e588 Made it possible to move a window by dragging from the Collapse button (past the drag threshold). Extracted some code out to a CollapseButton() function. 6 years ago
omar 3a522b2400 Internals: Renamed one of the arrow functions so their name don't collide. 6 years ago
omar ff83d0e369 Examples: Using fully qualified "Dear ImGui" name in window titles. 6 years ago
omar 528b50a89f Fixed horizontal mouse wheel not forwarding the request to the parent window if ImGuiWindowFlags_NoScrollWithMouse is set. (#1463, #1380, #1502) 6 years ago
omar 4b8ce24e46 Internals: Extracted part of NewFrame() into a UpdateMouseWheel() function. 6 years ago
omar 4ebd442a24 Added asserts to catch illegal modifications of the font atlas between NewFrame() and EndFrame()/Render(). (#1958) 6 years ago
omar e07f5d4c78 Changed ImGui::GetTime() return value from float to double to avoid accumulating floating point imprecisions over time. 6 years ago
omar ec76009bc4 Readme: fixed typo + patron 6 years ago
Elias Daler af38a5c41a Ignore GCC warning (-Wclass-memaccess) in imgui.h (#1959) 6 years ago
omar fded746d03 Tweaked Contributing guidelines, Issue and PR templates 6 years ago
omar 048add5ef2 ImGuiTextFilter, TextRange: removed cruft from TextRange since it's not a publicly and generic helper at the moment + marked internal stuff + changed a reference to a pointer. (#1879) 6 years ago