Commit Graph

  • 0905202f44 Internals: Minor renaming for consistency. omar 2018-08-05 18:13:24 +0200
  • 9e9c8a8991 Update to Contributing, and Issue/PR templates. omar 2018-08-05 18:13:15 +0200
  • 54edf2cda2 Numeric keypad enter is enabled on glfw durswd 2018-08-05 11:39:00 +0900
  • d63bd37223 Fix code for glew loader. Jérémie Dumas 2018-08-04 11:56:00 -0400
  • f304ac1047 Define IMGUI_IMPL_OPENGL_LOADER_* in .h and not .cpp Jérémie Dumas 2018-08-04 11:31:47 -0400
  • 56fe50a23d WIP on configurable OpenGL loader. Jérémie Dumas 2018-08-04 11:28:25 -0400
  • e29a6e0ca4 WIP on configurable OpenGL loader. Jérémie Dumas 2018-08-04 10:09:56 -0400
  • bc6ac8b2ae Metrics: Changed io.MetricsActiveWindows to reflect the number of active windows (!= from visible windows), which is useful for lazy/idle render mechanisms as new windows are typically not visible for one frame. Metrics: Added io.MetricsRenderWindow to reflect the number of visible windows. omar 2018-08-03 18:12:36 +0200
  • 00e29832d4 Examples: OpenGL2: Disabling/restoring GL_LIGHTING and GL_COLOR_MATERIAL to increase compatibility with legacy OpenGL applications. (#1996) omar 2018-08-03 15:04:35 +0200
  • 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. omar 2018-08-03 11:40:58 +0200
  • 9e196972aa working with text bounding Hendra Darwintha 2018-08-01 14:05:00 +0700
  • fd2a90ee60
    Update CONTRIBUTING.md omar 2018-08-02 16:53:51 +0200
  • 77af7eb0fe
    Merge eab0472102 into d69b2a1c1d Ronen Lapushner 2018-08-01 16:39:17 +0000
  • a1b371de59
    Merge eab0472102 into d69b2a1c1d Ronen Lapushner 2018-08-01 16:38:49 +0000
  • 8ef0ca9765 Merge branch 'master' into viewport omar 2018-08-01 12:27:56 +0200
  • d69b2a1c1d Changelog for #1989 omar 2018-08-01 12:23:59 +0200
  • 6011ddf1e5 imgui_impl_dx11: Using ID3D11Factory instead of ID3D11Factory1 (#1989) Matthias Moulin 2018-08-01 12:22:04 +0200
  • cc64bd9e3c Comments omar 2018-08-01 11:54:54 +0200
  • 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. omar 2018-08-01 11:50:57 +0200
  • b1fc988c6b imgui_impl_glfw, imgui_impl_sdl: Workaround for Emscripten which doesn't seem to handle focus related calls. (#1941) omar 2018-08-01 11:34:17 +0200
  • 7eef61ef55 resyncing with 2018 August 1st version of ImGui. erba 2018-08-01 10:09:36 +0200
  • b217251a63 Added Visual Studio 2017+ build cruft to Ignore List (.vs/ folder) omar 2018-07-31 18:48:24 +0200
  • 671e516377 Demo: Fix using ambiguous InputFloat() call which redirect to obsolete version. (#1990) omar 2018-07-31 18:38:15 +0200
  • 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!) omar 2018-07-31 17:26:42 +0200
  • 7e1678ff00 Drag and Drop: Elapse payload as soon as delivery is made. (#153) omar 2018-07-31 17:15:01 +0200
  • a556a39679
    ID3D11Factory instead of ID3D11Factory1 Matthias Moulin 2018-07-31 16:22:29 +0200
  • c031ea088a Viewport: Fixed an assert on loss of valid mouse position while dragging a tooltip (would happen often when using debugger breakpoint). Not totally sure about best solution, may not be important. omar 2018-07-31 13:38:24 +0200
  • faf2c34149 Drag and Drop: Added ImGuiDragDropFlags_SourceAutoExpirePayload flag to force payload to expire if the source stops being submitted. (#1725, #143). omar 2018-07-31 13:44:19 +0200
  • 79ae6d3bf6 Drag and Drop: Clear payload buffers more consistently in ClearDragAndDrop() + BeginDragDropTargetCustom() can't succeed with hidden contents. (#143) omar 2018-07-31 13:36:06 +0200
  • 9824bf1ba1 Merge branch 'master' into viewport omar 2018-07-31 12:12:56 +0200
  • 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) omar 2018-07-30 18:06:41 +0200
  • f88bf9cea3 InvisibleButton: Added an assert to catch common type of passing zero-sized dimensions. (#1983) omar 2018-07-30 18:48:10 +0200
  • 067edd09f9 imgui_impl_opengl3: Comments. (#1987) omar 2018-07-30 18:44:58 +0200
  • a7ac9e8346 Made assertion more clear when trying to call Begin() outside of the NewFrame()..EndFrame() scope. (#1987) omar 2018-07-30 18:20:25 +0200
  • 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). omar 2018-07-30 17:42:27 +0200
  • 4d5dcdb57a Internals: Changed signature of ShadeVerts functions to remove pointers. (#1286, #1700, #1986) omar 2018-07-30 17:24:04 +0200
  • f05aede098 Revert "Assert that fmt != NULL before calling vsnprintf (#1969)" omar 2018-07-30 16:50:47 +0200
  • 80db2383d8 Speculative va_copy() fix for old versions of GCC/Clang. (cannot repro) (#1085) omar 2018-07-30 16:00:47 +0200
  • 2a67aeaa3d Visual Studio: calling into _vsnprintf. (#1085) omar 2018-07-30 15:27:09 +0200
  • 81562b2b5a Examples: imgui_impl_opengl3.cpp Using #ifdef GL_SAMPLER_BINDING instead of if (glBindSampler) (#1985) Dado 2018-07-30 14:38:13 +0100
  • 0d58667b4f using #ifdef GL_SAMPLER_BINDING instead of if (glBindSampler) Davide Pirola 2018-07-30 14:11:46 +0100
  • 15a93d6fe3 Internals: Fixed HoveredIdTimer so it is safe to call SetHoveredId() multiple times without altering the timer. omar 2018-07-30 14:36:08 +0200
  • 6d78045ff8 Demo: Added extra demo in the Basic Horizontal Layout section. (#1977) + PR guidelines omar 2018-07-30 14:30:26 +0200
  • b5b972d0ef ImFontAtlas::AddFontDefault: Made it possible to override glyph ranges. (#1965) Tommy Nguyen 2018-07-30 14:18:20 +0200
  • faa7dad537 Examples: imgui_impl_osx: Fix for incorrect DeltaTime calculation on mac OS. (#1978) Marcel Smit 2018-07-30 14:15:24 +0200
  • 544db70852 Examples: OpenGL3: Tweaks, added changelog. (#1941) omar 2018-07-30 14:00:53 +0200
  • fc737d2333 Examples; imgui_impl_opengl3.cpp to work with Emscripten (#1941) Omar Sherif Fathy 2018-07-30 13:52:18 +0200
  • e33cc5f2b5 Using different approach to render aligned text Hendra Darwintha 2018-07-30 17:21:10 +0700
  • 3a505658ab Add text alignment feature Hendra Darwintha 2018-07-27 11:19:47 +0700
  • 2a7b5b3424 Fix for incorrect DeltaTime calculation on Macos. The clock() function isn't guaranteed to increment at a *physical* CLOCKS_PER_SEC. It depends on the active vs idle time of the process. Marcel Smit 2018-07-29 13:26:01 +0200
  • ab7c5fc2df Add aspect preserving to ShowExampleAppConstrainedResize zx64 2018-07-28 15:51:16 +0000
  • f9e8b5c652 CollapseButton: Added hovering highlight + minor consistency tweaks. omar 2018-07-27 13:20:24 +0200
  • 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 omar 2018-07-27 12:29:33 +0200
  • 0095b7a0ea Merge branch 'master' into viewport omar 2018-07-26 23:55:23 +0200
  • 28c1a9857e Internals: Changed SplitterBehavior() signature to be consistent with other similar signatures. (#319). omar 2018-07-26 23:50:05 +0200
  • 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 omar 2018-07-26 23:45:48 +0200
  • 84183f5bb6 Assert that fmt != NULL before calling vsnprintf (#1969) OswaldHurlem 2018-07-26 13:26:50 -0700
  • 6b4f6cd2c5 Merge branch 'master' into viewport omar 2018-07-26 19:25:55 +0200
  • 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. omar 2018-06-27 17:21:59 +0200
  • 0b045d8de5 Nav: Tweaked CTRL+TAB to hide visual noise on fast switch + fading out screen dimming and highlight to make the experience less harsh omar 2018-07-26 19:00:17 +0200
  • 1b646a4440 Nav: Tweaked CTRL+TAB to hide visual noise on fast switch + fading out screen dimming and highlight to make the experience less harsh omar 2018-07-26 19:00:17 +0200
  • 7adac4ab3e FAQ update omar 2018-07-26 12:55:40 +0200
  • 60f23d2dce
    Assert that fmt != NULL before calling vsnprintf OswaldHurlem 2018-07-26 02:33:39 -0700
  • e26469090b
    Merge d1358c2fc5 into 0c88fad6c2 Hendra Darwintha 2018-07-26 07:41:04 +0000
  • d1358c2fc5 fix error compile on clang and gcc Hendra Darwintha 2018-07-26 14:40:52 +0700
  • 2bdcea78fd add right-aligned text for column, add colored text for menuitem Hendra Darwintha 2018-07-26 13:27:47 +0700
  • 0c88fad6c2 Internals: SplitterBehavior() added hover_visibility_delay parameter which is helpful to reduce visual noise. (#319) omar 2018-07-25 16:06:30 +0200
  • a8dfebf2e8 fixup! ImFontAtlas::AddFontDefault: Made it possible to override glyph ranges. Tommy Nguyen 2018-07-24 17:34:45 +0200
  • 7313d6891f ImFontAtlas::AddFontDefault: Made it possible to override glyph ranges. Tommy Nguyen 2018-07-24 17:19:40 +0200
  • f22024cb19 Internals: Exposed NavScoreItemGetQuadrant() as ImGetDirQuadrantFromDelta() in imgui_internal.h omar 2018-07-18 16:16:44 +0200
  • 049c515840 Added non-const ImVec2 [] operator for consistency (and because some docking code needs it.) omar 2018-07-18 13:03:21 +0200
  • 352695bc57 Merge branch 'master' into viewport omar 2018-07-24 16:50:49 +0200
  • 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. omar 2018-07-10 11:14:38 +0200
  • 3a522b2400 Internals: Renamed one of the arrow functions so their name don't collide. omar 2018-07-23 20:59:13 +0200
  • 1c22dc1743 mouseMoved doesn't need to be passed on -- we own the whole window. mouseDragged shouldn't have been passing on to mouseMoved (sloppy copy/paste), not does it need to pass it to super either. Andrew Green 2018-07-23 10:36:41 -0500
  • ff83d0e369 Examples: Using fully qualified "Dear ImGui" name in window titles. omar 2018-07-23 17:31:13 +0200
  • 66e3ed729e Use unflipped coordinate system. Pass mouseMoved and mouseDragged events to handler, and activate the dispatch of the events to the Cocoa window. Andrew Green 2018-07-22 16:03:28 -0500
  • 528b50a89f Fixed horizontal mouse wheel not forwarding the request to the parent window if ImGuiWindowFlags_NoScrollWithMouse is set. (#1463, #1380, #1502) omar 2018-07-22 19:04:15 +0200
  • 4b8ce24e46 Internals: Extracted part of NewFrame() into a UpdateMouseWheel() function. omar 2018-07-22 18:57:28 +0200
  • 4ebd442a24 Added asserts to catch illegal modifications of the font atlas between NewFrame() and EndFrame()/Render(). (#1958) omar 2018-07-22 18:53:27 +0200
  • e07f5d4c78 Changed ImGui::GetTime() return value from float to double to avoid accumulating floating point imprecisions over time. omar 2018-07-22 18:46:41 +0200
  • ec76009bc4 Readme: fixed typo + patron omar 2018-07-22 18:09:44 +0200
  • af38a5c41a Ignore GCC warning (-Wclass-memaccess) in imgui.h (#1959) Elias Daler 2018-07-22 19:05:13 +0300
  • c48a2c7ad2 Use && instead of and in #if Elias Daler 2018-07-22 19:03:04 +0300
  • 8e6bb509ba Add diagnostic push, remove comment about diagnostic and make on if expression for checking GNU's version Elias Daler 2018-07-22 18:57:42 +0300
  • fded746d03 Tweaked Contributing guidelines, Issue and PR templates omar 2018-07-22 17:32:31 +0200
  • 4fcc92fe42 Ignore GCC warning (-Wclass-memaccess) Elias Daler 2018-07-22 17:52:57 +0300
  • 74077491ce Viewport: Fixed a situation when the implicit Debug window can hold on a zombie viewport which platform window is not properly destroyed. (#1542) omar 2018-07-22 16:23:35 +0200
  • 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) omar 2018-07-19 15:22:18 +0200
  • d016ef1825 Examples: SDL: Removed SDL_HAS_WARP_MOUSE_GLOBAL in the non-viewport branch. (#1954) (+1 squashed commits) omar 2018-07-19 12:51:20 +0200
  • db468b560f
    Merge 2ba46428c6 into 93321d3280 Trevor Hickey 2018-07-18 18:46:27 +0000
  • 2ba46428c6
    supress potentially unused identifier Trevor Hickey 2018-07-18 14:46:11 -0400
  • 23b67e6ff5 Merge branch 'master' into viewport omar 2018-07-17 19:52:14 +0200
  • 93321d3280 Nav: Fixed CTRL+TAB windowing list from always showing the implicit Debug window. (#787) omar 2018-07-17 19:48:53 +0200
  • 7e59eb026b Fix warning when IMGUI_DEFINE_MATH_OPERATORS is already defined by build system. (#1950) Rokas Kupstys 2018-07-17 18:17:56 +0300
  • 33d92f9240 Fix warning when IMGUI_DEFINE_MATH_OPERATORS is already defined by build system. Rokas Kupstys 2018-07-17 17:23:40 +0300
  • 7b4fbf4301 Viewport: Removed the need for the back-end to fill io.MousePosViewport, it seems unnecessary at this point. (#1542) omar 2018-07-17 16:37:10 +0200
  • b8b74970d7 Internals: Viewport: Renamed g.MouseRefViewport to g.MouseViewport. (#1542) omar 2018-07-17 15:59:09 +0200
  • defbf1c4b3 Viewport: when moving window we use the moving window viewport unless drag and dropping. This is to fix e.g. IsItemHovered() + Tooltip pattern that may be active while moving a window. (#1542) omar 2018-07-17 15:56:02 +0200
  • 16c6734bcb Viewport: Revert part of 7abf72e, the viewport ownership stealing is problematic. (#1542). Will rework in the context of docking. (+1 squashed commits) + Fixed unused prototype warning (left-over from a merge) omar 2018-07-16 23:39:14 +0200