Commit Graph

  • abe7b190dc Examples: DX10, DX11: Fixed unreleased resources in Init and Shutdown functions. (#1944) omar 2018-07-13 11:25:54 +0200
  • badde9a970 Demo: Spacing. omar 2018-07-12 11:58:50 +0200
  • b30b82835a Merge branch 'master' into viewport omar 2018-07-12 11:48:49 +0200
  • b629f90393 Demo: Re-ordered example app code to match their menu order and forward declaration order + added header to delimitate them. omar 2018-07-12 11:40:23 +0200
  • d107146687 Viewport: Fixed CTRL+TAB windowing list displaying too many dimming layers (fix dd61c48 for viewport branch) omar 2018-07-12 11:19:17 +0200
  • 5e73e969fb Comments, exposed a few things in imgui_internal.h for consistency, added ImQsort wrapper. omar 2018-07-12 11:08:24 +0200
  • 88df66ec83 Merge branch 'master' into viewport omar 2018-07-12 10:03:18 +0200
  • 23288547ec Revert part of c7016c2 incorrectly renaming ImGuiCol_NavWindowingHighlight to ImGuiCol_NavWindowListHighlight, that was wholly unnecessary (and not documented!). (also invalidate #1939) omar 2018-07-12 09:53:10 +0200
  • 59fb3274a7 Examples: include for intptr_t on tdm-gcc + mingw32 (#1936) + mouse buttons comments omar 2018-07-11 12:23:46 +0200
  • 9007dff5eb IsItemHovered(): Added ImGuiHoveredFlags_AllowWhenDisabled flag to query hovered status on disabled items. (#1940, #211) + shallow changelog tweaks omar 2018-07-10 19:16:57 +0200
  • fff014dfed Examples: OpenGL3: Added shaders more versions of GLSL + made the example app default to GL 3.0 + GLSL 130 (instead of GL 3.2 + GLSL 150) unless on Mac. (#1938, #1900, #1513, #1466, etc.) omar 2018-07-10 18:29:57 +0200
  • b829671df1 Fixed missing value in GetStyleColorName(). (#1939) broken with c7016c2 omar 2018-07-10 16:45:54 +0200
  • de13261f1b OpenGL3: Added error output when shaders fail to compile / link. (#1938) omar 2018-07-10 16:09:34 +0200
  • 4dfb9ef751 Internals: Extracted StartMouseMovingWindow so we can add code to turn an arbitrary widget into a window mover (will be useful to make the Collapse button a window mover past a mouse drag threshold) + added a couple of _None flags. omar 2018-07-10 11:05:14 +0200
  • ce18371d1b Internals: Fixed CalcSizeContents() returning negative value on first run (inconsequential afaik, but fixing for sanity) omar 2018-07-06 19:24:54 +0200
  • dc021f1c23 Internals: Fixed CalcSizeContents() returning negative value on first run (inconsequential afaik, but fixing for sanity) omar 2018-07-06 19:24:54 +0200
  • 9dea27b273 Viewport: Made it possible for the moving window to detach and recreate its own Viewport (used by Docking) omar 2018-06-27 17:27:27 +0200
  • 140ece0aeb Internals: HoveredWindowUnderMovingWindow special handling for drag and drop of window without altering the _NoInputs window flag, which worked but messed up the IsWindowHovered() user-facing flags. omar 2018-06-26 19:05:02 +0200
  • 7abf72ec78 Viewport: Reapply/recover ownership of viewport which is convenient for docking but also can recover from faulty .ini files. (#1542) omar 2018-06-26 20:51:44 +0200
  • 17f36038e0 Internals: Misc/shallow merge from Docking branch. omar 2018-07-09 21:06:46 +0200
  • 574185426c Internals: Misc/shallow merge from Docking branch. omar 2018-07-09 21:06:46 +0200
  • 7033b2043b Internals: Move IMGUI_CDECL declaration to imgui_internal.h so everyone can profit. omar 2018-07-03 18:28:46 +0200
  • dd61c4802a Nav: Added a CTRL+TAB window list and changed the highlight system accordingly. (#787) omar 2018-07-09 19:16:48 +0200
  • c7016c25e8 Nav: Added a CTRL+TAB window list and changed the highlight system accordingly. (#787) omar 2018-07-09 19:16:48 +0200
  • 14cef31467 Merge branch 'master' into viewport omar 2018-07-09 16:24:01 +0200
  • 0708f91617 Internals: Removed RootWindowForTabbing, won't be needed. Nav: Not starting NavWindowingTarget when a modal is active (was not noticeable). omar 2018-07-09 15:04:27 +0200
  • 6201cad2b4 Examples: Comments, Demo: Log early out, TODO. (#1553) omar 2018-07-09 11:32:20 +0200
  • 17efd7b3b0 Demo: Added basic Drag and Drop demo. (#143, #1931) omar 2018-07-08 19:55:57 +0200
  • bd6097ac6f Drag and Drop: Calling BeginTooltip() between a BeginDragSource()/EndDragSource() or BeginDropTarget()/EndDropTarget() uses adjusted tooltip settings matching the one created when calling BeginDragSource() without the ImGuiDragDropFlags_SourceNoPreviewTooltip flag. (#143) + additional safety checks. omar 2018-07-08 20:04:49 +0200
  • 64938178b7 Internals: Moved selectable flags to avoid collision with public flags + rewrote some tests so we can consistently grep for (held && hovered) omar 2018-07-08 18:23:12 +0200
  • a33f0d1f7f Drag and Drop: Fixed ImGuiDragDropFlags_SourceNoDisableHover to affect hovering state prior to calling IsItemHovered() + fixed description. (#143) omar 2018-07-08 16:38:46 +0200
  • 3a42eb6620 Fix missing ImmReleaseContext in default Win32 IME handler (#1932) vby 2018-07-08 21:24:12 +0800
  • b0cdfe0ece Generalized d11d211e so regular popups (without the AlwaysAutoResize flag) also have a smaller minimum size, but reduced it to an arbitrary 4.0f instead of 1.0f to ease debugging of faulty situations. (#1909) omar 2018-07-08 13:27:16 +0200
  • 6277781e83 Merge branch 'master' into viewport omar 2018-07-08 13:08:16 +0200
  • c790723cfa Drag and Drop: Fixed an incorrect assert when dropping a source that is submitted after the target (bug introduced with 1.62 changes related to the addition of IsItemDeactivated()). (#1875, #143) omar 2018-07-08 13:03:39 +0200
  • 89e2ddf07f Examples: Comments + shallow coding convention tweak to be consistent across examples and with imgui_impl_osx omar 2018-07-08 11:16:11 +0200
  • 569e0f07f1 Examples: Removed old example_apple/ + tweak comments (#1873) omar 2018-07-08 10:57:16 +0200
  • 839e4d34bd Merge branch 'warrenm_osx' Omar Cornut 2018-07-08 10:47:55 +0200
  • c3f9220c15 Apple: Fixed example_osx_opengl2, renamed to example_apple_opengl2 + misc comments Omar Cornut 2018-07-08 10:47:31 +0200
  • d11d211e5d Allow popup from ignoring the style.WindowMinSize values so short menus are not padded. (#1909) Wider generalization of b16603745c. omar 2018-07-06 18:28:12 +0200
  • 93950b8c32 Internals: Removed unused ShadeVertsLinearAlphaGradientForLeftToRightText code. omar 2018-07-06 14:54:22 +0200
  • 42bf149ac6 Removed per-window ImGuiWindowFlags_ResizeFromAnySide beta flag in favor io.OptResizeWindowsFromEdges=true to enable the feature globally. (#1495) The feature is not currently enabled by default because it is not satisfying enough. omar 2018-07-06 15:30:21 +0200
  • d64157e803 Introduced a new Metal renderer implementation and a new example illustrating usage of Metal on macOS and iOS (partially addresses #1873) Warren Moore 2018-07-05 18:41:21 +0900
  • 0146f4b456 Internals: BeginChildEx tweaks. omar 2018-07-05 09:17:16 +0200
  • 7b2662d245 Examples: Comments, bits of documentation omar 2018-07-04 19:06:28 +0200
  • deb7aa29cd OSX: Various tweaks to imgui_impl_osx courtesy of @warrenm + fix NewFrame position which has been moved recently master. (#1873) omar 2018-07-04 13:24:16 +0200
  • 0d7e779b37 Merge branch 'master' into osx omar 2018-07-04 13:13:11 +0200
  • 665bd1e140 Links and thanks. Comments on using BeginCombo/EndCombo + moved the Combo() implementations closer to each others to maximize user seeing how it is implemented from any of the secondary function body. omar 2018-07-04 10:07:50 +0200
  • a765c83bad Ignore list: added emscripten output omar 2018-07-03 15:57:34 +0200
  • 770cba0bd0 Merge branch 'master' into viewport omar 2018-07-02 20:13:16 +0200
  • ddb09c6011 Examples: Ignore all *.user files (#1919) Konstantin Podsvirov 2018-07-02 20:43:33 +0300
  • 645ab6633c Fixed a include build issue for Cygwin in non-POSIX (Win32) mode. (#1917, #1319, #276) omar 2018-07-01 12:25:37 +0200
  • c4e34aaace Examples: Comments to clarify how the keyboard data is indexed. omar 2018-06-30 14:33:45 +0200
  • b62cc5c150 Fix include Example_glfw_vulkan cmake (#1916) codecnotsupported 2018-06-30 10:53:36 +0200
  • 6e67afc500 Tweaked software mouse cursor offset to match the offset of the corresponding Windows 10 cursors. (followup to #1914) omar 2018-06-29 16:32:52 +0200
  • 62b3d7c51e Fixed software Hand cursor from not actually working. Fixed demo from crashing. Fixed typo and extraneous trailing space. Added Changelogs. (#1913, #1914) omar 2018-06-29 16:30:41 +0200
  • ecd9a223e3 add hand cursor support (+11 squashed commit) Aiekick 2018-06-29 12:16:17 +0200
  • 004fe8916a Internals: Settings: Simple optimization caching index into the settings buffer, to remove an unnecessary O(N*M) search during saving. (with N=active root windows during the session, M=stored settings which grows over time) omar 2018-06-28 18:41:30 +0200
  • 242d7e0b0b ImVector: Added index_from_pointer() helper. omar 2018-06-28 18:37:38 +0200
  • b16603745c Allow menu windows from ignoring the style.WindowMinSize values so short menus are not padded. (#1909) omar 2018-06-28 11:33:03 +0200
  • 7adae3299e Double-click on resize grip doesn't need to test HoveredWindow (as button has the flattenchild flag anyway) + double-click on title bar verify that we don't have overlapping items to allow contents in title bar. + Comments omar 2018-06-23 12:00:12 +0200
  • 42a919f303 Examples: Apple: Fixed paths of GLFW+GL2 example. (#1906) Update ignore list. Omar Cornut 2018-06-27 09:32:03 +0200
  • c38fe6b0e1 Merge branch 'master' into viewport omar 2018-06-26 12:41:36 +0200
  • 79153cf19f Internals: Various renaming. e.g. NewFrameUpdateHoveredWindowAndCaptureFlags() to UpdateHoveredWindowAndCaptureFlags() + exposed UpdateMovingWindow() in imgui_internal.h. omar 2018-06-23 20:08:19 +0200
  • 14ceaaf460 ArrowButton: Fixed to honor PushButtonRepeat() setting (and internals' ImGuiItemFlags_ButtonRepeat). Setup current line text baseline so that ArrowButton() + SameLine() + Text() are aligned properly. omar 2018-06-26 12:37:10 +0200
  • 9d67d18d86 Internals: Moved some of the SliderBehaviorT code into SliderBehavior to reduce the amount of instanciated code. omar 2018-06-25 14:01:21 +0200
  • a1ec7723ef Examples: OpenGL3: Remove misleading or unnecessary "#version 150" strings. omar 2018-06-25 09:50:06 +0200
  • c1d8dee6c5 Version 1.63 WIP omar 2018-06-25 09:40:09 +0200
  • fb0106fad2 Demo: Fixed incorrect response to Begin() returning false in overlay demo (which cannot happen since we don't have a title bar, but that doesn't make it a good behaving demo!). omar 2018-06-25 09:32:55 +0200
  • 20e89201cb Examples: Fixes. omar 2018-06-23 09:42:47 +0200
  • d3ee3e7ab5 Fixed merge. omar 2018-06-23 09:39:05 +0200
  • 00418d13e3 Demo: Fixed mismatched TreePush/TreePop in Property Editor, due to incorrect revert in 826d77185e (#1895) v1.62 omar 2018-06-22 17:45:03 +0200
  • ce500f8727 Merge branch 'master' into viewport omar 2018-06-22 12:01:42 +0200
  • d68633398b Examples: Vulkan: nverted the parameters to ImGui_ImplVulkan_RenderDrawData() to be consistent with other bindings. omar 2018-06-22 10:02:02 +0200
  • 1b74e3be02 Version 1.62 omar 2018-06-22 09:41:25 +0200
  • f9a5ff7a19 Examples: DirectX12: Moved the ID3D12GraphicsCommandList* parameter from ImGui_ImplDX12_NewFrame() to ImGui_ImplDX12_RenderDrawData() which makes a lots more sense. (#301) omar 2018-06-21 12:13:04 +0200
  • cac4c3f9b8 Examples: The functions in imgui_impl_xxx.cpp are prefixed with IMGUI_IMPL_API (which defaults to IMGUI_API) to facilitate some uses. (#1888) + Comments in imgui.h omar 2018-06-21 12:04:00 +0200
  • 528b0b4af6 Examples: SDL+OpenGL2: Fixed Makefile. (#1886) omar 2018-06-20 11:17:33 +0200
  • c44a4bed84 Examples: Fixed bindings to use ImGuiMouseCursor_COUNT instead of old name ImGuiMouseCursor_Count_ so they can compile with IMGUI_DISABLE_OBSOLETE_FUNCTIONS. (#1887) omar 2018-06-20 11:06:29 +0200
  • 2ce121b7d0 Readme, Links, Bindings omar 2018-06-16 10:43:05 +0200
  • 40845852b9 Fixed warnings + readme omar 2018-06-16 10:23:11 +0200
  • a402edb66c Examples: OSX: Added clipboard support. Fixed ignore list for xcode cruft. Comments about broken keys. (#1873) Omar Cornut 2018-06-15 22:49:03 +0200
  • 9a5f742e63 Fixed merge. omar 2018-06-15 19:48:51 +0200
  • 7e6700d261 Viewport: Fix lagging overlay clipping rectangle on viewport owning window (affecting sync of multi-layered docking overlays). This was extremely tricky to find and fix (*). (#1541) (*) Merely assigning viewport->Pos = pos in UpdateMovingWindow() broke a series of thing because the code that assign viewports and viewport flags relied on moving window leaving its own viewport the first time to set the NoInputs flag. omar 2018-06-15 19:38:17 +0200
  • c71522adc5 Viewport: Comments. Removed misleading test for !window->ViewportOwned in UpdateSelectWindowViewport(). (#1541) omar 2018-06-15 19:20:09 +0200
  • 70b0bd13aa Merge branch 'master' into viewport omar 2018-06-14 15:30:15 +0200
  • b5d385824d Added assert in TreePop() to ease catching ID stack underflow earlier. omar 2018-06-14 15:02:43 +0200
  • 826d77185e Revert 640c0566: TreeNode: Fixed nodes with ImGuiTreeNodeFlags_Leaf flag always returning true which was meaningless -> more flexible to keep allowing it by default so it setup an ID scope. omar 2018-06-14 15:10:46 +0200
  • ce0b36ba10 Added _None values to various enum flags, useful for readability and some coding style likes it. (Unfortunately we can't refer to them as default value in imgui.h functions because they need to be declared below). omar 2018-06-13 23:20:09 +0200
  • 2a6fbb2197 Speculative fix for Win32 clipboard handler if SetClipboardText() fails + Minor fix for static analyzer + using :: prefix when calling in Win32 functions. omar 2018-06-13 22:22:52 +0200
  • 185b4dde87 Examples: Allegro5: Added support for ImGuiConfigFlags_NoMouseCursorChange flag. Added clipboard support. Unindexing buffers ourselves as Allegro indexed drawing primitives are buggy in the DirectX9 back-end. omar 2018-06-13 19:22:22 +0200
  • 087ab2acbf Examples: Fixed example vcproj names in Viewport branch. omar 2018-06-13 15:59:21 +0200
  • 335f6fde7e Comments + missing changelog bits in 1.52 for SetNextWindowPos, SetNextWindowPosCenter. (obsolete #771) omar 2018-06-13 13:36:48 +0200
  • d57fc7fb97 Added IsItemDeactivatedAfterChange() if the last item was active previously, isn't anymore, and during its active state modified a value. Note that you may still get false positive. (#820, #956, #1875) omar 2018-06-13 00:10:33 +0200
  • be4b8b5615 Internals: Added GetItemID(), GetFocusID() for consistency. Made GetActiveID() inline. Comments, fixed typos, demo tweaks. omar 2018-06-12 20:18:51 +0200
  • 3569d74f98 Demo: Moved test of the Hovered/Active/Focused functions to the Widgets section. omar 2018-06-12 18:51:23 +0200
  • cd455a4600 Added IsItemDeactivated() to query if the last item was active previously but isn't anymore. Useful for Undo/Redo patterns. (#820, #956, #1875) omar 2018-06-12 18:44:33 +0200
  • c725710c6d Comments omar 2018-06-12 17:24:46 +0200
  • 24aeca3d0c Merge branch 'master' into viewport omar 2018-06-12 16:24:24 +0200
  • a48815b870 Comments, changelog omar 2018-06-11 21:15:43 +0200