imgui

FORK: Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
git clone https://git.neptards.moe/neptards/imgui.git
Log | Files | Refs

CHANGELOG.txt (265083B)


      1 dear imgui
      2 CHANGELOG
      3 
      4 This document holds the user-facing changelog that we also use in release notes.
      5 We generally fold multiple commits pertaining to the same topic as a single entry.
      6 Changes to backends are also included within the individual .cpp files of each backend.
      7 
      8 RELEASE NOTES:          https://github.com/ocornut/imgui/releases
      9 REPORT ISSUES:          https://github.com/ocornut/imgui/issues
     10 DISCUSS, ASK QUESTIONS: https://github.com/ocornut/imgui/discussions
     11 FAQ                     https://www.dearimgui.org/faq/
     12 WIKI                    https://github.com/ocornut/imgui/wiki
     13 
     14 WHEN TO UPDATE?
     15 
     16 - Keeping your copy of Dear ImGui updated regularly is recommended.
     17 - It is generally safe to sync to the latest commit in master or docking branches
     18   The library is fairly stable and regressions tends to be fixed fast when reported.
     19 
     20 HOW TO UPDATE?
     21 
     22 - Overwrite every file except imconfig.h (if you have modified it).
     23 - You may also locally branch to modify imconfig.h and merge latest into your branch.
     24 - Read the `Breaking Changes` section (in imgui.cpp or here in the Changelog).
     25 - If you have a problem with a missing function/symbols, search for its name in the code, there will likely be a comment about it.
     26 - If you are dropping this repository in your codebase, please leave the demo and text files in there, they will be useful.
     27 - You may diff your previous Changelog with the one you just copied and read that diff.
     28 - You may enable `IMGUI_DISABLE_OBSOLETE_FUNCTIONS` in imconfig.h to forcefully disable legacy names and symbols.
     29   Doing it every once in a while is a good way to make sure you are not using obsolete symbols. Dear ImGui is in active development,
     30   and API updates have been a little more frequent lately. They are documented below and in imgui.cpp and should not affect all users.
     31 - Please report any issue!
     32 
     33 
     34 -----------------------------------------------------------------------
     35  VERSION 1.84 WIP (In Progress)
     36 -----------------------------------------------------------------------
     37 
     38 Other Changes:
     39 - Backends: OpenGL3: Handle GL_CLIP_ORIGIN on <4.5 contexts if "GL_ARB_clip_control" extension is detected. (#4170, #3998)
     40 
     41 
     42 -----------------------------------------------------------------------
     43  VERSION 1.83 (Released 2011-05-24)
     44 -----------------------------------------------------------------------
     45 
     46 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.83
     47 
     48 Breaking Changes:
     49 
     50 - Backends: Obsoleted direct access to ImDrawCmd::TextureId in favor of calling ImDrawCmd::GetTexID(). (#3761) [@thedmd]
     51   - If you are using official backends from the source tree: you have nothing to do.
     52   - If you copied old backend code or using your own: change access to draw_cmd->TextureId to draw_cmd->GetTexID().
     53   Why are we doing this?
     54   - This change will be required in the future when adding support for incremental texture atlas updates.
     55   - Please note this won't break soon, but we are making the change ahead of time.
     56 
     57 Other Changes:
     58 
     59 - Scrolling: Fix scroll tracking with e.g. SetScrollHereX/Y() when WindowPadding < ItemSpacing.
     60 - Scrolling: Fix scroll snapping on edge of scroll region when both scrollbars are enabled.
     61 - Scrolling: Fix mouse wheel axis swap when using SHIFT on macOS (system already does it). (#4010)
     62 - Window: Fix IsWindowAppearing() from returning true twice in most cases. (#3982, #1497, #1061)
     63 - Nav: Fixed toggling menu layer while an InputText() is active not stealing active id. (#787)
     64 - Nav: Fixed pressing Escape to leave menu layer while in a popup or child window. (#787)
     65 - Nav, InputText: Fixed accidental menu toggling while typing non-ascii characters using AltGR. [@rokups] (#370)
     66 - Nav: Fixed using SetItemDefaultFocus() on windows with _NavFlattened flag. (#787)
     67 - Nav: Fixed Tabbing initial activation from skipping the first item if it is tabbable through. (#787)
     68 - Nav: Fixed fast CTRL+Tab (where keys are only held for one single frame) from properly enabling the
     69   menu layer of target window if it doesn't have other active layers.
     70 - Tables: Expose TableSetColumnEnabled() in public api. (#3935)
     71 - Tables: Better preserve widths when columns count changes. (#4046)
     72 - Tables: Sharing more memory buffers between tables, reducing general memory footprints. (#3740)
     73 - TabBar: Fixed mouse reordering with very fast movements (e.g. crossing multiple tabs in a single
     74   frame and then immediately standing still (would only affect automation/bots). [@rokups]
     75 - Menus: made MenuItem() in a menu bar reflect the 'selected' argument with a highlight. (#4128) [@mattelegende]
     76 - Drags, Sliders, Inputs: Specifying a NULL format to Float functions default them to "%.3f" to be
     77   consistent with the compile-time default. (#3922)
     78 - DragScalar: Add default value for v_speed argument to match higher-level functions. (#3922) [@eliasdaler]
     79 - ColorEdit4: Alpha default to 255 (instead of 0) when omitted in hex input. (#3973) [@squadack]
     80 - InputText: Do not filter private unicode codepoints (e.g. icons) when pasted from clipboard. (#4005) [@dougbinks]
     81 - InputText: Align caret/cursor to pixel coordinates. (#4080) [@elvissteinjr]
     82 - InputText: Fixed CTRL+Arrow or OSX double-click leaking the presence of spaces when ImGuiInputTextFlags_Password
     83   is used. (#4155, #4156) [@michael-swan]
     84 - LabelText: Fixed clipping of multi-line value text when label is single-line. (#4004)
     85 - LabelText: Fixed vertical alignment of single-line value text when label is multi-line. (#4004)
     86 - Combos: Changed the combo popup to use a different id to also using a context menu with the default item id.
     87   Fixed using BeginPopupContextItem() with no parameter after a combo. (#4167)
     88 - Popups: Added 'OpenPopup(ImGuiID id)' overload to facilitate calling from nested stacks. (#3993, #331) [@zlash]
     89 - Tweak computation of io.Framerate so it is less biased toward high-values in the first 120 frames. (#4138)
     90 - Optimization: Disabling some of MSVC most aggressive Debug runtime checks for some simple/low-level functions
     91   (e.g. ImVec2, ImVector) leading to a 10-20% increase of performances with MSVC "default" Debug settings.
     92 - ImDrawList: Add and use SSE-enabled ImRsqrt() in place of 1.0f / ImSqrt(). (#4091) [@wolfpld]
     93 - ImDrawList: Fixed/improved thickness of thick strokes with sharp angles. (#4053, #3366, #2964, #2868, #2518, #2183)
     94   Effectively introduced a regression in 1.67 (Jan 2019), and a fix in 1.70 (Apr 2019) but the fix wasn't actually on
     95   par with original version. Now incorporating the correct revert.
     96 - ImDrawList: Fixed PathArcTo() regression from 1.82 preventing use of counter-clockwise angles. (#4030, #3491) [@thedmd]
     97 - Demo: Improved popups demo and comments.
     98 - Metrics: Added "Fonts" section with same information as available in "Style Editor">"Fonts".
     99 - Backends: SDL: Rework global mouse pos availability check listing supported platforms explicitly,
    100   effectively fixing mouse access on Raspberry Pi. (#2837, #3950) [@lethal-guitar, @hinxx]
    101 - Backends: Win32: Clearing keyboard down array when losing focus (WM_KILLFOCUS). (#2062, #3532, #3961)
    102   [@1025798851]
    103 - Backends: OSX: Fix keys remaining stuck when CMD-tabbing to a different application. (#3832) [@rokups]
    104 - Backends: DirectX9: calling IDirect3DStateBlock9::Capture() after CreateStateBlock() which appears to
    105   workaround/fix state restoring issues. Unknown exactly why so, bit of a cargo-cult fix. (#3857)
    106 - Backends: DirectX9: explicitly setting up more graphics states to increase compatibility with unusual
    107   non-default states. (#4063)
    108 - Backends: DirectX10, DirectX11: fixed a crash when backing/restoring state if nothing is bound when
    109   entering the rendering function. (#4045) [@Nemirtingas]
    110 - Backends: GLFW: Adding bound check in KeyCallback because GLFW appears to send -1 on some setups. [#4124]
    111 - Backends: Vulkan: Fix mapped memory Vulkan validation error when buffer sizes are not multiple of
    112   VkPhysicalDeviceLimits::nonCoherentAtomSize. (#3957) [@AgentX1994]
    113 - Backends: WebGPU: Update to latest specs (Chrome Canary 92 and Emscripten 2.0.20). (#4116, #3632) [@bfierz, @Kangz]
    114 - Backends: OpenGL3: Don't try to read GL_CLIP_ORIGIN unless we're OpenGL 4.5. (#3998, #2366, #2186) [@s7jones]
    115 - Examples: OpenGL: Add OpenGL ES 2.0 support to modern GL examples. (#2837, #3951) [@lethal-guitar, @hinxx]
    116 - Examples: Vulkan: Rebuild swapchain on VK_SUBOPTIMAL_KHR. (#3881)
    117 - Examples: Vulkan: Prefer using discrete GPU if there are more than one available. (#4012) [@rokups]
    118 - Examples: SDL2: Link with shell32.lib required by SDL2main.lib since SDL 2.0.12. [#3988]
    119 - Examples: Android: Make Android example build compatible with Gradle 7.0. (#3446)
    120 - Docs: Improvements to description of using colored glyphs/emojis. (#4169, #3369)
    121 - Docs: Improvements to minor mistakes in documentation comments (#3923) [@ANF-Studios]
    122 
    123 
    124 -----------------------------------------------------------------------
    125  VERSION 1.82 (Released 2021-02-15)
    126 -----------------------------------------------------------------------
    127 
    128 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.82
    129 
    130 Breaking Changes:
    131 
    132 - Removed redirecting functions/enums names that were marked obsolete in 1.66 (September 2018):
    133     - ImGui::SetScrollHere() --> use ImGui::SetScrollHereY()
    134 - ImDrawList: upgraded AddPolyline()/PathStroke()'s "bool closed" parameter to use "ImDrawFlags flags".
    135     - bool closed = false    --> use ImDrawFlags_None, or 0
    136     - bool closed = true     --> use ImDrawFlags_Closed
    137   The matching ImDrawFlags_Closed value is guaranteed to always stay == 1 in the future.
    138   Difference may not be noticeable for most but zealous type-checking tools may report a need to change.
    139 - ImDrawList: upgraded AddRect(), AddRectFilled(), PathRect() to use ImDrawFlags instead of ImDrawCornersFlags.
    140     - ImDrawCornerFlags_TopLeft  --> use ImDrawFlags_RoundCornersTopLeft
    141     - ImDrawCornerFlags_BotRight --> use ImDrawFlags_RoundCornersBottomRight
    142     - ImDrawCornerFlags_None     --> use ImDrawFlags_RoundCornersNone etc.
    143   Flags now sanely defaults to 0 instead of 0x0F, consistent with all other flags in the API.
    144   IMPORTANT: The default with rounding > 0.0f is now "round all corners" vs old implicit "round no corners":
    145     - rounding == 0.0f + flags == 0 --> meant no rounding  --> unchanged (common use)
    146     - rounding  > 0.0f + flags != 0 --> meant rounding     --> unchanged (common use)
    147     - rounding == 0.0f + flags != 0 --> meant no rounding  --> unchanged (unlikely use)
    148     - rounding  > 0.0f + flags == 0 --> meant no rounding  --> BREAKING (unlikely use)!
    149        - this ONLY matters for hardcoded use of 0 with rounding > 0.0f.
    150        - fix by using named ImDrawFlags_RoundCornersNone or rounding == 0.0f!
    151        - this is technically the only real breaking change which we can't solve automatically (it's also uncommon).
    152   The old ImDrawCornersFlags used awkward default values of ~0 or 0xF (4 lower bits set) to signify "round all corners"
    153   and we sometimes encouraged using them as shortcuts. As a result the legacy path still support use of hardcoded ~0
    154   or any value from 0x1 or 0xF. They will behave the same with legacy paths enabled (will assert otherwise).
    155   Courtesy of legacy untangling commity: [@rokups, @ocornut, @thedmd]
    156 - ImDrawList: clarified that PathArcTo()/PathArcToFast() won't render with radius < 0.0f. Previously it sorts
    157   of accidentally worked but would lead to counter-clockwise paths which and have an effect on anti-aliasing.
    158 - InputText: renamed ImGuiInputTextFlags_AlwaysInsertMode to ImGuiInputTextFlags_AlwaysOverwrite, old name was an
    159   incorrect description of behavior. Was ostly used by memory editor. Kept inline redirection function. (#2863)
    160 - Moved 'misc/natvis/imgui.natvis' to 'misc/debuggers/imgui.natvis' as we will provide scripts for other debuggers.
    161 - Style: renamed rarely used style.CircleSegmentMaxError (old default = 1.60f)
    162   to style.CircleTessellationMaxError (new default = 0.30f) as its meaning changed. (#3808) [@thedmd]
    163 - Win32+MinGW: Re-enabled IME functions by default even under MinGW. In July 2016, issue #738 had me incorrectly
    164   disable those default functions for MinGW. MinGW users should: either link with -limm32, either set their
    165   imconfig file with '#define IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS'. (#2590, #738) [@actboy168]
    166 - Backends: Win32: Pragma linking with dwmapi.lib (Vista-era, ~9 kb). MinGW users will need to link with -ldwmapi.
    167 
    168 Other Changes:
    169 
    170 - Window, Nav: Fixed crash when calling SetWindowFocus(NULL) at the time a new window appears. (#3865) [@nem0]
    171 - Window: Shrink close button hit-testing region when it covers an abnormally high portion of the window visible
    172   area (e.g. when window is collapsed + moved in a corner) to facilitate moving the window away. (#3825)
    173 - Nav: Various fixes for losing gamepad/keyboard navigation reference point when a window reappears or
    174   when it appears while gamepad/keyboard are not being used. (#787)
    175 - Drags: Fixed crash when using DragScalar() directly (not via common wrapper like DragFloat() etc.)
    176   with ImGuiSliderFlags_AlwaysClamp + only one of either p_min or p_max set. (#3824) [@harry75369]
    177 - Drags, Sliders: Fixed a bug where editing value would use wrong number if there were digits right after
    178   format specifier (e.g. using "%f123" as a format string). [@rokups]
    179 - Drags, Sliders: Fixed a bug where using custom formatting flags (',$,_) supported by stb_sprintf.h
    180   would cause incorrect value to be displayed. (#3604) [@rokups]
    181 - Drags, Sliders: Support ImGuiSliderFlags_Logarithmic flag with integers. Because why not? (#3786)
    182 - Tables: Fixed unaligned accesses when using TableSetBgColor(ImGuiTableBgTarget_CellBg). (#3872)
    183 - IsItemHovered(): fixed return value false positive when used after EndChild(), EndGroup() or widgets using
    184   either of them, when the hovered location is located within a child window, e.g. InputTextMultiline().
    185   This is intended to have no side effects, but brace yourself for the possible comeback.. (#3851, #1370)
    186 - Drag and Drop: can use BeginDragDropSource() for other than the left mouse button as long as the item
    187   has an ID (for ID-less items will add new functionalities later). (#1637, #3885)
    188 - ImFontAtlas: Added 'bool TexPixelsUseColors' output to help backend decide of underlying texture format. (#3369)
    189   This can currently only ever be set by the Freetype renderer.
    190 - imgui_freetype: Added ImGuiFreeTypeBuilderFlags_Bitmap flag to request Freetype loading bitmap data.
    191   This may have an effect on size and must be called with correct size values. (#3879) [@metarutaiga]
    192 - ImDrawList: PathArcTo() now supports "int num_segments = 0" (new default) and adaptively tessellate.
    193   The adaptive tessellation uses look up tables, tends to be faster than old PathArcTo() while maintaining
    194   quality for large arcs (tessellation quality derived from "style.CircleTessellationMaxError") (#3491) [@thedmd]
    195 - ImDrawList: PathArcToFast() also adaptively tessellate efficiently. This means that large rounded corners
    196   in e.g. hi-dpi settings will generally look better. (#3491) [@thedmd]
    197 - ImDrawList: AddCircle, AddCircleFilled(): Tweaked default segment count calculation to honor MaxError
    198   with more accuracy. Made default segment count always even for better looking result. (#3808) [@thedmd]
    199 - Misc: Added GetAllocatorFunctions() to facilitate sharing allocators across DLL boundaries. (#3836)
    200 - Misc: Added 'debuggers/imgui.gdb' and 'debuggers/imgui.natstepfilter' (along with existing 'imgui.natvis')
    201   scripts to configure popular debuggers into skipping trivial functions when using StepInto. [@rokups]
    202 - Backends: Android: Added native Android backend. (#3446) [@duddel]
    203 - Backends: Win32: Added ImGui_ImplWin32_EnableAlphaCompositing() to facilitate experimenting with
    204   alpha compositing and transparent windows. (#2766, #3447 etc.).
    205 - Backends: OpenGL, Vulkan, DX9, DX10, DX11, DX12, Metal, WebGPU, Allegro: Rework blending equation to
    206   preserve alpha in output buffer (using SrcBlendAlpha = ONE, DstBlendAlpha = ONE_MINUS_SRC_ALPHA consistently
    207   accross all backends), facilitating compositing of the output buffer with another buffer.
    208   (#2693, #2764, #2766, #2873, #3447, #3813, #3816) [@ocornut, @thedmd, @ShawnM427, @Ubpa, @aiekick]
    209 - Backends: DX9: Fix to support IMGUI_USE_BGRA_PACKED_COLOR. (#3844) [@Xiliusha]
    210 - Backends: DX9: Fix to support colored glyphs, using newly introduced 'TexPixelsUseColors' info. (#3844)
    211 - Examples: Android: Added Android + GL ES3 example. (#3446) [@duddel]
    212 - Examples: Reworked setup of clear color to be compatible with transparent values.
    213 - CI: Use a dedicated "scheduled" workflow to trigger scheduled builds. Forks may disable this workflow if
    214   scheduled builds builds are not required. [@rokups]
    215 - Log/Capture: Added LogTextV, a va_list variant of LogText. [@PathogenDavid]
    216 
    217 
    218 -----------------------------------------------------------------------
    219  VERSION 1.81 (Released 2021-02-10)
    220 -----------------------------------------------------------------------
    221 
    222 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.81
    223 
    224 Breaking Changes:
    225 
    226 - ListBox helpers:
    227   - Renamed ListBoxHeader(const char* label, ImVec2 size) to BeginListBox().
    228   - Renamed ListBoxFooter() to EndListBox().
    229   - Removed ListBoxHeader(const char* label, int items_count, int height_in_items = -1) in favor of specifying size.
    230     In the redirection function, made vertical padding consistent regardless of (items_count <= height_in_items) or not.
    231   - Kept inline redirection function for all threes (will obsolete).
    232 - imgui_freetype:
    233   - Removed ImGuiFreeType::BuildFontAtlas(). Kept inline redirection function.
    234     Prefer using '#define IMGUI_ENABLE_FREETYPE', but there's a runtime selection path available too.
    235   - The shared extra flags parameters (very rarely used) are now stored in ImFontAtlas::FontBuilderFlags.
    236   - Renamed ImFontConfig::RasterizerFlags (used by FreeType) to ImFontConfig::FontBuilderFlags.
    237   - Renamed ImGuiFreeType::XXX flags to ImGuiFreeTypeBuilderFlags_XXX for consistency with other API.
    238 
    239 Other Changes:
    240 
    241 - Viewports Added ImGui::GetMainViewport() as a way to get the bounds and work area of the host display. (#3789, #1542)
    242   - In 'master' branch or without multi-viewports feature enabled:
    243     - GetMainViewport()->Pos is always == (0,0)
    244     - GetMainViewport()->Size is always == io.DisplaySize
    245   - In 'docking' branch and with the multi-viewports feature enabled:
    246     - GetMainViewport() will return information from your host Platform Window.
    247     - In the future, we will support a "no main viewport" mode and this may return bounds of your main monitor.
    248   - For forward compatibility with multi-viewports/multi-monitors:
    249      - Code using (0,0) as a way to signify "upper-left of the host window" should use GetMainViewport()->Pos.
    250      - Code using io.DisplaySize as a way to signify "size of the host window" should use GetMainViewport()->Size.
    251   - We are also exposing a work area in ImGuiViewport ('WorkPos', 'WorkSize' vs 'Pos', 'Size' for full area):
    252      - For a Platform Window, the work area is generally the full area minus space used by menu-bars.
    253      - For a Platform Monitor, the work area is generally the full area minus space used by task-bars.
    254   - All of this has been the case in 'docking' branch for a long time. What we've done is merely merging
    255     a small chunk of the multi-viewport logic into 'master' to standardize some concepts ahead of time.
    256 - Tables: Fixed PopItemWidth() or multi-components items not restoring per-colum ItemWidth correctly. (#3760)
    257 - Window: Fixed minor title bar text clipping issue when FramePadding is small/zero and there are no
    258   close button in the window. (#3731)
    259 - SliderInt: Fixed click/drag when v_min==v_max from setting the value to zero. (#3774) [@erwincoumans]
    260   Would also repro with DragFloat() when using ImGuiSliderFlags_Logarithmic with v_min==v_max.
    261 - Menus: Fixed an issue with child-menu auto sizing (issue introduced in 1.80 on 2021/01/25) (#3779)
    262 - InputText: Fixed slightly off ScrollX tracking, noticeable with large values of FramePadding.x. (#3781)
    263 - InputText: Multiline: Fixed padding/cliprect not precisely matching single-line version. (#3781)
    264 - InputText: Multiline: Fixed FramePadding.y worth of vertical offset when aiming with mouse.
    265 - ListBox: Tweaked default height calculation.
    266 - Fonts: imgui_freetype: Facilitated using FreeType integration: [@Xipiryon, @ocornut]
    267   - Use '#define IMGUI_ENABLE_FREETYPE' in imconfig.h should make it work with no other modifications
    268     other than compiling misc/freetype/imgui_freetype.cpp and linking with FreeType.
    269   - Use '#define IMGUI_ENABLE_STB_TRUETYPE' if you somehow need the stb_truetype rasterizer to be
    270     compiled in along with the FreeType one, otherwise it is enabled by default.
    271 - Fonts: imgui_freetype: Added support for colored glyphs as supported by Freetype 2.10+ (for .ttf using CPAL/COLR
    272   tables only). Enable the ImGuiFreeTypeBuilderFlags_LoadColor on a given font. Atlas always output directly
    273   as RGBA8 in this situation. Likely to make sense with IMGUI_USE_WCHAR32. (#3369) [@pshurgal]
    274 - Fonts: Fixed CalcTextSize() width rounding so it behaves more like a ceil. This is in order for text wrapping
    275   to have enough space when provided width precisely calculated with CalcTextSize().x. (#3776)
    276   Note that the rounding of either positions and widths are technically undesirable (e.g. #3437, #791) but
    277   variety of code is currently on it so we are first fixing current behavior before we'll eventually change it.
    278 - Log/Capture: Fix various new line/spacing issue when logging widgets. [@Xipiryon, @ocornut]
    279 - Log/Capture: Improved the ASCII look of various widgets, making large dumps more easily human readable.
    280 - ImDrawList: Fixed AddCircle()/AddCircleFilled() with (rad > 0.0f && rad < 1.0f && num_segments == 0). (#3738)
    281   Would lead to a buffer read overflow.
    282 - ImDrawList: Clarified PathArcTo() need for a_min <= a_max with an assert.
    283 - ImDrawList: Fixed PathArcToFast() handling of a_min > a_max.
    284 - Metrics: Back-ported "Viewports" debug visualizer from 'docking' branch.
    285 - Demo: Added 'Examples->Fullscreen Window' demo using GetMainViewport() values. (#3789)
    286 - Demo: 'Simple Overlay' demo now moves under main menu-bar (if any) using GetMainViewport()'s work area.
    287 - Backends: Win32: Dynamically loading XInput DLL instead of linking with it, facilitate compiling with
    288   old WindowSDK versions or running on Windows 7. (#3646, #3645, #3248, #2716) [@Demonese]
    289 - Backends: Vulkan: Add support for custom Vulkan function loader and VK_NO_PROTOTYPES. (#3759, #3227) [@Hossein-Noroozpour]
    290   User needs to call ImGui_ImplVulkan_LoadFunctions() with their custom loader prior to other functions.
    291 - Backends: Metal: Fixed texture storage mode when building on Mac Catalyst. (#3748) [@Belinsky-L-V]
    292 - Backends: OSX: Fixed mouse position not being reported when mouse buttons other than left one are down. (#3762) [@rokups]
    293 - Backends: WebGPU: Added enderer backend for WebGPU support (imgui_impl_wgpu.cpp) (#3632) [@bfierz]
    294   Please note that WebGPU is currently experimental, will not run on non-beta browsers, and may break.
    295 - Examples: WebGPU: Added Emscripten+WebGPU example. (#3632) [@bfierz]
    296 - Backends: GLFW: Added ImGui_ImplGlfw_InitForOther() initialization call to use with non OpenGL API. (#3632)
    297 
    298 
    299 -----------------------------------------------------------------------
    300  VERSION 1.80 (Released 2021-01-21)
    301 -----------------------------------------------------------------------
    302 
    303 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.80
    304 
    305 Breaking Changes:
    306 
    307 - Added imgui_tables.cpp file! Manually constructed project files will need the new file added! (#3740)
    308 - Backends: moved all backends files (imgui_impl_XXXX.cpp, imgui_impl_XXXX.h) from examples/ to backends/. (#3513)
    309 - Renamed ImDrawList::AddBezierCurve() to ImDrawList::AddBezierCubic(). Kept inline redirection function (will obsolete).
    310 - Renamed ImDrawList::PathBezierCurveTo() to ImDrawList::PathBezierCubicCurveTo(). Kept inline redirection function (will obsolete).
    311 - Removed redirecting functions/enums names that were marked obsolete in 1.60 (April 2018):
    312   - io.RenderDrawListsFn pointer                -> use ImGui::GetDrawData() value and call the render function of your backend
    313   - ImGui::IsAnyWindowFocused()                 -> use ImGui::IsWindowFocused(ImGuiFocusedFlags_AnyWindow)
    314   - ImGui::IsAnyWindowHovered()                 -> use ImGui::IsWindowHovered(ImGuiHoveredFlags_AnyWindow)
    315   - ImGuiStyleVar_Count_                        -> use ImGuiStyleVar_COUNT
    316   - ImGuiMouseCursor_Count_                     -> use ImGuiMouseCursor_COUNT
    317 - Removed redirecting functions/enums names that were marked obsolete in 1.61 (May 2018):
    318   - InputFloat (... int decimal_precision ...)  -> use InputFloat (... const char* format ...) with format = "%.Xf" where X was value for decimal_precision.
    319   - same for InputFloat2()/InputFloat3()/InputFloat4() variants taking a `int decimal_precision` parameter.
    320 - Removed redirecting functions/enums names that were marked obsolete in 1.63 (August 2018):
    321   - ImGui::IsItemDeactivatedAfterChange()       -> use ImGui::IsItemDeactivatedAfterEdit().
    322   - ImGuiCol_ModalWindowDarkening               -> use ImGuiCol_ModalWindowDimBg
    323   - ImGuiInputTextCallback                      -> use ImGuiTextEditCallback
    324   - ImGuiInputTextCallbackData                  -> use ImGuiTextEditCallbackData
    325 - If you were still using the old names, while you are cleaning up, considering enabling
    326   IMGUI_DISABLE_OBSOLETE_FUNCTIONS in imconfig.h even temporarily to have a pass at finding
    327   and removing up old API calls, if any remaining.
    328 - Internals: Columns: renamed undocumented/internals ImGuiColumnsFlags_* to ImGuiOldColumnFlags_* to reduce
    329   confusion with Tables API. Keep redirection enums (will obsolete). (#125, #513, #913, #1204, #1444, #2142, #2707)
    330 - Renamed io.ConfigWindowsMemoryCompactTimer to io.ConfigMemoryCompactTimer as the feature now applies
    331   to other data structures. (#2636)
    332 
    333 Other Changes:
    334 
    335 - Tables: added new Tables Beta API as a replacement for old Columns. (#3740, #2957, #125)
    336   Check out 'Demo->Tables' for many demos.
    337   Read API comments in imgui.h for details. Read extra commentary in imgui_tables.cpp.
    338   - Added 16 functions:
    339      - BeginTable(), EndTable()
    340      - TableNextRow(), TableNextColumn(), TableSetColumnIndex()
    341      - TableSetupColumn(), TableSetupScrollFreeze()
    342      - TableHeadersRow(), TableHeader()
    343      - TableGetRowIndex(), TableGetColumnCount(), TableGetColumnIndex(), TableGetColumnName(), TableGetColumnFlags()
    344      - TableGetSortSpecs(), TableSetBgColor()
    345   - Added 3 flags sets:
    346     - ImGuiTableFlags (29 flags for: features, decorations, sizing policies, padding, clipping, scrolling, sorting etc.)
    347     - ImGuiTableColumnFlags (24 flags for: width policies, default settings, sorting options, indentation options etc.)
    348     - ImGuiTableRowFlags (1 flag for: header row)
    349   - Added 2 structures: ImGuiTableSortSpecs, ImGuiTableColumnSortSpecs
    350   - Added 2 enums: ImGuiSortDirection, ImGuiTableBgTarget
    351   - Added 1 style variable: ImGuiStyleVar_CellPadding
    352   - Added 5 style colors: ImGuiCol_TableHeaderBg, ImGuiCol_TableBorderStrong, ImGuiCol_TableBorderLight, ImGuiCol_TableRowBg, ImGuiCol_TableRowBgAlt.
    353 - Tab Bar: Made it possible to append to an existing tab bar by calling BeginTabBar()/EndTabBar() again.
    354 - Tab Bar: Fixed using more than 128 tabs in a tab bar (scrolling policy recommended).
    355 - Tab Bar: Do not display a tooltip if the name already fits over a given tab. (#3521)
    356 - Tab Bar: Fixed minor/unlikely bug skipping over a button when scrolling left with arrows.
    357 - Tab Bar: Requested ideal content size (for auto-fit) doesn't affect horizontal scrolling. (#3414)
    358 - Drag and Drop: Fix losing drop source ActiveID (and often source tooltip) when opening a TreeNode()
    359   or CollapsingHeader() while dragging. (#1738)
    360 - Drag and Drop: Fix drag and drop to tie same-size drop targets by chosen the later one. Fixes dragging
    361   into a full-window-sized dockspace inside a zero-padded window. (#3519, #2717) [@Black-Cat]
    362 - Checkbox: Added CheckboxFlags() helper with int* type (internals have a template version, not exposed).
    363 - Clipper: Fixed incorrect end-list positioning when using ImGuiListClipper with 1 item (bug in 1.79). (#3663) [@nyorain]
    364 - InputText: Fixed updating cursor/selection position when a callback altered the buffer in a way
    365   where the byte count is unchanged but the decoded character count changes. (#3587) [@gqw]
    366 - InputText: Fixed switching from single to multi-line while preserving same ID.
    367 - Combo: Fixed using IsItemEdited() after Combo() not matching the return value from Combo(). (#2034)
    368 - DragFloat, DragInt: very slightly increased mouse drag threshold + expressing it as a factor of default value.
    369 - DragFloat, DragInt: added experimental io.ConfigDragClickToInputText feature to enable turning DragXXX widgets
    370   into text input with a simple mouse click-release (without moving). (#3737)
    371 - Nav: Fixed IsItemFocused() from returning false when Nav highlight is hidden because mouse has moved.
    372   It's essentially been always the case but it doesn't make much sense. Instead we will aim at exposing
    373   feedback and control of keyboard/gamepad navigation highlight and mouse hover disable flag. (#787, #2048)
    374 - Metrics: Fixed mishandling of ImDrawCmd::VtxOffset in wireframe mesh renderer.
    375 - Metrics: Rebranded as "Dear ImGui Metrics/Debugger" to clarify its purpose.
    376 - ImDrawList: Added ImDrawList::AddQuadBezierCurve(), ImDrawList::PathQuadBezierCurveTo() quadratic bezier
    377   helpers. (#3127, #3664, #3665) [@aiekick]
    378 - Fonts: Updated GetGlyphRangesJapanese() to include a larger 2999 ideograms selection of Joyo/Jinmeiyo
    379   kanjis, from the previous 1946 ideograms selection. This will consume a some more memory but be generally
    380   much more fitting for Japanese display, until we switch to a more dynamic atlas. (#3627) [@vaiorabbit]
    381 - Log/Capture: fix capture to work on clipped child windows.
    382 - Misc: Made the ItemFlags stack shared, so effectively the ButtonRepeat/AllowKeyboardFocus states
    383   (and others exposed in internals such as PushItemFlag) are inherited by stacked Begin/End pairs,
    384   vs previously a non-child stacked Begin() would reset those flags back to zero for the stacked window.
    385 - Misc: Replaced UTF-8 decoder with one based on branchless one by Christopher Wellons. [@rokups]
    386   Super minor fix handling incomplete UTF-8 contents: if input does not contain enough bytes, decoder
    387   returns IM_UNICODE_CODEPOINT_INVALID and consume remaining bytes (vs old decoded consumed only 1 byte).
    388 - Misc: Fix format warnings when using gnu printf extensions in a setup that supports them (gcc/mingw). (#3592)
    389 - Misc: Made EndFrame() assertion for key modifiers being unchanged during the frame (added in 1.76) more
    390   lenient, allowing full mid-frame releases. This is to accommodate the use of mid-frame modal native
    391   windows calls, which leads backends such as GLFW to send key clearing events on focus loss. (#3575)
    392 - Style: Changed default style.WindowRounding value to 0.0f (matches default for multi-viewports).
    393 - Style: Reduced the size of the resizing grip, made alpha less prominent.
    394 - Style: Classic: Increase the default alpha value of WindowBg to be closer to other styles.
    395 - Demo: Clarify usage of right-aligned items in Demo>Layout>Widgets Width.
    396 - Backends: OpenGL3: Use glGetString(GL_VERSION) query instead of glGetIntegerv(GL_MAJOR_VERSION, ...)
    397   when the later returns zero (e.g. Desktop GL 2.x). (#3530) [@xndcn]
    398 - Backends: OpenGL2: Backup and restore GL_SHADE_MODEL and disable GL_NORMAL_ARRAY state to increase
    399   compatibility with legacy code. (#3671)
    400 - Backends: OpenGL3: Backup and restore GL_PRIMITIVE_RESTART state. (#3544) [@Xipiryon]
    401 - Backends: OpenGL2, OpenGL3: Backup and restore GL_STENCIL_TEST enable state. (#3668)
    402 - Backends: Vulkan: Added support for specifying which sub-pass to reference during VkPipeline creation. (@3579) [@bdero]
    403 - Backends: DX12: Improve Windows 7 compatibility (for D3D12On7) by loading d3d12.dll dynamically. (#3696) [@Mattiwatti]
    404 - Backends: Win32: Fix setting of io.DisplaySize to invalid/uninitialized data after hwnd has been closed.
    405 - Backends: OSX: Fix keypad-enter key not working on MacOS. (#3554) [@rokups, @lfnoise]
    406 - Examples: Apple+Metal: Consolidated/simplified to get closer to other examples. (#3543) [@warrenm]
    407 - Examples: Apple+Metal: Forward events down so OS key combination like Cmd+Q can work. (#3554) [@rokups]
    408 - Examples: Emscripten: Renamed example_emscripten/ to example_emscripten_opengl3/. (#3632)
    409 - Examples: Emscripten: Added 'make serve' helper to spawn a web-server on localhost. (#3705) [@Horki]
    410 - Examples: DirectX12: Move ImGui::Render() call above the first barrier to clarify its lack of effect on the graphics pipe.
    411 - CI: Fix testing for Windows DLL builds. (#3603, #3601) [@iboB]
    412 - Docs: Improved the wiki and added a https://github.com/ocornut/imgui/wiki/Useful-Widgets page. [@Xipiryon]
    413   [2021/05/20: moved to https://github.com/ocornut/imgui/wiki/Useful-Extensions]
    414 - Docs: Split examples/README.txt into docs/BACKENDS.md and docs/EXAMPLES.md, and improved them.
    415 - Docs: Consistently renamed all occurrences of "binding" and "back-end" to "backend" in comments and docs.
    416 
    417 
    418 -----------------------------------------------------------------------
    419  VERSION 1.79 (Released 2020-10-08)
    420 -----------------------------------------------------------------------
    421 
    422 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.79
    423 
    424 Breaking Changes:
    425 
    426 - Fonts: Removed ImFont::DisplayOffset in favor of ImFontConfig::GlyphOffset. DisplayOffset was applied
    427   after scaling and not very meaningful/useful outside of being needed by the default ProggyClean font.
    428   It was also getting in the way of better font scaling, so let's get rid of it now!
    429   If you used DisplayOffset it was probably in association to rasterizing a font at a specific size,
    430   in which case the corresponding offset may be reported into GlyphOffset. (#1619)
    431   If you scaled this value after calling AddFontDefault(), this is now done automatically.
    432 - ImGuiListClipper: Renamed constructor parameters which created an ambiguous alternative to using
    433   the ImGuiListClipper::Begin() function, with misleading edge cases. Always use ImGuiListClipper::Begin()!
    434   Kept inline redirection function (will obsolete).
    435   (note: imgui_memory_editor <0.40 from imgui_club/ used this old clipper API. Update your copy if needed).
    436 - Style: Renamed style.TabMinWidthForUnselectedCloseButton to style.TabMinWidthForCloseButton.
    437 - Renamed ImGuiSliderFlags_ClampOnInput to ImGuiSliderFlags_AlwaysClamp. Kept redirection enum (will obsolete).
    438 - Renamed OpenPopupContextItem() back to OpenPopupOnItemClick(), REVERTED CHANGE FROM 1.77.
    439   For variety of reason this is more self-explanatory and less error-prone. Kept inline redirection function.
    440 - Removed return value from OpenPopupOnItemClick() - returned true on mouse release on an item - because it
    441   is inconsistent with other popups API and makes others misleading. It's also and unnecessary: you can
    442   use IsWindowAppearing() after BeginPopup() for a similar result.
    443 
    444 Other Changes:
    445 
    446 - Window: Fixed using non-zero pivot in SetNextWindowPos() when the window is collapsed. (#3433)
    447 - Nav: Fixed navigation resuming on first visible item when using gamepad. [@rokups]
    448 - Nav: Fixed using Alt to toggle the Menu layer when inside a Modal window. (#787)
    449 - Scrolling: Fixed SetScrollHere(0) functions edge snapping when called during a frame where
    450   ContentSize is changing (issue introduced in 1.78). (#3452).
    451 - InputText: Added support for Page Up/Down in InputTextMultiline(). (#3430) [@Xipiryon]
    452 - InputText: Added selection helpers in ImGuiInputTextCallbackData().
    453 - InputText: Added ImGuiInputTextFlags_CallbackEdit to modify internally owned buffer after an edit.
    454   (note that InputText() already returns true on edit, the callback is useful mainly to manipulate the
    455   underlying buffer while focus is active).
    456 - InputText: Fixed using ImGuiInputTextFlags_Password with InputTextMultiline(). (#3427, #3428)
    457   It is a rather unusual or useless combination of features but no reason it shouldn't work!
    458 - InputText: Fixed minor scrolling glitch when erasing trailing lines in InputTextMultiline().
    459 - InputText: Fixed cursor being partially covered after using Ctrl+End key.
    460 - InputText: Fixed callback's helper DeleteChars() function when cursor is inside the deleted block. (#3454)
    461 - InputText: Made pressing Down arrow on the last line when it doesn't have a carriage return not move to
    462   the end of the line (so it is consistent with Up arrow, and behave same as Notepad and Visual Studio.
    463   Note that some other text editors instead would move the cursor to the end of the line). [@Xipiryon]
    464 - DragFloat, DragScalar: Fixed ImGuiSliderFlags_ClampOnInput not being honored in the special case
    465   where v_min == v_max. (#3361)
    466 - SliderInt, SliderScalar: Fixed reaching of maximum value with inverted integer min/max ranges, both
    467   with signed and unsigned types. Added reverse Sliders to Demo. (#3432, #3449) [@rokups]
    468 - Text: Bypass unnecessary formatting when using the TextColored()/TextWrapped()/TextDisabled() helpers
    469   with a "%s" format string. (#3466)
    470 - CheckboxFlags: Display mixed-value/tristate marker when passed flags that have multiple bits set and
    471   stored value matches neither zero neither the full set.
    472 - BeginMenuBar: Fixed minor bug where CursorPosMax gets pushed to CursorPos prior to calling BeginMenuBar(),
    473   so e.g. calling the function at the end of a window would often add +ItemSpacing.y to scrolling range.
    474 - TreeNode, CollapsingHeader: Made clicking on arrow toggle toggle the open state on the Mouse Down event
    475   rather than the Mouse Down+Up sequence, even if the _OpenOnArrow flag isn't set. This is standard behavior
    476   and amends the change done in 1.76 which only affected cases were _OpenOnArrow flag was set.
    477   (This is also necessary to support full multi/range-select/drag and drop operations.)
    478 - Tab Bar: Added TabItemButton() to submit tab that behave like a button. (#3291) [@Xipiryon]
    479 - Tab Bar: Added ImGuiTabItemFlags_Leading and ImGuiTabItemFlags_Trailing flags to position tabs or button
    480   at either end of the tab bar. Those tabs won't be part of the scrolling region, and when reordering cannot
    481   be moving outside of their section. Most often used with TabItemButton(). (#3291) [@Xipiryon]
    482 - Tab Bar: Added ImGuiTabItemFlags_NoReorder flag to disable reordering a given tab.
    483 - Tab Bar: Keep tab item close button visible while dragging a tab (independent of hovering state).
    484 - Tab Bar: Fixed a small bug where closing a tab that is not selected would leave a tab hole for a frame.
    485 - Tab Bar: Fixed a small bug where scrolling buttons (with ImGuiTabBarFlags_FittingPolicyScroll) would
    486   generate an unnecessary extra draw call.
    487 - Tab Bar: Fixed a small bug where toggling a tab bar from Reorderable to not Reorderable would leave
    488   tabs reordered in the tab list popup. [@Xipiryon]
    489 - Columns: Fix inverted ClipRect being passed to renderer when using certain primitives inside of
    490   a fully clipped column. (#3475) [@szreder]
    491 - Popups, Tooltips: Fix edge cases issues with positioning popups and tooltips when they are larger than
    492   viewport on either or both axises. [@Rokups]
    493 - Fonts: AddFontDefault() adjust its vertical offset based on floor(size/13) instead of always +1.
    494   Was previously done by altering DisplayOffset.y but wouldn't work for DPI scaled font.
    495 - Metrics: Various tweaks, listing windows front-to-back, greying inactive items when possible.
    496 - Demo: Add simple InputText() callbacks demo (aside from the more elaborate ones in 'Examples->Console').
    497 - Backends: OpenGL3: Fix to avoid compiling/calling glBindSampler() on ES or pre 3.3 contexts which have
    498   the defines set by a loader. (#3467, #1985) [@jjwebb]
    499 - Backends: Vulkan: Some internal refactor aimed at allowing multi-viewport feature to create their
    500   own render pass. (#3455, #3459) [@FunMiles]
    501 - Backends: DX12: Clarified that imgui_impl_dx12 can be compiled on 32-bit systems by redefining
    502   the ImTextureID to be 64-bit (e.g. '#define ImTextureID ImU64' in imconfig.h). (#301)
    503 - Backends: DX12: Fix debug layer warning when scissor rect is zero-sized. (#3472, #3462) [@StoneWolf]
    504 - Examples: Vulkan: Reworked buffer resize handling, fix for Linux/X11. (#3390, #2626) [@RoryO]
    505 - Examples: Vulkan: Switch validation layer to use "VK_LAYER_KHRONOS_validation" instead of
    506   "VK_LAYER_LUNARG_standard_validation" which is deprecated (#3459) [@FunMiles]
    507 - Examples: DX12: Enable breaking on any warning/error when debug interface is enabled.
    508 - Examples: DX12: Added '#define ImTextureID ImU64' in project and build files to also allow building
    509   on 32-bit systems. Added project to default Visual Studio solution file. (#301)
    510 
    511 
    512 -----------------------------------------------------------------------
    513  VERSION 1.78 (Released 2020-08-18)
    514 -----------------------------------------------------------------------
    515 
    516 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.78
    517 
    518 Breaking Changes:
    519 
    520 - Obsoleted use of the trailing 'float power=1.0f' parameter for those functions: [@Shironekoben, @ocornut]
    521   - DragFloat(), DragFloat2(), DragFloat3(), DragFloat4(), DragFloatRange2(), DragScalar(), DragScalarN()
    522   - SliderFloat(), SliderFloat2(), SliderFloat3(), SliderFloat4(), SliderScalar(), SliderScalarN()
    523   - VSliderFloat(), VSliderScalar()
    524   Replaced the final 'float power=1.0f' argument with ImGuiSliderFlags defaulting to 0 (as with all our flags).
    525   Worked out a backward-compatibility scheme so hopefully most C++ codebase should not be affected.
    526   In short, when calling those functions:
    527   - If you omitted the 'power' parameter (likely!), you are not affected.
    528   - If you set the 'power' parameter to 1.0f (same as previous default value):
    529     - Your compiler may warn on float>int conversion.
    530     - Everything else will work (but will assert if IMGUI_DISABLE_OBSOLETE_FUNCTIONS is defined).
    531     - You can replace the 1.0f value with 0 to fix the warning, and be technically correct.
    532   - If you set the 'power' parameter to >1.0f (to enable non-linear editing):
    533     - Your compiler may warn on float>int conversion.
    534     - Code will assert at runtime for IM_ASSERT(power == 1.0f) with the following assert description:
    535       "Call Drag function with ImGuiSliderFlags_Logarithmic instead of using the old 'float power' function!".
    536     - In case asserts are disabled, the code will not crash and enable the _Logarithmic flag.
    537     - You can replace the >1.0f value with ImGuiSliderFlags_Logarithmic to fix the warning/assert
    538       and get a _similar_ effect as previous uses of power >1.0f.
    539   See https://github.com/ocornut/imgui/issues/3361 for all details.
    540   For shared code, you can version check at compile-time with `#if IMGUI_VERSION_NUM >= 17704`.
    541   Kept inline redirection functions (will obsolete) apart for: DragFloatRange2(), VSliderFloat(), VSliderScalar().
    542   For those three the 'float power=1.0f' version was removed directly as they were most unlikely ever used.
    543 - DragInt, DragFloat, DragScalar: Obsoleted use of v_min > v_max to lock edits (introduced in 1.73, this was not
    544   demoed nor documented much, will be replaced a more generic ReadOnly feature).
    545 
    546 Other Changes:
    547 
    548 - Nav: Fixed clicking on void (behind any windows) from not clearing the focused window.
    549   This would be problematic e.g. in situation where the application relies on io.WantCaptureKeyboard
    550   flag being cleared accordingly. (bug introduced in 1.77 WIP on 2020/06/16) (#3344, #2880)
    551 - Window: Fixed clicking over an item which hovering has been disabled (e.g inhibited by a popup)
    552   from marking the window as moved.
    553 - Drag, Slider: Added ImGuiSliderFlags parameters.
    554   - For float functions they replace the old trailing 'float power=1.0' parameter.
    555     (See #3361 and the "Breaking Changes" block above for all details).
    556   - Added ImGuiSliderFlags_Logarithmic flag to enable logarithmic editing
    557     (generally more precision around zero), as a replacement to the old 'float power' parameter
    558     which was obsoleted. (#1823, #1316, #642) [@Shironekoben, @AndrewBelt]
    559   - Added ImGuiSliderFlags_ClampOnInput flag to force clamping value when using
    560     CTRL+Click to type in a value manually. (#1829, #3209, #946, #413).
    561     [note: RENAMED to ImGuiSliderFlags_AlwaysClamp in 1.79].
    562   - Added ImGuiSliderFlags_NoRoundToFormat flag to disable rounding underlying
    563     value to match precision of the display format string. (#642)
    564   - Added ImGuiSliderFlags_NoInput flag to disable turning widget into a text input
    565     with CTRL+Click or Nav Enter.
    566 - Nav, Slider: Fix using keyboard/gamepad controls with certain logarithmic sliders where
    567   pushing a direction near zero values would be cancelled out. [@Shironekoben]
    568 - DragFloatRange2, DragIntRange2: Fixed an issue allowing to drag out of bounds when both
    569   min and max value are on the same value. (#1441)
    570 - InputText, ImDrawList: Fixed assert triggering when drawing single line of text with more
    571   than ~16 KB characters. (Note that current code is going to show corrupted display if after
    572   clipping, more than 16 KB characters are visible in the same low-level ImDrawList::RenderText()
    573   call. ImGui-level functions such as TextUnformatted() are not affected. This is quite rare
    574   but it will be addressed later). (#3349)
    575 - Selectable: Fixed highlight/hit extent when used with horizontal scrolling (in or outside columns).
    576   Also fixed related text clipping when used in a column after the first one. (#3187, #3386)
    577 - Scrolling: Avoid SetScroll, SetScrollFromPos functions from snapping on the edge of scroll
    578   limits when close-enough by (WindowPadding - ItemPadding), which was a tweak with too many
    579   side-effects. The behavior is still present in SetScrollHere functions as they are more explicitly
    580   aiming at making widgets visible. May later be moved to a flag.
    581 - Tab Bar: Allow calling SetTabItemClosed() after a tab has been submitted (will process next frame).
    582 - InvisibleButton: Made public a small selection of ImGuiButtonFlags (previously in imgui_internal.h)
    583   and allowed to pass them to InvisibleButton(): ImGuiButtonFlags_MouseButtonLeft/Right/Middle.
    584   This is a small but rather important change because lots of multi-button behaviors could previously
    585   only be achieved using lower-level/internal API. Now also available via high-level InvisibleButton()
    586   with is a de-facto versatile building block to creating custom widgets with the public API.
    587 - Fonts: Fixed ImFontConfig::GlyphExtraSpacing and ImFontConfig::PixelSnapH settings being pulled
    588   from the merged/target font settings when merging fonts, instead of being pulled from the source
    589   font settings.
    590 - ImDrawList: Thick anti-aliased strokes (> 1.0f) with integer thickness now use a texture-based
    591   path, reducing the amount of vertices/indices and CPU/GPU usage. (#3245) [@Shironekoben]
    592   - This change will facilitate the wider use of thick borders in future style changes.
    593   - Requires an extra bit of texture space (~64x64 by default), relies on GPU bilinear filtering.
    594   - Set `io.AntiAliasedLinesUseTex = false` to disable rendering using this method.
    595   - Clear `ImFontAtlasFlags_NoBakedLines` in ImFontAtlas::Flags to disable baking data in texture.
    596 - ImDrawList: changed AddCircle(), AddCircleFilled() default num_segments from 12 to 0, effectively
    597   enabling auto-tessellation by default. Tweak tessellation in Style Editor->Rendering section, or
    598   by modifying the 'style.CircleSegmentMaxError' value. [@ShironekoBen]
    599 - ImDrawList: Fixed minor bug introduced in 1.75 where AddCircle() with 12 segments would generate
    600   an extra vertex. (This bug was mistakenly marked as fixed in earlier 1.77 release). [@ShironekoBen]
    601 - Demo: Improved "Custom Rendering"->"Canvas" demo with a grid, scrolling and context menu.
    602   Also showcase using InvisibleButton() with multiple mouse buttons flags.
    603 - Demo: Improved "Layout & Scrolling" -> "Clipping" section.
    604 - Demo: Improved "Layout & Scrolling" -> "Child Windows" section.
    605 - Style Editor: Added preview of circle auto-tessellation when editing the corresponding value.
    606 - Backends: OpenGL3: Added support for glad2 loader. (#3330) [@moritz-h]
    607 - Backends: Allegro 5: Fixed horizontal scrolling direction with mouse wheel / touch pads (it seems
    608   like Allegro 5 reports it differently from GLFW and SDL). (#3394, #2424, #1463) [@nobody-special666]
    609 - Examples: Vulkan: Fixed GLFW+Vulkan and SDL+Vulkan clear color not being set. (#3390) [@RoryO]
    610 - CI: Emscripten has stopped their support for their fastcomp backend, switching to latest sdk [@Xipiryon]
    611 
    612 
    613 -----------------------------------------------------------------------
    614  VERSION 1.77 (Released 2020-06-29)
    615 -----------------------------------------------------------------------
    616 
    617 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.77
    618 
    619 Breaking Changes:
    620 
    621 - Removed unnecessary ID (first arg) of ImFontAtlas::AddCustomRectRegular() function. Please
    622   note that this is a Beta api and will likely be reworked in order to support multi-DPI across
    623   multiple monitors.
    624 - Renamed OpenPopupOnItemClick() to OpenPopupContextItem(). Kept inline redirection function (will obsolete).
    625   [NOTE: THIS WAS REVERTED IN 1.79]
    626 - Removed BeginPopupContextWindow(const char*, int mouse_button, bool also_over_items) in favor
    627   of BeginPopupContextWindow(const char*, ImGuiPopupFlags flags) with ImGuiPopupFlags_NoOverItems.
    628   Kept inline redirection function (will obsolete).
    629 - Removed obsoleted CalcItemRectClosestPoint() entry point (has been asserting since December 2017).
    630 
    631 Other Changes:
    632 
    633 - TreeNode: Fixed bug where BeginDragDropSource() failed when the _OpenOnDoubleClick flag is
    634   enabled (bug introduced in 1.76, but pre-1.76 it would also fail unless the _OpenOnArrow
    635   flag was also set, and _OpenOnArrow is frequently set along with _OpenOnDoubleClick).
    636 - TreeNode: Fixed bug where dragging a payload over a TreeNode() with either _OpenOnDoubleClick
    637   or _OpenOnArrow would open the node. (#143)
    638 - Windows: Fix unintended feedback loops when resizing windows close to main viewport edges. [@rokups]
    639 - Tabs: Added style.TabMinWidthForUnselectedCloseButton settings:
    640   - Set to 0.0f (default) to always make a close button appear on hover (same as Chrome, VS).
    641   - Set to FLT_MAX to only display a close button when selected (merely hovering is not enough).
    642   - Set to an intermediary value to toggle behavior based on width (same as Firefox).
    643 - Tabs: Added a ImGuiTabItemFlags_NoTooltip flag to disable the tooltip for individual tab item
    644   (vs ImGuiTabBarFlags_NoTooltip for entire tab bar). [@Xipiryon]
    645 - Popups: All functions capable of opening popups (OpenPopup*, BeginPopupContext*) now take a new
    646   ImGuiPopupFlags sets of flags instead of a mouse button index. The API is automatically backward
    647   compatible as ImGuiPopupFlags is guaranteed to hold mouse button index in the lower bits.
    648 - Popups: Added ImGuiPopupFlags_NoOpenOverExistingPopup for OpenPopup*/BeginPopupContext* functions
    649   to first test for the presence of another popup at the same level.
    650 - Popups: Added ImGuiPopupFlags_NoOpenOverItems for BeginPopupContextWindow() - similar to testing
    651   for !IsAnyItemHovered() prior to doing an OpenPopup().
    652 - Popups: Added ImGuiPopupFlags_AnyPopupId and ImGuiPopupFlags_AnyPopupLevel flags for IsPopupOpen(),
    653   allowing to check if any popup is open at the current level, if a given popup is open at any popup
    654   level, if any popup is open at all.
    655 - Popups: Fix an edge case where programmatically closing a popup while clicking on its empty space
    656   would attempt to focus it and close other popups. (#2880)
    657 - Popups: Fix BeginPopupContextVoid() when clicking over the area made unavailable by a modal. (#1636)
    658 - Popups: Clarified some of the comments and function prototypes.
    659 - Modals: BeginPopupModal() doesn't set the ImGuiWindowFlags_NoSavedSettings flag anymore, and will
    660   not always be auto-centered. Note that modals are more similar to regular windows than they are to
    661   popups, so api and behavior may evolve further toward embracing this. (#915, #3091)
    662   Enforce centering using e.g. SetNextWindowPos(io.DisplaySize * 0.5f, ImGuiCond_Appearing, ImVec2(0.5f,0.5f)).
    663 - Metrics: Added a "Settings" section with some details about persistent ini settings.
    664 - Nav, Menus: Fix vertical wrap-around in menus or popups created with multiple appending calls to
    665   BeginMenu()/EndMenu() or BeginPopup(0/EndPopup(). (#3223, #1207) [@rokups]
    666 - Drag and Drop: Fixed unintended fallback "..." tooltip display during drag operation when
    667   drag source uses _SourceNoPreviewTooltip flags. (#3160) [@rokups]
    668 - Columns: Lower overhead on column switches and switching to background channel.
    669   Benefits Columns but was primarily made with Tables in mind!
    670 - Fonts: Fix GetGlyphRangesKorean() end-range to end at 0xD7A3 (instead of 0xD79D). (#348, #3217) [@marukrap]
    671 - ImDrawList: Fixed an issue where draw command merging or primitive unreserve while crossing the
    672   VtxOffset boundary would lead to draw commands with wrong VtxOffset. (#3129, #3163, #3232, #2591)
    673   [@thedmd, @Shironekoben, @sergeyn, @ocornut]
    674 - ImDrawList, ImDrawListSplitter, Columns: Fixed an issue where changing channels with different
    675   TextureId, VtxOffset would incorrectly apply new settings to draw channels. (#3129, #3163)
    676   [@ocornut, @thedmd, @Shironekoben]
    677 - ImDrawList, ImDrawListSplitter, Columns: Fixed an issue where starting a split when current
    678   VtxOffset was not zero would lead to draw commands with wrong VtxOffset. (#2591)
    679 - ImDrawList, ImDrawListSplitter, Columns: Fixed an issue where starting a split right after
    680   a callback draw command would incorrectly override the callback draw command.
    681 - Misc, Freetype: Fix for rare case where FT_Get_Char_Index() succeeds but FT_Load_Glyph() fails.
    682 - Docs: Improved and moved font documentation to docs/FONTS.md so it can be readable on the web.
    683   Updated various links/wiki accordingly. Added FAQ entry about DPI. (#2861) [@ButternCream, @ocornut]
    684 - CI: Added CI test to verify we're never accidentally dragging libstdc++ (on some compiler setups,
    685   static constructors for non-pod data seems to drag in libstdc++ due to thread-safety concerns).
    686   Fixed a static constructor which led to this dependency on some compiler setups. [@rokups]
    687 - Backends: Win32: Support for #define NOGDI, won't try to call GetDeviceCaps(). (#3137, #2327)
    688 - Backends: Win32: Fix _WIN32_WINNT < 0x0600 (MinGW defaults to 0x502 == Windows 2003). (#3183)
    689 - Backends: SDL: Report a zero display-size when window is minimized, consistent with other backends,
    690   making more render/clipping code use an early out path.
    691 - Backends: OpenGL: Fixed handling of GL 4.5+ glClipControl(GL_UPPER_LEFT) by inverting the
    692   projection matrix top and bottom values. (#3143, #3146) [@u3shit]
    693 - Backends: OpenGL: On OSX, if unspecified by app, made default GLSL version 150. (#3199) [@albertvaka]
    694 - Backends: OpenGL: Fixed loader auto-detection to not interfere with ES2/ES3 defines. (#3246) [@funchal]
    695 - Backends: Vulkan: Fixed error in if initial frame has no vertices. (#3177)
    696 - Backends: Vulkan: Fixed edge case where render callbacks wouldn't be called if the ImDrawData
    697   structure didn't have any vertices. (#2697) [@kudaba]
    698 - Backends: OSX: Added workaround to avoid fast mouse clicks. (#3261, #1992, #2525) [@nburrus]
    699 - Examples: GLFW+Vulkan, SDL+Vulkan: Fix for handling of minimized windows. (#3259)
    700 - Examples: Apple: Fixed example_apple_metal and example_apple_opengl2 using imgui_impl_osx.mm
    701   not forwarding right and center mouse clicks. (#3260) [@nburrus]
    702 
    703 
    704 -----------------------------------------------------------------------
    705  VERSION 1.76 (Released 2020-04-12)
    706 -----------------------------------------------------------------------
    707 
    708 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.76
    709 
    710 Other Changes:
    711 
    712 - Drag and Drop, Nav: Disabling navigation arrow keys when drag and drop is active. In the docking
    713   branch pressing arrow keys while dragging a window from a tab could trigger an assert. (#3025)
    714 - BeginMenu: Using same ID multiple times appends content to a menu. (#1207) [@rokups]
    715 - BeginMenu: Fixed a bug where SetNextWindowXXX data before a BeginMenu() would not be cleared
    716   when the menu is not open. (#3030)
    717 - InputText: Fixed password fields displaying ASCII spaces as blanks instead of using the '*'
    718   glyph. (#2149, #515)
    719 - Selectable: Fixed honoring style.SelectableTextAlign with unspecified size. (#2347, #2601)
    720 - Selectable: Allow using ImGuiSelectableFlags_SpanAllColumns in other columns than first. (#125)
    721 - TreeNode: Made clicking on arrow with _OpenOnArrow toggle the open state on the Mouse Down
    722   event rather than the Mouse Down+Up sequence (this is rather standard behavior).
    723 - ColorButton: Added ImGuiColorEditFlags_NoBorder flag to remove the border normally enforced
    724   by default for standalone ColorButton.
    725 - Nav: Fixed interactions with ImGuiListClipper, so e.g. Home/End result would not clip the
    726   landing item on the landing frame. (#787)
    727 - Nav: Fixed currently focused item from ever being clipped by ItemAdd(). (#787)
    728 - Scrolling: Fixed scrolling centering API leading to non-integer scrolling values and initial
    729   cursor position. This would often get fixed after the fix item submission, but using the
    730   ImGuiListClipper as the first thing after Begin() could largely break size calculations. (#3073)
    731 - Added optional support for Unicode plane 1-16 (#2538, #2541, #2815) [@cloudwu, @samhocevar]
    732   - Compile-time enable with '#define IMGUI_USE_WCHAR32' in imconfig.h.
    733   - More onsistent handling of unsupported code points (0xFFFD).
    734   - Surrogate pairs are supported when submitting UTF-16 data via io.AddInputCharacterUTF16(),
    735     allowing for more complete CJK input.
    736   - sizeof(ImWchar) goes from 2 to 4. IM_UNICODE_CODEPOINT_MAX goes from 0xFFFF to 0x10FFFF.
    737   - Various structures such as ImFont, ImFontGlyphRangesBuilder will use more memory, this
    738     is currently not particularly efficient.
    739 - Columns: undid the change in 1.75 were Columns()/BeginColumns() were preemptively limited
    740   to 64 columns with an assert. (#3037, #125)
    741 - Window: Fixed a bug with child window inheriting ItemFlags from their parent when the child
    742   window also manipulate the ItemFlags stack. (#3024) [@Stanbroek]
    743 - Font: Fixed non-ASCII space occasionally creating unnecessary empty looking polygons.
    744 - Misc: Added an explicit compile-time test for non-scoped IM_ASSERT() macros to redirect users
    745   to a solution rather than encourage people to add braces in the codebase.
    746 - Misc: Added additional checks in EndFrame() to verify that io.KeyXXX values have not been
    747   tampered with between NewFrame() and EndFrame().
    748 - Misc: Made default clipboard handlers for Win32 and OSX use a buffer inside the main context
    749   instead of a static buffer, so it can be freed properly on Shutdown. (#3110)
    750 - Misc, Freetype: Fixed support for IMGUI_STB_RECT_PACK_FILENAME compile time directive
    751   in imgui_freetype.cpp (matching support in the regular code path). (#3062) [@DonKult]
    752 - Metrics: Made Tools section more prominent. Showing wire-frame mesh directly hovering the ImDrawCmd
    753   instead of requiring to open it. Added options to disable bounding box and mesh display.
    754   Added notes on inactive/gc-ed windows.
    755 - Demo: Added black and white and color gradients to Demo>Examples>Custom Rendering.
    756 - CI: Added more tests on the continuous-integration server: extra warnings for Clang/GCC, building
    757   SDL+Metal example, building imgui_freetype.cpp, more compile-time imconfig.h settings: disabling
    758   obsolete functions, enabling 32-bit ImDrawIdx, enabling 32-bit ImWchar, disabling demo. [@rokups]
    759 - Backends: OpenGL3: Fixed version check mistakenly testing for GL 4.0+ instead of 3.2+ to enable
    760   ImGuiBackendFlags_RendererHasVtxOffset, leaving 3.2 contexts without it. (#3119, #2866) [@wolfpld]
    761 - Backends: OpenGL3: Added include support for older glbinding 2.x loader. (#3061) [@DonKult]
    762 - Backends: Win32: Added ImGui_ImplWin32_EnableDpiAwareness(), ImGui_ImplWin32_GetDpiScaleForHwnd(),
    763   ImGui_ImplWin32_GetDpiScaleForMonitor() helpers functions (backported from the docking branch).
    764   Those functions makes it easier for example apps to support hi-dpi features without setting up
    765   a manifest.
    766 - Backends: Win32: Calling AddInputCharacterUTF16() from WM_CHAR message handler in order to support
    767   high-plane surrogate pairs. (#2815) [@cloudwu, @samhocevar]
    768 - Backends: SDL: Added ImGui_ImplSDL2_InitForMetal() for API consistency (even though the function
    769   currently does nothing).
    770 - Backends: SDL: Fixed mapping for ImGuiKey_KeyPadEnter. (#3031) [@Davido71]
    771 - Examples: Win32+DX12: Fixed resizing main window, enabled debug layer. (#3087, #3115) [@sergeyn]
    772 - Examples: SDL+DX11: Fixed resizing main window. (#3057) [@joeslay]
    773 - Examples: Added SDL+Metal example application. (#3017) [@coding-jackalope]
    774 
    775 
    776 -----------------------------------------------------------------------
    777  VERSION 1.75 (Released 2020-02-10)
    778 -----------------------------------------------------------------------
    779 
    780 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.75
    781 
    782 Breaking Changes:
    783 
    784 - Removed redirecting functions/enums names that were marked obsolete in 1.53 (December 2017):
    785   - ShowTestWindow()                    -> use ShowDemoWindow()
    786   - IsRootWindowFocused()               -> use IsWindowFocused(ImGuiFocusedFlags_RootWindow)
    787   - IsRootWindowOrAnyChildFocused()     -> use IsWindowFocused(ImGuiFocusedFlags_RootAndChildWindows)
    788   - SetNextWindowContentWidth(w)        -> use SetNextWindowContentSize(ImVec2(w, 0.0f)
    789   - GetItemsLineHeightWithSpacing()     -> use GetFrameHeightWithSpacing()
    790   - ImGuiCol_ChildWindowBg              -> use ImGuiCol_ChildBg
    791   - ImGuiStyleVar_ChildWindowRounding   -> use ImGuiStyleVar_ChildRounding
    792   - ImGuiTreeNodeFlags_AllowOverlapMode -> use ImGuiTreeNodeFlags_AllowItemOverlap
    793   - IMGUI_DISABLE_TEST_WINDOWS          -> use IMGUI_DISABLE_DEMO_WINDOWS
    794   If you were still using the old names, while you are cleaning up, considering enabling
    795   IMGUI_DISABLE_OBSOLETE_FUNCTIONS in imconfig.h even temporarily to have a pass at finding
    796   and removing up old API calls, if any remaining.
    797 - Removed implicit default parameter to IsMouseDragging(int button = 0) to be consistent
    798   with other mouse functions (none of the other functions have it).
    799 - Obsoleted calling ImDrawList::PrimReserve() with a negative count (which was vaguely
    800   documented and rarely if ever used). Instead we added an explicit PrimUnreserve() API
    801   which can be implemented faster. Also clarified pre-existing constraints which weren't
    802   documented (can only unreserve from the last reserve call). If you suspect you ever
    803   used that feature before (very unlikely, but grep for call to PrimReserve in your code),
    804   you can #define IMGUI_DEBUG_PARANOID in imconfig.h to catch existing calls. [@ShironekoBen]
    805 - ImDrawList::AddCircle()/AddCircleFilled() functions don't accept negative radius.
    806 - Limiting Columns()/BeginColumns() api to 64 columns with an assert. While the current code
    807   technically supports it, future code may not so we're putting the restriction ahead.
    808   [Undid that change in 1.76]
    809 - imgui_internal.h: changed ImRect() default constructor initializes all fields to 0.0f instead
    810   of (FLT_MAX,FLT_MAX,-FLT_MAX,-FLT_MAX). If you used ImRect::Add() to create bounding boxes by
    811   adding points into it without explicit initialization, you may need to fix your initial value.
    812 
    813 Other Changes:
    814 
    815 - Inputs: Added ImGuiMouseButton enum for convenience (e.g. ImGuiMouseButton_Right=1).
    816   We forever guarantee that the existing value will not changes so existing code is free to use 0/1/2.
    817 - Nav: Fixed a bug where the initial CTRL-Tab press while in a child window sometimes selected
    818   the current root window instead of always selecting the previous root window. (#787)
    819 - ColorEdit: Fix label alignment when using ImGuiColorEditFlags_NoInputs. (#2955) [@rokups]
    820 - ColorEdit: In HSV display of a RGB stored value, attempt to locally preserve Saturation
    821   when Value==0.0 (similar to changes done in 1.73 for Hue). Removed Hue editing lock since
    822   those improvements in 1.73 makes them unnecessary. (#2722, #2770). [@rokups]
    823 - ColorEdit: "Copy As" context-menu tool shows hex values with a '#' prefix instead of '0x'.
    824 - ColorEdit: "Copy As" content-menu tool shows hex values both with/without alpha when available.
    825 - InputText: Fix corruption or crash when executing undo after clearing input with ESC, as a
    826   byproduct we are allowing to later undo the revert with a CTRL+Z. (#3008).
    827 - InputText: Fix using a combination of _CallbackResize (e.g. for std::string binding), along with the
    828   _EnterReturnsTrue flag along with the rarely used property of using an InputText without persisting
    829   user-side storage. Previously if you had e.g. a local unsaved std::string and reading result back
    830   from the widget, the user string object wouldn't be resized when Enter key was pressed. (#3009)
    831 - MenuBar: Fix minor clipping issue where occasionally a menu text can overlap the right-most border.
    832 - Window: Fix SetNextWindowBgAlpha(1.0f) failing to override alpha component. (#3007) [@Albog]
    833 - Window: When testing for the presence of the ImGuiWindowFlags_NoBringToFrontOnFocus flag we
    834   test both the focused/clicked window (which could be a child window) and the root window.
    835 - ImDrawList: AddCircle(), AddCircleFilled() API can now auto-tessellate when provided a segment
    836   count of zero. Alter tessellation quality with 'style.CircleSegmentMaxError'. [@ShironekoBen]
    837 - ImDrawList: Add AddNgon(), AddNgonFilled() API with a guarantee on the explicit segment count.
    838   In the current branch they are essentially the same as AddCircle(), AddCircleFilled() but as
    839   we will rework the circle rendering functions to use textures and automatic segment count
    840   selection, those new api can fill a gap. [@ShironekoBen]
    841 - Columns: ImDrawList::Channels* functions now work inside columns. Added extra comments to
    842   suggest using user-owned ImDrawListSplitter instead of ImDrawList functions. [@rokups]
    843 - Misc: Added ImGuiMouseCursor_NotAllowed enum so it can be used by more shared widgets. [@rokups]
    844 - Misc: Added IMGUI_DISABLE compile-time definition to make all headers and sources empty.
    845 - Misc: Disable format checks when using stb_printf, to allow using extra formats.
    846   Made IMGUI_USE_STB_SPRINTF a properly documented imconfig.h flag. (#2954) [@loicmolinari]
    847 - Misc: Added misc/single_file/imgui_single_file.h, We use this to validate compiling all *.cpp
    848   files in a same compilation unit. Actual users of that technique (also called "Unity builds")
    849   can generally provide this themselves, so we don't really recommend you use this. [@rokups]
    850 - CI: Added PVS-Studio static analysis on the continuous-integration server. [@rokups]
    851 - Backends: GLFW, SDL, Win32, OSX, Allegro: Added support for ImGuiMouseCursor_NotAllowed. [@rokups]
    852 - Backends: GLFW: Added support for the missing mouse cursors newly added in GLFW 3.4+. [@rokups]
    853 - Backends: SDL: Wayland: use SDL_GetMouseState (because there is no global mouse state available
    854   on Wayland). (#2800, #2802) [@NeroBurner]
    855 - Backends: GLFW, SDL: report Windows key (io.KeySuper) as always released. Neither GLFW nor SDL can
    856   correctly report the key release in every cases (e.g. when using Win+V) causing problems with some
    857   widgets. The next release of GLFW (3.4+) will have a fix for it. However since it is both difficult
    858   and discouraged to make use of this key for Windows application anyway, we just hide it. (#2976)
    859 - Backends: Win32: Added support for #define IMGUI_IMPL_WIN32_DISABLE_GAMEPAD to disable all
    860   XInput using code, and IMGUI_IMPL_WIN32_DISABLE_LINKING_XINPUT to disable linking with XInput,
    861   the later may be problematic if compiling with recent Windows SDK and you want your app to run
    862   on Windows 7. You can instead try linking with Xinput9_1_0.lib instead. (#2716)
    863 - Backends: Glut: Improved FreeGLUT support for MinGW. (#3004) [@podsvirov]
    864 - Backends: Emscripten: Avoid forcefully setting IMGUI_DISABLE_FILE_FUNCTIONS. (#3005) [@podsvirov]
    865 - Examples: OpenGL: Explicitly adding -DIMGUI_IMPL_OPENGL_LOADER_GL3W to Makefile to match linking
    866   settings (otherwise if another loader such as Glew is accessible, the OpenGL3 backend might
    867   automatically use it). (#2919, #2798)
    868 - Examples: OpenGL: Added support for glbinding OpenGL loader. (#2870) [@rokups]
    869 - Examples: Emscripten: Demonstrating embedding fonts in Makefile and code. (#2953) [@Oipo]
    870 - Examples: Metal: Wrapped main loop in @autoreleasepool block to ensure allocations get freed
    871   even if underlying system event loop gets paused due to app nap. (#2910, #2917) [@bear24rw]
    872 
    873 
    874 -----------------------------------------------------------------------
    875  VERSION 1.74 (Released 2019-11-25)
    876 -----------------------------------------------------------------------
    877 
    878 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.74
    879 
    880 Breaking Changes:
    881 
    882 - Removed redirecting functions/enums names that were marked obsolete in 1.52 (October 2017):
    883   - Begin() [old 5 args version]     -> use Begin() [3 args], use SetNextWindowSize() SetNextWindowBgAlpha() if needed
    884   - IsRootWindowOrAnyChildHovered()  -> use IsWindowHovered(ImGuiHoveredFlags_RootAndChildWindows)
    885   - AlignFirstTextHeightToWidgets()  -> use AlignTextToFramePadding()
    886   - SetNextWindowPosCenter()         -> use SetNextWindowPos() with a pivot of (0.5f, 0.5f)
    887   - ImFont::Glyph                    -> use ImFontGlyph
    888   If you were still using the old names, read "API Breaking Changes" section of imgui.cpp to find out
    889   the new names or equivalent features, or see how they were implemented until 1.73.
    890 - Inputs: Fixed a miscalculation in the keyboard/mouse "typematic" repeat delay/rate calculation, used
    891   by keys and e.g. repeating mouse buttons as well as the GetKeyPressedAmount() function.
    892   If you were using a non-default value for io.KeyRepeatRate (previous default was 0.250), you can
    893   add +io.KeyRepeatDelay to it to compensate for the fix.
    894   The function was triggering on: 0.0 and (delay+rate*N) where (N>=1). Fixed formula responds to (N>=0).
    895   Effectively it made io.KeyRepeatRate behave like it was set to (io.KeyRepeatRate + io.KeyRepeatDelay).
    896   Fixed the code and altered default io.KeyRepeatRate,Delay from 0.250,0.050 to 0.300,0.050 to compensate.
    897   If you never altered io.KeyRepeatRate nor used GetKeyPressedAmount() this won't affect you.
    898 - Misc: Renamed IMGUI_DISABLE_FORMAT_STRING_FUNCTIONS to IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS. (#1038)
    899 - Misc: Renamed IMGUI_DISABLE_MATH_FUNCTIONS to IMGUI_DISABLE_DEFAULT_MATH_FUNCTIONS.
    900 - Fonts: ImFontAtlas::AddCustomRectRegular() now requires an ID larger than 0x110000 (instead of 0x10000) to
    901   conform with supporting Unicode planes 1-16 in a future update. ID below 0x110000 will now assert.
    902 - Backends: DX12: Added extra ID3D12DescriptorHeap parameter to ImGui_ImplDX12_Init() function.
    903   The value is unused in master branch but will be used by the multi-viewport feature. (#2851) [@obfuscate]
    904 
    905 Other Changes:
    906 
    907 - InputText, Nav: Fixed Home/End key broken when activating Keyboard Navigation. (#787)
    908 - InputText: Filter out ASCII 127 (DEL) emitted by low-level OSX layer, as we are using the Key value. (#2578)
    909 - Layout: Fixed a couple of subtle bounding box vertical positioning issues relating to the handling of text
    910   baseline alignment. The issue would generally manifest when laying out multiple items on a same line,
    911   with varying heights and text baseline offsets.
    912   Some specific examples, e.g. a button with regular frame padding followed by another item with a
    913   multi-line label and no frame padding, such as: multi-line text, small button, tree node item, etc.
    914   The second item was correctly offset to match text baseline, and would interact/display correctly,
    915   but it wouldn't push the contents area boundary low enough.
    916 - Scrollbar: Fixed an issue where scrollbars wouldn't display on the frame following a frame where
    917   all child window contents would be culled.
    918 - ColorPicker: Fixed SV triangle gradient to block (broken in 1.73). (#2864, #2711). [@lewa-j]
    919 - TreeNode: Fixed combination of ImGuiTreeNodeFlags_SpanFullWidth and ImGuiTreeNodeFlags_OpenOnArrow
    920   incorrectly locating the arrow hit position to the left of the frame. (#2451, #2438, #1897)
    921 - TreeNode: The collapsing arrow accepts click even if modifier keys are being held, facilitating
    922   interactions with custom multi-selections patterns. (#2886, #1896, #1861)
    923 - TreeNode: Added IsItemToggledOpen() to explicitly query if item was just open/closed, facilitating
    924   interactions with custom multi-selections patterns. (#1896, #1861)
    925 - DragScalar, SliderScalar, InputScalar: Added p_ prefix to parameter that are pointers to the data
    926   to clarify how they are used, and more comments redirecting to the demo code. (#2844)
    927 - Error handling: Assert if user mistakenly calls End() instead of EndChild() on a child window. (#1651)
    928 - Misc: Optimized storage of window settings data (reducing allocation count).
    929 - Misc: Windows: Do not use _wfopen() if IMGUI_DISABLE_WIN32_FUNCTIONS is defined. (#2815)
    930 - Misc: Windows: Disabled win32 function by default when building with UWP. (#2892, #2895)
    931 - Misc: Using static_assert() when using C++11, instead of our own construct (avoid zealous Clang warnings).
    932 - Misc: Added IMGUI_DISABLE_FILE_FUNCTIONS/IMGUI_DISABLE_DEFAULT_FILE_FUNCTION to nullify or disable
    933   default implementation of ImFileXXX functions linking with fopen/fclose/fread/fwrite. (#2734)
    934 - Docs: Improved and moved FAQ to docs/FAQ.md so it can be readable on the web. [@ButternCream, @ocornut]
    935 - Docs: Moved misc/fonts/README.txt to docs/FONTS.txt.
    936 - Docs: Added permanent redirect from https://www.dearimgui.org/faq to FAQ page.
    937 - Demo: Added simple item reordering demo in Widgets -> Drag and Drop section. (#2823, #143) [@rokups]
    938 - Metrics: Show wire-frame mesh and approximate surface area when hovering ImDrawCmd. [@ShironekoBen]
    939 - Metrics: Expose basic details of each window key/value state storage.
    940 - Examples: DX12: Using IDXGIDebug1::ReportLiveObjects() when DX12_ENABLE_DEBUG_LAYER is enabled.
    941 - Examples: Emscripten: Removed BINARYEN_TRAP_MODE=clamp from Makefile which was removed in Emscripten 1.39.0
    942   but required prior to 1.39.0, making life easier for absolutely no-one. (#2877, #2878) [@podsvirov]
    943 - Backends: OpenGL2: Explicitly backup, setup and restore GL_TEXTURE_ENV to increase compatibility with
    944   legacy OpenGL applications. (#3000)
    945 - Backends: OpenGL3: Fix building with pre-3.2 GL loaders which do not expose glDrawElementsBaseVertex(),
    946   using runtime GL version to decide if we set ImGuiBackendFlags_RendererHasVtxOffset. (#2866, #2852) [@dpilawa]
    947 - Backends: OSX: Fix using Backspace key. (#2578, #2817, #2818) [@DiligentGraphics]
    948 - Backends: GLFW: Previously installed user callbacks are now restored on shutdown. (#2836) [@malte-v]
    949 - CI: Set up a bunch of continuous-integration tests using GitHub Actions. We now compile many of the example
    950   applications on Windows, Linux, MacOS, iOS, Emscripten. Removed Travis integration. (#2865) [@rokups]
    951 
    952 
    953 -----------------------------------------------------------------------
    954  VERSION 1.73 (Released 2019-09-24)
    955 -----------------------------------------------------------------------
    956 
    957 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.73
    958 
    959 Other Changes:
    960 
    961 - Nav, Scrolling: Added support for Home/End key. (#787)
    962 - ColorEdit: Disable Hue edit when Saturation==0 instead of letting Hue values jump around.
    963 - ColorEdit, ColorPicker: In HSV display of a RGB stored value, attempt to locally preserve Hue
    964   when Saturation==0, which reduces accidentally lossy interactions. (#2722, #2770) [@rokups]
    965 - ColorPicker: Made rendering aware of global style alpha of the picker can be faded out. (#2711)
    966   Note that some elements won't accurately fade down with the same intensity, and the color wheel
    967   when enabled will have small overlap glitches with (style.Alpha < 1.0).
    968 - TabBar: Fixed single-tab not shrinking their width down.
    969 - TabBar: Fixed clicking on a tab larger than tab-bar width creating a bouncing feedback loop.
    970 - TabBar: Feed desired width (sum of unclipped tabs width) into layout system to allow for auto-resize. (#2768)
    971   (before 1.71 tab bars fed the sum of current width which created feedback loops in certain situations).
    972 - TabBar: Improved shrinking for large number of tabs to avoid leaving extraneous space on the right side.
    973   Individuals tabs are given integer-rounded width and remainder is spread between tabs left-to-right.
    974 - Columns, Separator: Fixed a bug where non-visible separators within columns would alter the next row position
    975   differently than visible ones.
    976 - SliderScalar: Improved assert when using U32 or U64 types with a large v_max value. (#2765) [@loicmouton]
    977 - DragInt, DragFloat, DragScalar: Using (v_min > v_max) allows locking any edits to the value.
    978 - DragScalar: Fixed dragging of unsigned values on ARM cpu (float to uint cast is undefined). (#2780) [@dBagrat]
    979 - TreeNode: Added ImGuiTreeNodeFlags_SpanAvailWidth flag. (#2451, #2438, #1897) [@Melix19, @PathogenDavid]
    980   This extends the hit-box to the right-most edge, even if the node is not framed.
    981   (Note: this is not the default in order to allow adding other items on the same line. In the future we will
    982   aim toward refactoring the hit-system to be front-to-back, allowing more natural overlapping of items,
    983   and then we will be able to make this the default.)
    984 - TreeNode: Added ImGuiTreeNodeFlags_SpanFullWidth flag. This extends the hit-box to both the left-most and
    985   right-most edge of the working area, bypassing indentation.
    986 - CollapsingHeader: Added support for ImGuiTreeNodeFlags_Bullet and ImGuiTreeNodeFlags_Leaf on framed nodes,
    987   mostly for consistency. (#2159, #2160) [@goran-w]
    988 - Selectable: Added ImGuiSelectableFlags_AllowItemOverlap flag in public api (was previously internal only).
    989 - Style: Allow style.WindowMenuButtonPosition to be set to ImGuiDir_None to hide the collapse button. (#2634, #2639)
    990 - Font: Better ellipsis ("...") drawing implementation. Instead of drawing three pixel-ey dots (which was glaringly
    991   unfitting with many types of fonts) we first attempt to find a standard ellipsis glyphs within the loaded set.
    992   Otherwise we render ellipsis using '.' from the font from where we trim excessive spacing to make it as narrow
    993   as possible. (#2775) [@rokups]
    994 - ImDrawList: Clarified the name of many parameters so reading the code is a little easier. (#2740)
    995 - ImDrawListSplitter: Fixed merging channels if the last submitted draw command used a different texture. (#2506)
    996 - Using offsetof() when available in C++11. Avoids Clang sanitizer complaining about old-style macros. (#94)
    997 - ImVector: Added find(), find_erase(), find_erase_unsorted() helpers.
    998 - Added a mechanism to compact/free the larger allocations of unused windows (buffers are compacted when
    999   a window is unused for 60 seconds, as per io.ConfigWindowsMemoryCompactTimer = 60.0f). Note that memory
   1000   usage has never been reported as a problem, so this is merely a touch of overzealous luxury. (#2636)
   1001 - Documentation: Various tweaks and improvements to the README page. [@ker0chan]
   1002 - Backends: OpenGL3: Tweaked initialization code allow application calling ImGui_ImplOpenGL3_CreateFontsTexture()
   1003   before ImGui_ImplOpenGL3_NewFrame(), which sometimes can be convenient.
   1004 - Backends: OpenGL3: Attempt to automatically detect default GL loader by using __has_include. (#2798) [@o-micron]
   1005 - Backends: DX11: Fixed GSGetShader() call not passing an initialized instance count, which would
   1006   generally make the DX11 debug layer complain (bug added in 1.72).
   1007 - Backends: Vulkan: Added support for specifying multisample count. Set 'ImGui_ImplVulkan_InitInfo::MSAASamples' to
   1008    one of the VkSampleCountFlagBits values to use, default is non-multisampled as before. (#2705, #2706) [@vilya]
   1009 - Examples: OSX: Fix example_apple_opengl2/main.mm not forwarding mouse clicks and drags correctly. (#1961, #2710)
   1010   [@intonarumori, @ElectricMagic]
   1011 - Misc: Updated stb_rect_pack.h from 0.99 to 1.00 (fixes by @rygorous: off-by-1 bug in best-fit heuristic,
   1012   fix handling of rectangles too large to fit inside texture). (#2762) [@tido64]
   1013 
   1014 
   1015 -----------------------------------------------------------------------
   1016  VERSION 1.72b (Released 2019-07-31)
   1017 -----------------------------------------------------------------------
   1018 
   1019 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.72b
   1020 
   1021 Other Changes:
   1022 
   1023 - Nav, Scrolling: Fixed programmatic scroll leading to a slightly incorrect scroll offset when
   1024   the window has decorations or a menu-bar (broken in 1.71). This was mostly noticeable when
   1025   a keyboard/gamepad movement led to scrolling the view, or using e.g. SetScrollHereY() function.
   1026 - Nav: Made hovering non-MenuItem Selectable not re-assign the source item for keyboard navigation.
   1027 - Nav: Fixed an issue with NavFlattened window flag (beta) where widgets not entirely fitting
   1028   in child window (often selectables because of their protruding sides) would be not considered
   1029   as entry points to to navigate toward the child window. (#787)
   1030 
   1031 
   1032 -----------------------------------------------------------------------
   1033  VERSION 1.72 (Released 2019-07-27)
   1034 -----------------------------------------------------------------------
   1035 
   1036 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.72
   1037 
   1038 Breaking Changes:
   1039 
   1040 - Removed redirecting functions/enums names that were marked obsolete in 1.51 (June 2017):
   1041   - ImGuiCol_Column*, ImGuiSetCond_* enums.
   1042   - IsItemHoveredRect(), IsPosHoveringAnyWindow(), IsMouseHoveringAnyWindow(), IsMouseHoveringWindow() functions.
   1043   - IMGUI_ONCE_UPON_A_FRAME macro.
   1044   If you were still using the old names, read "API Breaking Changes" section of imgui.cpp to find out
   1045   the new names or equivalent features.
   1046 - Renamed ImFontAtlas::CustomRect to ImFontAtlasCustomRect. Kept redirection typedef (will obsolete).
   1047 - Removed TreeAdvanceToLabelPos() which is rarely used and only does SetCursorPosX(GetCursorPosX() + GetTreeNodeToLabelSpacing()).
   1048   Kept redirection function (will obsolete). (#581, #324)
   1049 
   1050 Other Changes:
   1051 
   1052 - Scrolling: Made mouse-wheel scrolling lock the underlying window until the mouse is moved again or
   1053   until a short delay expires (~2 seconds). This allow uninterrupted scroll even if child windows are
   1054   passing under the mouse cursor. (#2604)
   1055 - Scrolling: Made it possible for mouse wheel and navigation-triggered scrolling to override a call to
   1056   SetScrollX()/SetScrollY(), making it possible to use a simpler stateless pattern for auto-scrolling:
   1057      // (Submit items..)
   1058      if (ImGui::GetScrollY() >= ImGui::GetScrollMaxY())  // If scrolling at the already at the bottom..
   1059          ImGui::SetScrollHereY(1.0f);                    // ..make last item fully visible
   1060 - Scrolling: Added SetScrollHereX(), SetScrollFromPosX() for completeness. (#1580) [@kevreco]
   1061 - Scrolling: Mouse wheel scrolling while hovering a child window is automatically forwarded to parent window
   1062   if ScrollMax is zero on the scrolling axis.
   1063   Also still the case if ImGuiWindowFlags_NoScrollWithMouse is set (not new), but previously the forwarding
   1064   would be disabled if ImGuiWindowFlags_NoScrollbar was set on the child window, which is not the case
   1065   any more. Forwarding can still be disabled by setting ImGuiWindowFlags_NoInputs. (amend #1502, #1380).
   1066 - Window: Fixed InnerClipRect right-most coordinates using wrong padding setting (introduced in 1.71).
   1067 - Window: Fixed old SetWindowFontScale() api value from not being inherited by child window. Added
   1068   comments about the right way to scale your UI (load a font at the right side, rebuild atlas, scale style).
   1069 - Scrollbar: Avoid overlapping the opposite side when window (often a child window) is forcibly too small.
   1070 - Combo: Hide arrow when there's not enough space even for the square button.
   1071 - InputText: Testing for newly added ImGuiKey_KeyPadEnter key. (#2677, #2005) [@amc522]
   1072 - TabBar: Fixed unfocused tab bar separator color (was using ImGuiCol_Tab, should use ImGuiCol_TabUnfocusedActive).
   1073 - Columns: Fixed a regression from 1.71 where the right-side of the contents rectangle within each column
   1074   would wrongly use a WindowPadding.x instead of ItemSpacing.x like it always did. (#125, #2666)
   1075 - Columns: Made the right-most edge reaches up to the clipping rectangle (removing half of WindowPadding.x
   1076   worth of asymmetrical/extraneous padding, note that there's another half that conservatively has to offset
   1077   the right-most column, otherwise it's clipping width won't match the other columns). (#125, #2666)
   1078 - Columns: Improved honoring alignment with various values of ItemSpacing.x and WindowPadding.x. (#125, #2666)
   1079 - Columns: Made GetColumnOffset() and GetColumnWidth() behave when there's no column set, consistently with
   1080   other column functions. (#2683)
   1081 - InputTextMultiline: Fixed vertical scrolling tracking glitch.
   1082 - Word-wrapping: Fixed overzealous word-wrapping when glyph edge lands exactly on the limit. Because
   1083   of this, auto-fitting exactly unwrapped text would make it wrap. (fixes initial 1.15 commit, 78645a7d).
   1084 - Style: Attenuated default opacity of ImGuiCol_Separator in Classic and Light styles.
   1085 - Style: Added style.ColorButtonPosition (left/right, defaults to ImGuiDir_Right) to move the color button
   1086   of ColorEdit3/ColorEdit4 functions to either side of the inputs.
   1087 - IO: Added ImGuiKey_KeyPadEnter and support in various backends (previously backends would need to
   1088   specifically redirect key-pad keys to their regular counterpart). This is a temporary attenuating measure
   1089   until we actually refactor and add whole sets of keys into the ImGuiKey enum. (#2677, #2005) [@amc522]
   1090 - Misc: Made Button(), ColorButton() not trigger an "edited" event leading to IsItemDeactivatedAfterEdit()
   1091   returning true. This also effectively make ColorEdit4() not incorrect trigger IsItemDeactivatedAfterEdit()
   1092   when clicking the color button to open the picker popup. (#1875)
   1093 - Misc: Added IMGUI_DISABLE_METRICS_WINDOW imconfig.h setting to explicitly compile out ShowMetricsWindow().
   1094 - Debug, Metrics: Added "Tools->Item Picker" tool which allow clicking on a widget to break in the debugger
   1095   within the item code. The tool calls IM_DEBUG_BREAK() which can be redefined in imconfig.h if needed.
   1096 - ImDrawList: Fixed CloneOutput() helper crashing. (#1860) [@gviot]
   1097 - ImDrawList::ChannelsSplit(), ImDrawListSplitter: Fixed an issue with merging draw commands between
   1098   channel 0 and 1. (#2624)
   1099 - ImDrawListSplitter: Fixed memory leak when using low-level split api (was not affecting ImDrawList api,
   1100   also this type was added in 1.71 and not advertised as a public-facing feature).
   1101 - Fonts: binary_to_compressed_c.cpp: Display an error message if failing to open/read the input font file.
   1102 - Demo: Log, Console: Using a simpler stateless pattern for auto-scrolling.
   1103 - Demo: Widgets: Showing how to use the format parameter of Slider/Drag functions to display the name
   1104   of an enum value instead of the underlying integer value.
   1105 - Demo: Renamed the "Help" menu to "Tools" (more accurate).
   1106 - Backends: DX10/DX11: Backup, clear and restore Geometry Shader is any is bound when calling renderer.
   1107 - Backends: DX11: Clear Hull Shader, Domain Shader, Compute Shader before rendering. Not backing/restoring them.
   1108 - Backends: OSX: Disabled default native Mac clipboard copy/paste implementation in core library (added in 1.71),
   1109   because it needs application to be linked with '-framework ApplicationServices'. It can be explicitly
   1110   enabled back by using '#define IMGUI_ENABLE_OSX_DEFAULT_CLIPBOARD_FUNCTIONS' in imconfig.h. Re-added
   1111   equivalent using NSPasteboard api in the imgui_impl_osx.mm experimental backend. (#2546)
   1112 - Backends: SDL2: Added ImGui_ImplSDL2_InitForD3D() function to make D3D support more visible.
   1113   (#2482, #2632) [@josiahmanson]
   1114 - Examples: Added SDL2+DirectX11 example application. (#2632, #2612, #2482) [@vincenthamm]
   1115 
   1116 
   1117 -----------------------------------------------------------------------
   1118  VERSION 1.71 (Released 2019-06-12)
   1119 -----------------------------------------------------------------------
   1120 
   1121 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.71
   1122 
   1123 Breaking Changes:
   1124 
   1125 - IO: changed AddInputCharacter(unsigned short c) signature to AddInputCharacter(unsigned int c).
   1126 - Renamed SetNextTreeNodeOpen() to SetNextItemOpen(). Kept inline redirection function (will obsolete).
   1127 - Window: rendering of child windows outer decorations (e.g. bg color, border, scrollbars) is now
   1128   performed as part of their parent window, avoiding the creation of an extraneous draw commands.
   1129   If you have overlapping child windows with decorations, and relied on their relative z-order to be
   1130   mapped to submission their order, this will affect your rendering. The optimization is disabled
   1131   if the parent window has no visual output because it appears to be the most common situation leading
   1132   to the creation of overlapping child windows. Please reach out if you are affected by this change!
   1133 
   1134 Other Changes:
   1135 
   1136 - Window: clarified behavior of SetNextWindowContentSize(). Content size is defined as the size available
   1137   after removal of WindowPadding on each sides. So SetNextWindowContentSize(ImVec2(100,100)) + auto-resize
   1138   will always allow submitting a 100x100 item without creating a scrollbar, regarding of WindowPadding.
   1139   The exact meaning of ContentSize for decorated windows was previously ill-defined.
   1140 - Window: Fixed auto-resize with AlwaysVerticalScrollbar or AlwaysHorizontalScrollbar flags.
   1141 - Window: Fixed one case where auto-resize by double-clicking the resize grip would make either scrollbar
   1142   appear for a single frame after the resize.
   1143 - Separator: Revert 1.70 "Declare its thickness (1.0f) to the layout" change. It's not incorrect
   1144   but it breaks existing some layout patterns. Will return back to it when we expose Separator flags.
   1145 - Fixed InputScalar, InputScalarN, SliderScalarN, DragScalarN with non-visible label from inserting
   1146   style.ItemInnerSpacing.x worth of trailing spacing.
   1147 - Fixed InputFloatX, SliderFloatX, DragFloatX functions erroneously reporting IsItemEdited() multiple
   1148   times when the text input doesn't match the formatted output value (e.g. input "1" shows "1.000").
   1149   It wasn't much of a problem because we typically use the return value instead of IsItemEdited() here.
   1150 - Fixed uses of IsItemDeactivated(), IsItemDeactivatedAfterEdit() on multi-components widgets and
   1151   after EndGroup(). (#2550, #1875)
   1152 - Fixed crash when appending with BeginMainMenuBar() more than once and no other window are showing. (#2567)
   1153 - ColorEdit: Fixed the color picker popup only displaying inputs as HSV instead of showing multiple
   1154   options. (#2587, broken in 1.69 by #2384).
   1155 - CollapsingHeader: Better clipping when a close button is enabled and it overlaps the label. (#600)
   1156 - Scrollbar: Minor bounding box adjustment to cope with various border size.
   1157 - Scrollbar, Style: Changed default style.ScrollbarSize from 16 to 14.
   1158 - Combo: Fixed rounding not applying with the ImGuiComboFlags_NoArrowButton flag. (#2607) [@DucaRii]
   1159 - Nav: Fixed gamepad/keyboard moving of window affecting contents size incorrectly, sometimes leading
   1160   to scrollbars appearing during the movement.
   1161 - Nav: Fixed rare crash when e.g. releasing Alt-key while focusing a window with a menu at the same
   1162   frame as clearing the focus. This was in most noticeable in backends such as Glfw and SDL which
   1163   emits key release events when focusing another viewport, leading to Alt+clicking on void on another
   1164   viewport triggering the issue. (#2609)
   1165 - TreeNode, CollapsingHeader: Fixed highlight frame not covering horizontal area fully when using
   1166   horizontal scrolling. (#2211, #2579)
   1167 - TabBar: Fixed BeginTabBar() within a window with horizontal scrolling from creating a feedback
   1168   loop with the horizontal contents size.
   1169 - Columns: Fixed Columns() within a window with horizontal scrolling from not covering the full
   1170   horizontal area (previously only worked with an explicit contents size). (#125)
   1171 - Columns: Fixed Separator from creating an extraneous draw command. (#125)
   1172 - Columns: Fixed Selectable with SpanAllColumns flag from creating an extraneous draw command. (#125)
   1173 - Style: Added style.WindowMenuButtonPosition (left/right, defaults to ImGuiDir_Left) to move the
   1174   collapsing/docking button to the other side of the title bar.
   1175 - Style: Made window close button cross slightly smaller.
   1176 - Log/Capture: Fixed BeginTabItem() label not being included in a text log/capture.
   1177 - ImDrawList: Added ImDrawCmd::VtxOffset value to support large meshes (64k+ vertices) using 16-bit indices.
   1178   The renderer backend needs to set 'io.BackendFlags |= ImGuiBackendFlags_RendererHasVtxOffset' to enable
   1179   this, and honor the ImDrawCmd::VtxOffset field. Otherwise the value will always be zero. (#2591)
   1180   This has the advantage of preserving smaller index buffers and allowing to execute on hardware that do not
   1181   support 32-bit indices. Most examples backends have been modified to support the VtxOffset field.
   1182 - ImDrawList: Added ImDrawCmd::IdxOffset value, equivalent to summing element count for each draw command.
   1183   This is provided for convenience and consistency with VtxOffset. (#2591)
   1184 - ImDrawCallback: Allow to override the signature of ImDrawCallback by #define-ing it. This is meant to
   1185   facilitate custom rendering backends passing local render-specific data to the draw callback.
   1186 - ImFontAtlas: FreeType: Added RasterizerFlags::Monochrome flag to disable font anti-aliasing. Combine
   1187   with RasterizerFlags::MonoHinting for best results. (#2545) [@HolyBlackCat]
   1188 - ImFontGlyphRangesBuilder: Fixed unnecessarily over-sized buffer, which incidentally was also not
   1189   fully cleared. Fixed edge-case overflow when adding character 0xFFFF. (#2568). [@NIKE3500]
   1190 - Demo: Added full "Dear ImGui" prefix to the title of "Dear ImGui Demo" and "Dear ImGui Metrics" windows.
   1191 - Backends: Add native Mac clipboard copy/paste default implementation in core library to match what we are
   1192   dealing with Win32, and to facilitate integration in custom engines. (#2546) [@andrewwillmott]
   1193 - Backends: OSX: imgui_impl_osx: Added mouse cursor support. (#2585, #1873) [@actboy168]
   1194 - Examples/Backends: DirectX9/10/11/12, Metal, Vulkan, OpenGL3 (Desktop GL only): Added support for large meshes
   1195   (64k+ vertices) with 16-bit indices, enable 'ImGuiBackendFlags_RendererHasVtxOffset' in those backends. (#2591)
   1196 - Examples/Backends: Don't filter characters under 0x10000 before calling io.AddInputCharacter(),
   1197   the filtering is done in io.AddInputCharacter() itself. This is in prevision for fuller Unicode
   1198   support. (#2538, #2541)
   1199 
   1200 
   1201 -----------------------------------------------------------------------
   1202  VERSION 1.70 (Released 2019-05-06)
   1203 -----------------------------------------------------------------------
   1204 
   1205 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.70
   1206 
   1207 Breaking Changes:
   1208 
   1209 - ImDrawList: Improved algorithm for mitre joints on thick lines, preserving correct thickness
   1210   up to 90 degrees angles (e.g. rectangles). If you have custom rendering using thick lines,
   1211   they will appear a little thicker now. (#2518) [@rmitton]
   1212 - Obsoleted GetContentRegionAvailWidth(), use GetContentRegionAvail().x instead.
   1213   Kept inline redirection function.
   1214 - Examples: Vulkan: Added MinImageCount/ImageCount fields in ImGui_ImplVulkan_InitInfo, required
   1215   during initialization to specify the number of in-flight image requested by swap chains.
   1216   (was previously a hard #define IMGUI_VK_QUEUED_FRAMES 2). (#2071, #1677) [@nathanvoglsam]
   1217 - Examples: Vulkan: Tidying up the demo/internals helpers (most engine/app should not rely
   1218   on them but it is possible you have!).
   1219 
   1220 Other Changes:
   1221 
   1222 - ImDrawList: Added ImDrawCallback_ResetRenderState, a special ImDrawList::AddCallback() value
   1223   to request the renderer backend to reset its render state. (#2037, #1639, #2452)
   1224   Examples: Added support for ImDrawCallback_ResetRenderState in all renderer backends. Each
   1225   renderer code setting up initial render state has been moved to a function so it could be
   1226   called at the start of rendering and when a ResetRenderState is requested. [@ocornut, @bear24rw]
   1227 - InputText: Fixed selection background rendering one frame after the cursor movement when
   1228   first transitioning from no-selection to has-selection. (Bug in 1.69) (#2436) [@Nazg-Gul]
   1229 - InputText: Work-around for buggy standard libraries where isprint('\t') returns true. (#2467, #1336)
   1230 - InputText: Fixed ImGuiInputTextFlags_AllowTabInput leading to two tabs characters being inserted
   1231   if the backend provided both Key and Character input. (#2467, #1336)
   1232 - Layout: Added SetNextItemWidth() helper to avoid using PushItemWidth/PopItemWidth() for single items.
   1233   Note that SetNextItemWidth() currently only affect the same subset of items as PushItemWidth(),
   1234   generally referred to as the large framed+labeled items. Because the new SetNextItemWidth()
   1235   function is explicit we may later extend its effect to more items.
   1236 - Layout: Fixed PushItemWidth(-width) for right-side alignment laying out some items (button, listbox, etc.)
   1237   with negative sizes if the 'width' argument was smaller than the available width at the time of item
   1238   submission.
   1239 - Window: Fixed window with the AlwaysAutoResize flag unnecessarily extending their hovering boundaries
   1240   by a few pixels (this is used to facilitate resizing from borders when available for a given window).
   1241   One of the noticeable minor side effect was that navigating menus would have had a tendency to disable
   1242   highlight from parent menu items earlier than necessary while approaching the child menu.
   1243 - Window: Close button is horizontally aligned with style.FramePadding.x.
   1244 - Window: Fixed contents region being off by WindowBorderSize amount on the right when scrollbar is active.
   1245 - Window: Fixed SetNextWindowSizeConstraints() with non-rounded positions making windows drift. (#2067, #2530)
   1246 - Popups: Closing a popup restores the focused/nav window in place at the time of the popup opening,
   1247   instead of restoring the window that was in the window stack at the time of the OpenPopup call. (#2517)
   1248   Among other things, this allows opening a popup while no window are focused, and pressing Escape to
   1249   clear the focus again.
   1250 - Popups: Fixed right-click from closing all popups instead of aiming at the hovered popup level
   1251   (regression in 1.67).
   1252 - Selectable: With ImGuiSelectableFlags_AllowDoubleClick doesn't return true on the mouse button release
   1253   following the double-click. Only first mouse release + second mouse down (double-click) returns true.
   1254   Likewise for internal ButtonBehavior() with both _PressedOnClickRelease | _PressedOnDoubleClick. (#2503)
   1255 - GetMouseDragDelta(): also returns the delta on the mouse button released frame. (#2419)
   1256 - GetMouseDragDelta(): verify that mouse positions are valid otherwise returns zero.
   1257 - Inputs: Also add support for horizontal scroll with Shift+Mouse Wheel. (#2424, #1463) [@LucaRood]
   1258 - PlotLines, PlotHistogram: Ignore NaN values when calculating min/max bounds. (#2485)
   1259 - Columns: Fixed boundary of clipping being off by 1 pixel within the left column. (#125)
   1260 - Separator: Declare its thickness (1.0f) to the layout, making items around separator more symmetrical.
   1261 - Combo, Slider, Scrollbar: Improve rendering in situation when there's only a few pixels available (<3 pixels).
   1262 - Nav: Fixed Drag/Slider functions going into text input mode when keyboard CTRL is held while pressing NavActivate.
   1263 - Drag and Drop: Fixed drag source with ImGuiDragDropFlags_SourceAllowNullID and null ID from receiving click
   1264   regardless of being covered by another window (it didn't honor correct hovering rules). (#2521)
   1265 - ImDrawList: Improved algorithm for mitre joints on thick lines, preserving correct thickness up to 90 degrees
   1266   angles, also faster to output. (#2518) [@rmitton]
   1267 - Misc: Added IM_MALLOC/IM_FREE macros mimicking IM_NEW/IM_DELETE so user doesn't need to revert
   1268   to using the ImGui::MemAlloc()/MemFree() calls directly.
   1269 - Misc: Made IMGUI_CHECKVERSION() macro also check for matching size of ImDrawIdx.
   1270 - Metrics: Added "Show windows rectangles" tool to visualize the different rectangles.
   1271 - Demo: Improved trees in columns demo.
   1272 - Examples: OpenGL: Added a test GL call + comments in ImGui_ImplOpenGL3_Init() to detect uninitialized
   1273   GL function loaders early, and help users understand what they are missing. (#2421)
   1274 - Examples: SDL: Added support for SDL_GameController gamepads (enable with ImGuiConfigFlags_NavEnableGamepad). (#2509) [@DJLink]
   1275 - Examples: Emscripten: Added Emscripten+SDL+GLES2 example. (#2494, #2492, #2351, #336) [@nicolasnoble, @redblobgames]
   1276 - Examples: Metal: Added Glfw+Metal example. (#2527) [@bear24rw]
   1277 - Examples: OpenGL3: Minor tweaks + not calling glBindBuffer more than necessary in the render loop.
   1278 - Examples: Vulkan: Fixed in-flight buffers issues when using multi-viewports. (#2461, #2348, #2378, #2097)
   1279 - Examples: Vulkan: Added missing support for 32-bit indices (#define ImDrawIdx unsigned int).
   1280 - Examples: Vulkan: Avoid passing negative coordinates to vkCmdSetScissor, which debug validation layers do not like.
   1281 - Examples: Vulkan: Added ImGui_ImplVulkan_SetMinImageCount() to change min image count at runtime. (#2071) [@nathanvoglsam]
   1282 - Examples: DirectX9: Fixed erroneous assert in ImGui_ImplDX9_InvalidateDeviceObjects(). (#2454)
   1283 - Examples: DirectX10/11/12, Allegro, Marmalade: Render functions early out when display size is zero (minimized). (#2496)
   1284 - Examples: GLUT: Fixed existing FreeGLUT example to work with regular GLUT. (#2465) [@andrewwillmott]
   1285 - Examples: GLUT: Renamed imgui_impl_freeglut.cpp/.h to imgui_impl_glut.cpp/.h. (#2465) [@andrewwillmott]
   1286 - Examples: GLUT: Made io.DeltaTime always > 0. (#2430)
   1287 - Examples: Visual Studio: Updated default platform toolset+sdk in vcproj files from v100+sdk7 (vs2010)
   1288   to v110+sdk8 (vs2012). This is mostly so we can remove reliance on DXSDK_DIR for the DX10/DX11 example,
   1289   which if existing and when switching to recent SDK ends up conflicting and creating warnings.
   1290 
   1291 
   1292 -----------------------------------------------------------------------
   1293  VERSION 1.69 (Released 2019-03-13)
   1294 -----------------------------------------------------------------------
   1295 
   1296 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.69
   1297 
   1298 Breaking Changes:
   1299 
   1300 - Renamed ColorEdit/ColorPicker's ImGuiColorEditFlags_RGB/_HSV/_HEX flags to respectively
   1301   ImGuiColorEditFlags_DisplayRGB/_DisplayHSV/_DisplayHex. This is because the addition of
   1302   new flag ImGuiColorEditFlags_InputHSV makes the earlier one ambiguous.
   1303   Kept redirection enum values (will obsolete). (#2384) [@haldean]
   1304 - Renamed GetOverlayDrawList() to GetForegroundDrawList(). Kept redirection function (will obsolete). (#2391)
   1305 
   1306 Other Changes:
   1307 
   1308 - Added GetBackgroundDrawList() helper to quickly get access to a ImDrawList that will be rendered
   1309   behind every other windows. (#2391, #545)
   1310 - DragScalar, InputScalar, SliderScalar: Added support for u8/s8/u16/s16 data types (ImGuiDataType_S8, etc.)
   1311   We are reusing function instances of larger types to reduce code size. (#643, #320, #708, #1011)
   1312 - Added InputTextWithHint() to display a description/hint in the text box when no text
   1313   has been entered. (#2400) [@Organic-Code, @ocornut]
   1314 - Nav: Fixed a tap on AltGR (e.g. German keyboard) from navigating to the menu layer.
   1315 - Nav: Fixed Ctrl+Tab keeping active InputText() of a previous window active after the switch. (#2380)
   1316 - Fixed IsItemDeactivated()/IsItemDeactivatedAfterEdit() from not correctly returning true
   1317   when tabbing out of a focusable widget (Input/Slider/Drag) in most situations. (#2215, #1875)
   1318 - InputInt, InputFloat, InputScalar: Fix to keep the label of the +/- buttons centered when
   1319   style.FramePadding.x is abnormally larger than style.FramePadding.y. Since the buttons are
   1320   meant to be square (to align with e.g. color button) we always use FramePadding.y. (#2367)
   1321 - InputInt, InputScalar: +/- buttons now respects the natural type limits instead of
   1322   overflowing or underflowing the value.
   1323 - InputText: Fixed an edge case crash that would happen if another widget sharing the same ID
   1324   is being swapped with an InputText that has yet to be activated.
   1325 - InputText: Fixed various display corruption related to swapping the underlying buffer while
   1326   a input widget is active (both for writable and read-only paths). Often they would manifest
   1327   when manipulating the scrollbar of a multi-line input text.
   1328 - ColorEdit, ColorPicker, ColorButton: Added ImGuiColorEditFlags_InputHSV to manipulate color
   1329   values encoded as HSV (in order to avoid HSV<>RGB round trips and associated singularities).
   1330   (#2383, #2384) [@haldean]
   1331 - ColorPicker: Fixed a bug/assertion when displaying a color picker in a collapsed window
   1332   while dragging its title bar. (#2389)
   1333 - ColorEdit: Fixed tooltip not honoring the ImGuiColorEditFlags_NoAlpha contract of never
   1334   reading the 4th float in the array (value was read and discarded). (#2384) [@haldean]
   1335 - MenuItem, Selectable: Fixed disabled widget interfering with navigation (fix c2db7f63 in 1.67).
   1336 - TabBar: Fixed a crash when using many BeginTabBar() recursively (didn't affect docking). (#2371)
   1337 - TabBar: Added extra mis-usage error recovery. Past the assert, common mis-usage don't lead to
   1338   hard crashes any more, facilitating integration with scripting languages. (#1651)
   1339 - TabBar: Fixed ImGuiTabItemFlags_SetSelected being ignored if the tab is not visible (with
   1340   scrolling policy enabled) or if is currently appearing.
   1341 - TabBar: Fixed Tab tooltip code making drag and drop tooltip disappear during the frame where
   1342   the drag payload activate a tab.
   1343 - TabBar: Reworked scrolling policy (when ImGuiTabBarFlags_FittingPolicyScroll is set) to
   1344   teleport the view when aiming at a tab far away the visible section, and otherwise accelerate
   1345   the scrolling speed to cap the scrolling time to 0.3 seconds.
   1346 - Text: Fixed large Text/TextUnformatted calls not feeding their size into layout when starting
   1347   below the lower point of the current clipping rectangle. This bug has been there since v1.0!
   1348   It was hardly noticeable but would affect the scrolling range, which in turn would affect
   1349   some scrolling request functions when called during the appearing frame of a window.
   1350 - Plot: Fixed divide-by-zero in PlotLines() when passing a count of 1. (#2387) [@Lectem]
   1351 - Log/Capture: Fixed LogXXX functions emitting extraneous leading carriage return.
   1352 - Log/Capture: Fixed an issue when empty string on a new line would not emit a carriage return.
   1353 - Log/Capture: Fixed LogXXX functions 'auto_open_depth' parameter being treated as an absolute
   1354   tree depth instead of a relative one.
   1355 - Log/Capture: Fixed CollapsingHeader trailing ascii representation being "#" instead of "##".
   1356 - ImFont: Added GetGlyphRangesVietnamese() helper. (#2403)
   1357 - Misc: Asserting in NewFrame() if style.WindowMinSize is zero or smaller than (1.0f,1.0f).
   1358 - Demo: Using GetBackgroundDrawList() and GetForegroundDrawList() in "Custom Rendering" demo.
   1359 - Demo: InputText: Demonstrating use of ImGuiInputTextFlags_CallbackResize. (#2006, #1443, #1008).
   1360 - Examples: GLFW, SDL: Preserve DisplayFramebufferScale when main viewport is minimized.
   1361   (This is particularly useful for the viewport branch because we are not supporting per-viewport
   1362   frame-buffer scale. It fixes windows not refreshing when main viewport is minimized.) (#2416)
   1363 - Examples: OpenGL: Fix to be able to run on ES 2.0 / WebGL 1.0. [@rmitton, @gabrielcuvillier]
   1364 - Examples: OpenGL: Fix for OSX not supporting OpenGL 4.5, we don't try to read GL_CLIP_ORIGIN
   1365   even if the OpenGL headers/loader happens to define the value. (#2366, #2186)
   1366 - Examples: Allegro: Added support for touch events (emulating mouse). (#2219) [@dos1]
   1367 - Examples: DirectX9: Minor changes to match the other DirectX examples more closely. (#2394)
   1368 
   1369 
   1370 -----------------------------------------------------------------------
   1371  VERSION 1.68 (Released 2019-02-19)
   1372 -----------------------------------------------------------------------
   1373 
   1374 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.68
   1375 
   1376 Breaking Changes:
   1377 
   1378 - Removed io.DisplayVisibleMin/DisplayVisibleMax (which were marked obsolete and removed from viewport/docking branch already).
   1379 - Made it illegal/assert when io.DisplayTime == 0.0f (with an exception for the first frame).
   1380   If for some reason your time step calculation gives you a zero value, replace it with a arbitrarily small value!
   1381 
   1382 Other Changes:
   1383 
   1384 - Added .editorconfig file for text editors to standardize using spaces. (#2038) [@kudaba]
   1385 - ImDrawData: Added FramebufferScale field (currently a copy of the value from io.DisplayFramebufferScale).
   1386   This is to allow render functions being written without pulling any data from ImGuiIO, allowing incoming
   1387   multi-viewport feature to behave on Retina display and with multiple displays.
   1388   If you are not using a custom backend, please update your render function code ahead of time,
   1389   and use draw_data->FramebufferScale instead of io.DisplayFramebufferScale. (#2306, #1676)
   1390 - Added IsItemActivated() as an extension to the IsItemDeactivated/IsItemDeactivatedAfterEdit functions
   1391   which are useful to implement variety of undo patterns. (#820, #956, #1875)
   1392 - InputText: Fixed a bug where ESCAPE would not restore the initial value in all situations. (#2321) [@relick]
   1393 - InputText: Fixed a bug where ESCAPE would be first captured by the Keyboard Navigation code. (#2321, #787)
   1394 - InputText: Fixed redo buffer exhaustion handling (rare) which could corrupt the undo character buffer. (#2333)
   1395   The way the redo/undo buffers work would have made it generally unnoticeable to the user.
   1396 - Fixed range-version of PushID() and GetID() not honoring the ### operator to restart from the seed value.
   1397 - Fixed CloseCurrentPopup() on a child-menu of a modal incorrectly closing the modal. (#2308)
   1398 - Tabs: Added ImGuiTabBarFlags_TabListPopupButton flag to show a popup button on manual tab bars. (#261, #351)
   1399 - Tabs: Removed ImGuiTabBarFlags_NoTabListPopupButton which was available in 1.67 but actually had zero use.
   1400 - Tabs: Fixed a minor clipping glitch when changing style's FramePadding from frame to frame.
   1401 - Tabs: Fixed border (when enabled) so it is aligned correctly mid-pixel and appears as bright as other borders.
   1402 - Style, Selectable: Added ImGuiStyle::SelectableTextAlign and ImGuiStyleVar_SelectableTextAlign. (#2347) [@haldean]
   1403 - Menus: Tweaked horizontal overlap between parent and child menu (to help convey relative depth)
   1404   from using style.ItemSpacing.x to style.ItemInnerSpacing.x, the later being expected to be smaller. (#1086)
   1405 - RadioButton: Fixed label horizontal alignment to precisely match Checkbox().
   1406 - Window: When resizing from an edge, the border is more visible and better follow the rounded corners.
   1407 - Window: Fixed initial width of collapsed windows not taking account of contents width (broken in 1.67). (#2336, #176)
   1408 - Scrollbar: Fade out and disable interaction when too small, in order to facilitate using the resize grab on very
   1409   small window, as well as reducing visual noise/overlap.
   1410 - ListBox: Better optimized when clipped / non-visible.
   1411 - InputTextMultiline: Better optimized when clipped / non-visible.
   1412 - Font: Fixed high-level ImGui::CalcTextSize() used by most widgets from erroneously subtracting 1.0f*scale to
   1413   calculated text width. Among noticeable side-effects, it would make sequences of repeated Text/SameLine calls
   1414   not align the same as a single call, and create mismatch between high-level size calculation and those performed
   1415   with the lower-level ImDrawList api. (#792) [@SlNPacifist]
   1416 - Font: Fixed building atlas when specifying duplicate/overlapping ranges within a same font. (#2353, #2233)
   1417 - ImDrawList: Fixed AddCircle(), AddCircleFilled() angle step being off, which was visible when drawing a "circle"
   1418   with a small number of segments (e.g. an hexagon). (#2287) [@baktery]
   1419 - ImGuiTextBuffer: Added append() function (unformatted).
   1420 - ImFontAtlas: Added 0x2000-0x206F general punctuation range to default ChineseFull/ChineseSimplifiedCommon ranges. (#2093)
   1421 - ImFontAtlas: FreeType: Added support for imgui allocators + custom FreeType only SetAllocatorFunctions. (#2285) [@Vuhdo]
   1422 - ImFontAtlas: FreeType: Fixed using imgui_freetype.cpp in unity builds. (#2302)
   1423 - Demo: Fixed "Log" demo not initializing properly, leading to the first line not showing before a Clear. (#2318) [@bluescan]
   1424 - Demo: Added "Auto-scroll" option in Log/Console demos. (#2300) [@nicolasnoble, @ocornut]
   1425 - Examples: Metal, OpenGL2, OpenGL3, Vulkan: Fixed offsetting of clipping rectangle with ImDrawData::DisplayPos != (0,0)
   1426   when the display frame-buffer scale scale is not (1,1). While this doesn't make a difference when using master branch,
   1427   this is effectively fixing support for multi-viewport with Mac Retina Displays on those examples. (#2306) [@rasky, @ocornut]
   1428   Also using ImDrawData::FramebufferScale instead of io.DisplayFramebufferScale.
   1429 - Examples: Clarified the use the ImDrawData::DisplayPos to offset clipping rectangles.
   1430 - Examples: Win32: Using GetForegroundWindow()+IsChild() instead of GetActiveWindow() to be compatible with windows created
   1431   in a different thread or parent. (#1951, #2087, #2156, #2232) [many people]
   1432 - Examples: SDL: Using the SDL_WINDOW_ALLOW_HIGHDPI flag. (#2306, #1676) [@rasky]
   1433 - Examples: Win32: Added support for XInput gamepads (if ImGuiConfigFlags_NavEnableGamepad is enabled).
   1434 - Examples: Win32: Added support for mouse buttons 4 and 5 via WM_XBUTTON* messages. (#2264)
   1435 - Examples: DirectX9: Explicitly disable fog (D3DRS_FOGENABLE) before drawing in case user state has it set. (#2288, #2230)
   1436 - Examples: OpenGL2: Added #define GL_SILENCE_DEPRECATION to cope with newer XCode warnings.
   1437 - Examples: OpenGL3: Using GLSL 4.10 shaders for any GLSL version over 410 (e.g. 430, 450). (#2329) [@BrutPitt]
   1438 
   1439 
   1440 -----------------------------------------------------------------------
   1441  VERSION 1.67 (Released 2019-01-14)
   1442 -----------------------------------------------------------------------
   1443 
   1444 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.67
   1445 
   1446 Breaking Changes:
   1447 
   1448 - Made it illegal to call Begin("") with an empty string. This somehow half-worked before but had various undesirable
   1449   side-effect because the window would have ID zero. In particular it is causing problems in viewport/docking branches.
   1450 - Renamed io.ConfigResizeWindowsFromEdges to io.ConfigWindowsResizeFromEdges and removed its [Beta] mark.
   1451   The addition of new configuration options in the Docking branch is pushing for a little reorganization of those names.
   1452 - Renamed ImFontAtlas::GlyphRangesBuilder to ImFontGlyphRangesBuilder. Kept redirection typedef (will obsolete).
   1453 
   1454 Other Changes:
   1455 - Added BETA api for Tab Bar/Tabs widgets: (#261, #351)
   1456   - Added BeginTabBar(), EndTabBar(), BeginTabItem(), EndTabItem(), SetTabItemClosed() API.
   1457   - Added ImGuiTabBarFlags flags for BeginTabBar().
   1458   - Added ImGuiTabItemFlags flags for BeginTabItem().
   1459   - Style: Added ImGuiCol_Tab, ImGuiCol_TabHovered, ImGuiCol_TabActive, ImGuiCol_TabUnfocused, ImGuiCol_TabUnfocusedActive colors.
   1460   - Demo: Added Layout->Tabs demo code.
   1461   - Demo: Added "Documents" example app showcasing possible use for tabs.
   1462   This feature was merged from the Docking branch in order to allow the use of regular tabs in your code.
   1463   (It does not provide the docking/splitting/merging of windows available in the Docking branch)
   1464 - Added ImGuiWindowFlags_UnsavedDocument window flag to append '*' to title without altering the ID, as a convenience
   1465   to avoid using the ### operator. In the Docking branch this also has an effect on tab closing behavior.
   1466 - Window, Focus, Popup: Fixed an issue where closing a popup by clicking another window with the _NoMove flag would refocus
   1467   the parent window of the popup instead of the newly clicked window.
   1468 - Window: Contents size is preserved while a window collapsed. Fix auto-resizing window losing their size for one frame when uncollapsed.
   1469 - Window: Contents size is preserved while a window contents is hidden (unless it is hidden for resizing purpose).
   1470 - Window: Resizing windows from edge is now enabled by default (io.ConfigWindowsResizeFromEdges=true). Note that
   1471   it only works _if_ the backend sets ImGuiBackendFlags_HasMouseCursors, which the standard backends do.
   1472 - Window: Added io.ConfigWindowsMoveFromTitleBarOnly option. This is ignored by window with no title bars (often popups).
   1473   This affects clamping window within the visible area: with this option enabled title bars need to be visible. (#899)
   1474 - Window: Fixed using SetNextWindowPos() on a child window (which wasn't really documented) position the cursor as expected
   1475   in the parent window, so there is no mismatch between the layout in parent and the position of the child window.
   1476 - InputFloat: When using ImGuiInputTextFlags_ReadOnly the step buttons are disabled. (#2257)
   1477 - DragFloat: Fixed broken mouse direction change with power!=1.0. (#2174, #2206) [@Joshhua5]
   1478 - Nav: Fixed an keyboard issue where holding Activate/Space for longer than two frames on a button would unnecessary
   1479   keep the focus on the parent window, which could steal it from newly appearing windows. (#787)
   1480 - Nav: Fixed animated window titles from being updated when displayed in the CTRL+Tab list. (#787)
   1481 - Error recovery: Extraneous/undesired calls to End() are now being caught by an assert in the End() function closer
   1482   to the user call site (instead of being reported in EndFrame). Past the assert, they don't lead to crashes any more. (#1651)
   1483   Missing calls to End(), past the assert, should not lead to crashes or to the fallback Debug window appearing on screen.
   1484   Those changes makes it easier to integrate dear imgui with a scripting language allowing, given asserts are redirected
   1485   into e.g. an error log and stopping the script execution.
   1486 - ImFontAtlas: Stb and FreeType: Atlas width is now properly based on total surface rather than glyph count (unless overridden with TexDesiredWidth).
   1487 - ImFontAtlas: Stb and FreeType: Fixed atlas builder so missing glyphs won't influence the atlas texture width. (#2233)
   1488 - ImFontAtlas: Stb and FreeType: Fixed atlas builder so duplicate glyphs (when merging fonts) won't be included in the rasterized atlas.
   1489 - ImFontAtlas: FreeType: Fixed abnormally high atlas height.
   1490 - ImFontAtlas: FreeType: Fixed support for any values of TexGlyphPadding (not just only 1).
   1491 - ImDrawList: Optimized some of the functions for performance of debug builds where non-inline function call cost are non-negligible.
   1492   (Our test UI scene on VS2015 Debug Win64 with /RTC1 went ~5.9 ms -> ~4.9 ms. In Release same scene stays at ~0.3 ms.)
   1493 - IO: Added BackendPlatformUserData, BackendRendererUserData, BackendLanguageUserData void* for storage use by backends.
   1494 - IO: Renamed InputCharacters[], marked internal as was always intended. Please don't access directly, and use AddInputCharacter() instead!
   1495 - IO: AddInputCharacter() goes into a queue which can receive as many characters as needed during the frame. This is useful
   1496   for automation to not have an upper limit on typing speed. Will later transition key/mouse to use the event queue later.
   1497 - Style: Tweaked default value of style.DisplayWindowPadding from (20,20) to (19,19) so the default style as a value
   1498   which is the same as the title bar height.
   1499 - Demo: "Simple Layout" and "Style Editor" are now using tabs.
   1500 - Demo: Added a few more things under "Child windows" (changing ImGuiCol_ChildBg, positioning child, using IsItemHovered after a child).
   1501 - Examples: DirectX10/11/12: Made imgui_impl_dx10/dx11/dx12.cpp link d3dcompiler.lib from the .cpp file to ease integration.
   1502 - Examples: Allegro 5: Properly destroy globals on shutdown to allow for restart. (#2262) [@DomRe]
   1503 
   1504 
   1505 -----------------------------------------------------------------------
   1506  VERSION 1.66b (Released 2018-12-01)
   1507 -----------------------------------------------------------------------
   1508 
   1509 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.66b
   1510 
   1511 Other Changes:
   1512 
   1513 - Fixed a text rendering/clipping bug introduced in 1.66 (on 2018-10-12, commit ede3a3b9) that affect single ImDrawList::AddText()
   1514   calls with single strings larger than 10k. Text/TextUnformatted() calls were not affected, but e.g. InputText() was. [@pdoane]
   1515 - When the focused window become inactive don't restore focus to a window with the ImGuiWindowFlags_NoInputs flag. (#2213) [@zzzyap]
   1516 - Separator: Fixed Separator() outputting an extraneous empty line when captured into clipboard/text/file.
   1517 - Demo: Added ShowAboutWindow() call, previously was only accessible from the demo window.
   1518 - Demo: ShowAboutWindow() now display various Build/Config Information (compiler, os, etc.) that can easily be copied into bug reports.
   1519 - Fixed build issue with osxcross and macOS. (#2218) [@dos1]
   1520 - Examples: Setting up 'io.BackendPlatformName'/'io.BackendRendererName' fields to the current backend can be displayed in the About window.
   1521 - Examples: SDL: changed the signature of ImGui_ImplSDL2_ProcessEvent() to use a const SDL_Event*. (#2187)
   1522 
   1523 
   1524 -----------------------------------------------------------------------
   1525  VERSION 1.66 (Released 2018-11-22)
   1526 -----------------------------------------------------------------------
   1527 
   1528 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.66
   1529 
   1530 Breaking Changes:
   1531 
   1532 - Renamed SetScrollHere() to SetScrollHereY(). Kept redirection function (will obsolete).
   1533 - Renamed misc/stl/imgui_stl.* to misc/cpp/imgui_stdlib.* in prevision for other C++ helper files. (#2035, #2096)
   1534 
   1535 Other Changes:
   1536 
   1537 - Fixed calling SetNextWindowSize()/SetWindowSize() with non-integer values leading to
   1538   accidental alteration of window position. We now round the provided size. (#2067)
   1539 - Fixed calling DestroyContext() always saving .ini data with the current context instead
   1540   of the supplied context pointer. (#2066)
   1541 - Nav, Focus: Fixed ImGuiWindowFlags_NoBringToFrontOnFocus windows not being restoring focus
   1542   properly after the main menu bar or last focused window is deactivated.
   1543 - Nav: Fixed an assert in certain circumstance (mostly when using popups) when mouse positions stop being valid. (#2168)
   1544 - Nav: Fixed explicit directional input not re-highlighting current nav item if there is a single item in the window
   1545   and highlight has been previously disabled by the mouse. (#787)
   1546 - DragFloat: Fixed a situation where dragging with value rounding enabled or with a power curve
   1547   erroneously wrapped the value to one of the min/max edge. (#2024, #708, #320, #2075).
   1548 - DragFloat: Disabled using power curve when one edge is FLT_MAX (broken in 1.61). (#2024)
   1549 - DragFloat: Disabled setting a default drag speed when one edge is FLT_MAX. (#2024)
   1550 - SliderAngle: Added optional format argument to alter precision or localize the string. (#2150) [@podsvirov]
   1551 - Window: Resizing from edges (with io.ConfigResizeWindowsFromEdges Beta flag) extends the hit region
   1552   of root floating windows outside the window, making it easier to resize windows. Resize grips are also
   1553   extended accordingly so there are no discontinuity when hovering between borders and corners. (#1495, #822)
   1554 - Window: Added ImGuiWindowFlags_NoBackground flag to avoid rendering window background. This is mostly to allow
   1555   the creation of new flag combinations, as we could already use SetNextWindowBgAlpha(0.0f). (#1660) [@biojppm, @ocornut]
   1556 - Window: Added ImGuiWindowFlags_NoDecoration helper flag which is essentially NoTitleBar+NoResize+NoScrollbar+NoCollapse.
   1557 - Window: Added ImGuiWindowFlags_NoMouseInputs which is basically the old ImGuiWindowFlags_NoInputs (essentially
   1558   we have renamed ImGuiWindowFlags_NoInputs to ImGuiWindowFlags_NoMouseInputs). Made the new ImGuiWindowFlags_NoInputs
   1559   encompass both NoMouseInputs+NoNav, which is consistent with its description. (#1660, #787)
   1560 - Window, Inputs: Fixed resizing from edges when io.MousePos is not pixel-rounded by rounding mouse position input. (#2110)
   1561 - BeginChild(): Fixed BeginChild(const char*, ...) variation erroneously not applying the ID stack
   1562   to the provided string to uniquely identify the child window. This was undoing an intentional change
   1563   introduced in 1.50 and broken in 1.60. (#1698, #894, #713).
   1564 - TextUnformatted(): Fixed a case where large-text path would read bytes past the text_end marker depending
   1565   on the position of new lines in the buffer (it wasn't affecting the output but still not the right thing to do!)
   1566 - ListBox(): Fixed frame sizing when items_count==1 unnecessarily showing a scrollbar. (#2173) [@luk1337, @ocornut]
   1567 - ListBox(): Tweaked frame sizing so list boxes will look more consistent when FramePadding is far from ItemSpacing.
   1568 - RenderText(): Some optimization for very large text buffers, useful for non-optimized builds.
   1569 - BeginMenu(): Fixed menu popup horizontal offset being off the item in the menu bar when WindowPadding=0.0f.
   1570 - ArrowButton(): Fixed arrow shape being horizontally misaligned by (FramePadding.y-FramePadding.x) if they are different.
   1571 - Demo: Split the contents of ShowDemoWindow() into smaller functions as it appears to speed up link time with VS. (#2152)
   1572 - Drag and Drop: Added GetDragDropPayload() to peek directly into the payload (if any) from anywhere. (#143)
   1573 - ImGuiTextBuffer: Avoid heap allocation when empty.
   1574 - ImDrawList: Fixed AddConvexPolyFilled() undefined behavior when passing points_count smaller than 3,
   1575   in particular, points_count==0 could lead to a memory stomp if the draw list was previously empty.
   1576 - Examples: DirectX10, DirectX11: Removed seemingly unnecessary calls to invalidate and recreate device objects
   1577   in the WM_SIZE handler. (#2088) [@ice1000]
   1578 - Examples: GLFW: User previously installed GLFW callbacks are now saved and chain-called by the default callbacks. (#1759)
   1579 - Examples: OpenGL3: Added support for GL 4.5's glClipControl(GL_UPPER_LEFT). (#2186)
   1580 - Examples: OpenGL3+GLFW: Fixed error condition when using the GLAD loader. (#2157) [@blackball]
   1581 - Examples: OpenGL3+GLFW/SDL: Made main.cpp compile with IMGUI_IMPL_OPENGL_LOADER_CUSTOM (may be missing init). (#2178) [@doug-moen]
   1582 - Examples: SDL2+Vulkan: Fixed application shutdown which could deadlock on Linux + Xorg. (#2181) [@eRabbit0]
   1583 
   1584 
   1585 -----------------------------------------------------------------------
   1586  VERSION 1.65 (Released 2018-09-06)
   1587 -----------------------------------------------------------------------
   1588 
   1589 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.65
   1590 
   1591 Breaking Changes:
   1592 
   1593 - Renamed stb_truetype.h to imstb_truetype.h, stb_textedit.h to imstb_textedit.h, and
   1594   stb_rect_pack.h to imstb_rectpack.h. If you were conveniently using the imgui copy of those
   1595   STB headers in your project, you will have to update your include paths. (#1718, #2036)
   1596   The reason for this change is to avoid conflicts for projects that may also be importing
   1597   their own copy of the STB libraries. Note that imgui's copy of stb_textedit.h is modified.
   1598 - Renamed io.ConfigCursorBlink to io.ConfigInputTextCursorBlink. (#1427)
   1599 
   1600 Other Changes:
   1601 
   1602 - This is a minor release following the 1.64 refactor, with a little more shuffling of code.
   1603 - Clarified and improved the source code sectioning in all files (easier to search or browse sections).
   1604 - Nav: Removed the [Beta] tag from various descriptions of the gamepad/keyboard navigation system.
   1605   Although it is not perfect and will keep being improved, it is fairly functional and used by many. (#787)
   1606 - Fixed a build issue with non-Cygwin GCC under Windows.
   1607 - Demo: Added a "Configuration" block to make io.ConfigFlags/io.BackendFlags more prominent.
   1608 - Examples: OpenGL3+SDL2: Fixed error condition when using the GLAD loader. (#2059, #2002) [@jiri]
   1609 
   1610 
   1611 -----------------------------------------------------------------------
   1612  VERSION 1.64 (Released 2018-08-31)
   1613 -----------------------------------------------------------------------
   1614 
   1615 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.64
   1616 
   1617 Changes:
   1618 
   1619 - Moved README, CHANGELOG and TODO files to the docs/ folder.
   1620   If you are updating dear imgui by copying files, take the chance to delete the old files.
   1621 - Added imgui_widgets.cpp file, extracted and moved widgets code out of imgui.cpp into imgui_widgets.cpp.
   1622   Re-ordered some of the code remaining in imgui.cpp.
   1623   NONE OF THE FUNCTIONS HAVE CHANGED. THE CODE IS SEMANTICALLY 100% IDENTICAL, BUT _EVERY_ FUNCTIONS HAS BEEN MOVED.
   1624   Because of this, any local modifications to imgui.cpp will likely conflict when you update.
   1625   If you have any modifications to imgui.cpp, it is suggested that you first update to 1.63, then
   1626   isolate your patches. You can peak at imgui_widgets.cpp from 1.64 to get a sense of what is included in it,
   1627   then separate your changes into several patches that can more easily be applied to 1.64 on a per-file basis.
   1628   What I found worked nicely for me, was to open the diff of the old patches in an interactive merge/diff tool,
   1629   search for the corresponding function in the new code and apply the chunks manually.
   1630 - As a reminder, if you have any change to imgui.cpp it is a good habit to discuss them on the github,
   1631   so a solution applicable on the Master branch can be found. If your company has changes that you cannot
   1632   disclose you may also contact me privately.
   1633 
   1634 
   1635 -----------------------------------------------------------------------
   1636  VERSION 1.63 (Released 2018-08-29)
   1637 -----------------------------------------------------------------------
   1638 
   1639 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.63
   1640 
   1641 Breaking Changes:
   1642 
   1643 - Style: Renamed ImGuiCol_ModalWindowDarkening to ImGuiCol_ModalWindowDimBg for consistency with other features.
   1644   Kept redirection enum (will obsolete).
   1645 - Changed ImGui::GetTime() return value from float to double to avoid accumulating floating point imprecision over time.
   1646 - Removed per-window ImGuiWindowFlags_ResizeFromAnySide Beta flag in favor `io.ConfigResizeWindowsFromEdges=true` to
   1647   enable the feature globally. (#1495)
   1648   The feature is not currently enabled by default because it is not satisfying enough, but will eventually be.
   1649 - InputText: Renamed ImGuiTextEditCallback to ImGuiInputTextCallback, ImGuiTextEditCallbackData to ImGuiInputTextCallbackData
   1650   for consistency. Kept redirection types (will obsolete).
   1651 - InputText: Removed ImGuiTextEditCallbackData::ReadOnly because it is a duplication of (::Flags & ImGuiInputTextFlags_ReadOnly).
   1652 - Renamed IsItemDeactivatedAfterChange() to IsItemDeactivatedAfterEdit() for consistency with new IsItemEdited() API.
   1653   Kept redirection function (will obsolete soonish as IsItemDeactivatedAfterChange() is very recent).
   1654 - Renamed io.OptCursorBlink to io.ConfigCursorBlink [-> io.ConfigInputTextCursorBlink in 1.65], io.OptMacOSXBehaviors to
   1655   io.ConfigMacOSXBehaviors for consistency. (#1427, #473)
   1656 - Removed obsolete redirection functions: CollapsingHeader() variation with 2 bools - marked obsolete in v1.49, May 2016.
   1657 
   1658 Other Changes:
   1659 
   1660 - ArrowButton: Fixed to honor PushButtonRepeat() setting (and internals' ImGuiItemFlags_ButtonRepeat).
   1661 - ArrowButton: Setup current line text baseline so that ArrowButton() + SameLine() + Text() are aligned properly.
   1662 - Nav: Added a CTRL+TAB window list and changed the highlight system accordingly. The change is motivated by upcoming
   1663   Docking features. (#787)
   1664 - Nav: Made CTRL+TAB skip menus + skip the current navigation window if is has the ImGuiWindow_NoNavFocus set. (#787)
   1665   While it was previously possible, you won't be able to CTRL-TAB out and immediately back in a window with the
   1666   ImGuiWindow_NoNavFocus flag.
   1667 - Window: Allow menu and popups windows from ignoring the style.WindowMinSize values so short menus/popups are not padded. (#1909)
   1668 - Window: Added global io.ConfigResizeWindowsFromEdges option to enable resizing windows from their edges and from
   1669   the lower-left corner. (#1495)
   1670 - Window: Collapse button shows hovering highlight + clicking and dragging on it allows to drag the window as well.
   1671 - Added IsItemEdited() to query if the last item modified its value (or was pressed). This is equivalent to the bool
   1672   returned by most widgets.
   1673   It is useful in some situation e.g. using InputText() with ImGuiInputTextFlags_EnterReturnsTrue. (#2034)
   1674 - InputText: Added support for buffer size/capacity changes via the ImGuiInputTextFlags_CallbackResize flag. (#2006, #1443, #1008).
   1675 - InputText: Fixed not tracking the cursor horizontally when modifying the text buffer through a callback.
   1676 - InputText: Fixed minor off-by-one issue when submitting a buffer size smaller than the initial zero-terminated buffer contents.
   1677 - InputText: Fixed a few pathological crash cases on single-line InputText widget with multiple millions characters worth of contents.
   1678   Because the current text drawing function reserve for a worst-case amount of vertices and how we handle horizontal clipping,
   1679   we currently just avoid displaying those single-line widgets when they are over a threshold of 2 millions characters,
   1680   until a better solution is found.
   1681 - Drag and Drop: Fixed an incorrect assert when dropping a source that is submitted after the target (bug introduced with 1.62 changes
   1682   related to the addition of IsItemDeactivated()). (#1875, #143)
   1683 - Drag and Drop: Fixed ImGuiDragDropFlags_SourceNoDisableHover to affect hovering state prior to calling IsItemHovered() + fixed description. (#143)
   1684 - Drag and Drop: Calling BeginTooltip() between a BeginDragSource()/EndDragSource() or BeginDropTarget()/EndDropTarget() uses adjusted tooltip
   1685   settings matching the one created when calling BeginDragSource() without the ImGuiDragDropFlags_SourceNoPreviewTooltip flag. (#143)
   1686 - Drag and Drop: Payload stays available and under the mouse if the source stops being submitted, however the tooltip is replaced by "...". (#1725)
   1687 - Drag and Drop: Added ImGuiDragDropFlags_SourceAutoExpirePayload flag to force payload to expire if the source stops being submitted. (#1725, #143).
   1688 - IsItemHovered(): Added ImGuiHoveredFlags_AllowWhenDisabled flag to query hovered status on disabled items. (#1940, #211)
   1689 - Selectable: Added ImGuiSelectableFlags_Disabled flag in the public API. (#211)
   1690 - ColorEdit4: Fixed a bug when text input or drag and drop leading to unsaturated HSV values would erroneously alter the resulting color. (#2050)
   1691 - Misc: Added optional misc/stl/imgui_stl.h wrapper to use with STL types (e.g. InputText with std::string). (#2006, #1443, #1008)
   1692   [*EDIT* renamed to misc/std/imgui_stdlib.h in 1.66]
   1693 - Misc: Added IMGUI_VERSION_NUM for easy compile-time testing. (#2025)
   1694 - Misc: Added ImGuiMouseCursor_Hand cursor enum + corresponding software cursor. (#1913, 1914) [@aiekick, @ocornut]
   1695 - Misc: Tweaked software mouse cursor offset to match the offset of the corresponding Windows 10 cursors.
   1696 - Made assertion more clear when trying to call Begin() outside of the NewFrame()..EndFrame() scope. (#1987)
   1697 - Fixed assertion when transitioning from an active ID to another within a group, affecting ColorPicker (broken in 1.62). (#2023, #820, #956, #1875).
   1698 - 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).
   1699 - Fixed horizontal mouse wheel not forwarding the request to the parent window if ImGuiWindowFlags_NoScrollWithMouse is set. (#1463, #1380, #1502)
   1700 - Fixed a include build issue for Cygwin in non-POSIX (Win32) mode. (#1917, #1319, #276)
   1701 - ImDrawList: Improved handling for worst-case vertices reservation policy when large amount of text (e.g. 1+ million character strings)
   1702   are being submitted in a single call. It would typically have crashed InputTextMultiline(). (#200)
   1703 - OS/Windows: Fixed missing ImmReleaseContext() call in the default Win32 IME handler. (#1932) [@vby]
   1704 - Metrics: Changed io.MetricsActiveWindows to reflect the number of active windows (!= from visible windows), which is useful
   1705   for lazy/idle render mechanisms as new windows are typically not visible for one frame.
   1706 - Metrics: Added io.MetricsRenderWindow to reflect the number of visible windows.
   1707 - Metrics: Added io.MetricsActiveAllocations, moving away from the cross-context global counters than we previously used. (#1565, #1599, #586)
   1708 - Demo: Added basic Drag and Drop demo. (#143)
   1709 - Demo: Modified the Console example to use InsertChars() in the input text callback instead of poking directly into the buffer.
   1710   Although this won't make a difference in the example itself, using InsertChars() will honor the resizing callback properly. (#2006, #1443, #1008).
   1711 - Demo: Clarified the use of IsItemHovered()/IsItemActive() right after being in the "Active, Focused, Hovered & Focused Tests" section.
   1712 - Examples: Tweaked the main.cpp of each example.
   1713 - Examples: Metal: Added Metal rendering backend. (#1929, #1873) [@warrenm]
   1714 - Examples: OSX: Added early raw OSX platform backend. (#1873) [@pagghiu, @itamago, @ocornut]
   1715 - Examples: Added mac OSX & iOS + Metal example in example_apple_metal/. (#1929, #1873) [@warrenm]
   1716 - Examples: Added mac OSX + OpenGL2 example in example_apple_opengl2/. (#1873)
   1717 - Examples: OpenGL3: Added shaders more versions of GLSL. (#1938, #1941, #1900, #1513, #1466, etc.)
   1718 - Examples: OpenGL3: Tweaked the imgui_impl_opengl3.cpp to work as-is with Emscripten + WebGL 2.0. (#1941). [@o-micron]
   1719 - Examples: OpenGL3: Made the example app default to GL 3.0 + GLSL 130 (instead of GL 3.2 + GLSL 150) unless on Mac.
   1720 - Examples: OpenGL3: Added error output when shaders fail to compile/link.
   1721 - Examples: OpenGL3: Added support for glew and glad OpenGL loaders out of the box. (#2001, #2002) [@jdumas]
   1722 - Examples: OpenGL2: Disabling/restoring GL_LIGHTING and GL_COLOR_MATERIAL to increase compatibility with legacy OpenGL applications. (#1996)
   1723 - Examples: DirectX10, DirectX11: Fixed unreleased resources in Init and Shutdown functions. (#1944)
   1724 - Examples: DirectX11: Querying for IDXGIFactory instead of IDXGIFactory1 to increase compatibility. (#1989) [@matt77hias]
   1725 - Examples: Vulkan: Fixed handling of VkSurfaceCapabilitiesKHR::maxImageCount = 0 case. Tweaked present mode selections.
   1726 - Examples: Win32, Glfw, SDL: Added support for the ImGuiMouseCursor_Hand cursor.
   1727 
   1728 
   1729 -----------------------------------------------------------------------
   1730  VERSION 1.62 (Released 2018-06-22)
   1731 -----------------------------------------------------------------------
   1732 
   1733 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.62
   1734 
   1735 Breaking Changes:
   1736 
   1737 - TreeNodeEx(): The helper ImGuiTreeNodeFlags_CollapsingHeader flag now include ImGuiTreeNodeFlags_NoTreePushOnOpen.
   1738   The flag was already set by CollapsingHeader().
   1739   The only difference is if you were using TreeNodeEx() manually with ImGuiTreeNodeFlags_CollapsingHeader and without
   1740   ImGuiTreeNodeFlags_NoTreePushOnOpen. In this case you can remove the ImGuiTreeNodeFlags_NoTreePushOnOpen flag from
   1741   your call (ImGuiTreeNodeFlags_CollapsingHeader & ~ImGuiTreeNodeFlags_NoTreePushOnOpen). (#1864)
   1742   This also apply if you were using internal's TreeNodeBehavior() with the ImGuiTreeNodeFlags_CollapsingHeader flag directly.
   1743 - ImFontAtlas: Renamed GetGlyphRangesChinese() to GetGlyphRangesChineseFull() to distinguish new smaller variants and
   1744   discourage using the full set. (#1859)
   1745 
   1746 Other Changes:
   1747 
   1748 - Examples backends have been refactored to separate the platform code (e.g. Win32, Glfw, SDL2) from the renderer code (e.g. DirectX11, OpenGL3, Vulkan).
   1749   The "Platform" backends are in charge of: mouse/keyboard/gamepad inputs, cursor shape, timing, etc.
   1750   The "Renderer" backends are in charge of: creating the main font texture, rendering imgui draw data.
   1751       before: imgui_impl_dx11.cpp        --> after: imgui_impl_win32.cpp + imgui_impl_dx11.cpp
   1752       before: imgui_impl_dx12.cpp        --> after: imgui_impl_win32.cpp + imgui_impl_dx12.cpp
   1753       before: imgui_impl_glfw_gl3.cpp    --> after: imgui_impl_glfw.cpp + imgui_impl_opengl2.cpp
   1754       before: imgui_impl_glfw_vulkan.cpp --> after: imgui_impl_glfw.cpp + imgui_impl_vulkan.cpp
   1755       before: imgui_impl_sdl_gl3.cpp     --> after: imgui_impl_sdl2.cpp + imgui_impl_opengl2.cpp
   1756       before: imgui_impl_sdl_gl3.cpp     --> after: imgui_impl_sdl2.cpp + imgui_impl_opengl3.cpp etc.
   1757   - The idea is what we can now easily combine and maintain backends and reduce code redundancy. Individual files are
   1758     smaller and more reusable. Integration of imgui into a new/custom engine may also be easier as there is less overlap
   1759     between "windowing / inputs" and "rendering" code, so you may study or grab one half of the code and not the other.
   1760   - This change was motivated by the fact that adding support for the upcoming multi-viewport feature requires more work
   1761     from the Platform and Renderer backends, and the amount of redundancy across files was becoming too difficult to
   1762     maintain. If you use default backends, you'll benefit from an easy update path to support multi-viewports later
   1763     (for future ImGui 1.7x).
   1764   - This is not strictly a breaking change if you keep your old backends, but when you'll want to fully update your backends,
   1765     expect to have to reshuffle a few things.
   1766   - Each example still has its own main.cpp which you may refer you to understand how to initialize and glue everything together.
   1767   - Some frameworks (such as the Allegro, Marmalade) handle both the "platform" and "rendering" part, and your custom engine may as well.
   1768   - Read examples/README.txt for details.
   1769 - Added IsItemDeactivated() to query if the last item was active previously and isn't anymore. Useful for Undo/Redo patterns. (#820, #956, #1875)
   1770 - Added IsItemDeactivatedAfterChange() [*EDIT* renamed to IsItemDeactivatedAfterEdit() in 1.63] if the last item was active previously,
   1771   is not anymore, and during its active state modified a value. Note that you may still get false positive (e.g. drag value and while
   1772   holding return on the same value). (#820, #956, #1875)
   1773 - Nav: Added support for PageUp/PageDown (explorer-style: first aim at bottom/top most item, when scroll a page worth of contents). (#787)
   1774 - Nav: To keep the navigated item in view we also attempt to scroll the parent window as well as the current window. (#787)
   1775 - ColorEdit3, ColorEdit4, ColorButton: Added ImGuiColorEditFlags_NoDragDrop flag to disable ColorEditX as drag target and ColorButton as drag source. (#1826)
   1776 - BeginDragDropSource(): Offset tooltip position so it is off the mouse cursor, but also closer to it than regular tooltips,
   1777   and not clamped by viewport. (#1739)
   1778 - BeginDragDropTarget(): Added ImGuiDragDropFlags_AcceptNoPreviewTooltip flag to request hiding the drag source tooltip
   1779   from the target site. (#143)
   1780 - BeginCombo(), BeginMainMenuBar(), BeginChildFrame(): Temporary style modification are restored at the end of BeginXXX
   1781   instead of EndXXX, to not affect tooltips and child windows.
   1782 - Popup: Improved handling of (erroneously) repeating calls to OpenPopup() to not close the popup's child popups. (#1497, #1533, #1865).
   1783 - InputTextMultiline(): Fixed double navigation highlight when scrollbar is active. (#787)
   1784 - InputText(): Fixed Undo corruption after pasting large amount of text (Redo will still fail when undo buffers are exhausted,
   1785   but text won't be corrupted).
   1786 - SliderFloat(): When using keyboard/gamepad and a zero precision format string (e.g. "%.0f"), always step in integer units. (#1866)
   1787 - ImFontConfig: Added GlyphMinAdvanceX/GlyphMaxAdvanceX settings useful to make a font appears monospaced, particularly useful
   1788   for icon fonts. (#1869)
   1789 - ImFontAtlas: Added GetGlyphRangesChineseSimplifiedCommon() helper that returns a list of ~2500 most common Simplified Chinese
   1790   characters. (#1859) [@JX-Master, @ocornut]
   1791 - Examples: OSX: Added imgui_impl_osx.mm backend to be used along with e.g. imgui_impl_opengl2.cpp. (#281, #1870) [@pagghiu, @itamago, @ocornut]
   1792 - Examples: GLFW: Made it possible to Shutdown/Init the backend again (by resetting the time storage properly). (#1827) [@ice1000]
   1793 - Examples: Win32: Fixed handling of mouse wheel messages to support sub-unit scrolling messages (typically sent by track-pads). (#1874) [@zx64]
   1794 - Examples: SDL+Vulkan: Added SDL+Vulkan example.
   1795 - Examples: Allegro5: Added support for ImGuiConfigFlags_NoMouseCursorChange flag. Added clipboard support.
   1796 - Examples: Allegro5: Unindexing buffers ourselves as Allegro indexed drawing primitives are buggy in the DirectX9 backend
   1797   (will be fixed in Allegro 5.2.5+).
   1798 - Examples: DirectX12: Moved the ID3D12GraphicsCommandList* parameter from ImGui_ImplDX12_NewFrame() to ImGui_ImplDX12_RenderDrawData() which makes a lots more sense. (#301)
   1799 - Examples: Vulkan: Reordered parameters ImGui_ImplVulkan_RenderDrawData() to be consistent with other backends,
   1800   a good occasion since we refactored the code.
   1801 - Examples: FreeGLUT: Added FreeGLUT backends. Added FreeGLUT+OpenGL2 example. (#801)
   1802 - Examples: The functions in imgui_impl_xxx.cpp are prefixed with IMGUI_IMPL_API (which defaults to IMGUI_API) to facilitate
   1803   some uses. (#1888)
   1804 - Examples: Fixed backends to use ImGuiMouseCursor_COUNT instead of old name ImGuiMouseCursor_Count_ so they can compile
   1805   with IMGUI_DISABLE_OBSOLETE_FUNCTIONS. (#1887)
   1806 - Misc: Updated stb_textedit from 1.09 + patches to 1.12 + minor patches.
   1807 - Internals: PushItemFlag() flags are inherited by BeginChild().
   1808 
   1809 
   1810 -----------------------------------------------------------------------
   1811  VERSION 1.61 (Released 2018-05-14)
   1812 -----------------------------------------------------------------------
   1813 
   1814 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.61
   1815 
   1816 Breaking Changes:
   1817 
   1818 - DragInt(): The default compile-time format string has been changed from "%.0f" to "%d", as we are not using integers internally
   1819   any more. If you used DragInt() with custom format strings, make sure you change them to use %d or an integer-compatible format.
   1820   To honor backward-compatibility, the DragInt() code will currently parse and modify format strings to replace %*f with %d,
   1821   giving time to users to upgrade their code.
   1822   If you have IMGUI_DISABLE_OBSOLETE_FUNCTIONS enabled, the code will instead assert! You may run a reg-exp search on your
   1823   codebase for e.g. "DragInt.*%f" to you find them.
   1824 - InputFloat(): Obsoleted InputFloat() functions taking an optional "int decimal_precision" in favor of an equivalent and more
   1825   flexible "const char* format", consistent with other functions. Kept redirection functions (will obsolete).
   1826 - Misc: IM_DELETE() helper function added in 1.60 doesn't set the input pointer to NULL, more consistent with standard
   1827   expectation and allows passing r-values.
   1828 
   1829 Other Changes:
   1830 
   1831 - Added DragScalar, DragScalarN: supports signed/unsigned, 32/64 bits, float/double data types. (#643, #320, #708, #1011)
   1832 - Added InputScalar, InputScalarN: supports signed/unsigned, 32/64 bits, float/double data types. (#643, #320, #708, #1011)
   1833 - Added SliderScalar, SliderScalarN: supports signed/unsigned, 32/64 bits, float/double data types. (#643, #320, #708, #1011)
   1834 - Window: Fixed pop-ups/tooltips/menus not honoring style.DisplaySafeAreaPadding as well as it should have (part of menus
   1835   displayed outside the safe area, etc.).
   1836 - Window: Fixed windows using the ImGuiWindowFlags_NoSavedSettings flag from not using the same default position as other windows. (#1760)
   1837 - Window: Relaxed the internal stack size checker to allow Push/Begin/Pop/.../End patterns to be used with PushStyleColor, PushStyleVar, PushFont without causing a false positive assert. (#1767)
   1838 - Window: Fixed the default proportional item width lagging by one frame on resize.
   1839 - Columns: Fixed a bug introduced in 1.51 where columns would affect the contents size of their container, often creating
   1840   feedback loops when ImGuiWindowFlags_AlwaysAutoResize was used. (#1760)
   1841 - Settings: Fixed saving an empty .ini file if CreateContext/DestroyContext are called without a single call to NewFrame(). (#1741)
   1842 - Settings: Added LoadIniSettingsFromDisk(), LoadIniSettingsFromMemory(), SaveIniSettingsToDisk(), SaveIniSettingsToMemory()
   1843   to manually load/save .ini settings. (#923, #993)
   1844 - Settings: Added io.WantSaveIniSettings flag, which is set to notify the application that e.g. SaveIniSettingsToMemory()
   1845   should be called. (#923, #993)
   1846 - Scrolling: Fixed a case where using SetScrollHere(1.0f) at the bottom of a window on the same frame the window height
   1847   has been growing would have the scroll clamped using the previous height. (#1804)
   1848 - MenuBar: Made BeginMainMenuBar() honor style.DisplaySafeAreaPadding so the text can be made visible on TV settings that
   1849   don't display all pixels. (#1439) [@dougbinks]
   1850 - InputText: On Mac OS X, filter out characters when the CMD modifier is held. (#1747) [@sivu]
   1851 - InputText: On Mac OS X, support CMD+SHIFT+Z for Redo. CMD+Y is also supported as major apps seems to default to support both. (#1765) [@lfnoise]
   1852 - InputText: Fixed returning true when edition is cancelled with ESC and the current buffer matches the initial value.
   1853 - InputFloat,InputFloat2,InputFloat3,InputFloat4: Added variations taking a more flexible and consistent optional
   1854   "const char* format" parameter instead of "int decimal_precision". This allow using custom formats to display values
   1855   in scientific notation, and is generally more consistent with other API.
   1856   Obsoleted functions using the optional "int decimal_precision" parameter. (#648, #712)
   1857 - DragFloat, DragInt: Cancel mouse tweak when current value is initially past the min/max boundaries and mouse is pushing
   1858   in the same direction (keyboard/gamepad version already did this).
   1859 - DragFloat, DragInt: Honor natural type limits (e.g. INT_MAX, FLT_MAX) instead of wrapping around. (#708, #320)
   1860 - DragFloat, SliderFloat: Fixes to allow input of scientific notation numbers when using CTRL+Click to input the value. (~#648, #1011)
   1861 - DragFloat, SliderFloat: Rounding-on-write uses the provided format string instead of parsing the precision from the string,
   1862   which allows for finer uses of %e %g etc. (#648, #642)
   1863 - DragFloat: Improved computation when using the power curve. Improved lost of input precision with very small steps.
   1864   Added an assert than power-curve requires a min/max range. (~#642)
   1865 - DragFloat: The 'power' parameter is only honored if the min/max parameter are also setup.
   1866 - DragInt, SliderInt: Fixed handling of large integers (we previously passed data around internally as float, which reduced
   1867   the range of valid integers).
   1868 - ColorEdit: Fixed not being able to pass the ImGuiColorEditFlags_NoAlpha or ImGuiColorEditFlags_HDR flags to SetColorEditOptions().
   1869 - Nav: Fixed hovering a Selectable() with the mouse so that it update the navigation cursor (as it happened in the pre-1.60 navigation branch). (#787)
   1870 - Style: Changed default style.DisplaySafeAreaPadding values from (4,4) to (3,3) so it is smaller than FramePadding and has no effect on main menu bar on a computer. (#1439)
   1871 - Fonts: When building font atlas, glyphs that are missing in the fonts are not using the glyph slot to render the default glyph. Saves space and allow merging fonts with
   1872   overlapping font ranges such as FontAwesome5 which split out the Brands separately from the Solid fonts. (#1703, #1671)
   1873 - Misc: Added IMGUI_CHECKVERSION() macro to compare version string and data structure sizes in order to catch issues with mismatching compilation unit settings. (#1695, #1769)
   1874 - Misc: Added IMGUI_DISABLE_MATH_FUNCTIONS in imconfig.h to make it easier to redefine wrappers for std/crt math functions.
   1875 - Misc: Fix to allow compiling in unity builds where stb_rectpack/stb_truetype may be already included in the same compilation unit.
   1876 - Demo: Simple Overlay: Added a context menu item to enable freely moving the window.
   1877 - Demo: Added demo for DragScalar(), InputScalar(), SliderScalar(). (#643)
   1878 - Examples: Calling IMGUI_CHECKVERSION() in the main.cpp of every example application.
   1879 - Examples: Allegro 5: Added support for 32-bit indices setup via defining ImDrawIdx, to avoid an unnecessary conversion (Allegro 5 doesn't support 16-bit indices).
   1880 - Examples: Allegro 5: Renamed backend from imgui_impl_a5.cpp to imgui_impl_allegro5.cpp.
   1881 - Examples: DirectX 9: Saving/restoring Transform because they don't seem to be included in the StateBlock. Setting shading mode to Gouraud. (#1790, #1687) [@sr-tream]
   1882 - Examples: SDL: Fixed clipboard paste memory leak in the SDL backend code. (#1803) [@eliasdaler]
   1883 - Various minor fixes, tweaks, refactoring, comments.
   1884 
   1885 
   1886 -----------------------------------------------------------------------
   1887  VERSION 1.60 (Released 2018-04-07)
   1888 -----------------------------------------------------------------------
   1889 
   1890 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.60
   1891 
   1892 The gamepad/keyboard navigation branch (which has been in the work since July 2016) has been merged.
   1893 Gamepad/keyboard navigation is still marked as Beta and has to be enabled explicitly.
   1894 Various internal refactoring have also been done, as part of the navigation work and as part of the upcoming viewport/docking work.
   1895 
   1896 Breaking Changes:
   1897 
   1898 - Obsoleted the io.RenderDrawListsFn callback, you can call your graphics engine render function after ImGui::Render().
   1899   e.g. with example backends, call ImDrawData* draw_data = ImGui::GetDrawData(); ImGui_ImplXXXX_RenderDrawData(draw_data).
   1900 - Reorganized context handling to be more explicit: (#1599)
   1901   - YOU NOW NEED TO CALL ImGui::CreateContext() AT THE BEGINNING OF YOUR APP, AND CALL ImGui::DestroyContext() AT THE END.
   1902   - removed Shutdown() function, as DestroyContext() serve this purpose. If you are using an old backend from the examples/ folder, remove the line that calls Shutdown().
   1903   - you may pass a ImFontAtlas* pointer to CreateContext() to share a font atlas between contexts. Otherwise CreateContext() will create its own font atlas instance.
   1904   - removed allocator parameters from CreateContext(), they are now setup with SetAllocatorFunctions(), and shared by all contexts.
   1905   - removed the default global context and font atlas instance, which were confusing for users of DLL reloading and users of multiple contexts.
   1906 - Renamed ImGuiStyleVar_Count_ to ImGuiStyleVar_COUNT and ImGuiMouseCursor_Count_ to ImGuiMouseCursor_COUNT for consistency with other public enums.
   1907 - Fonts: Moved sample TTF files from extra_fonts/ to misc/fonts/. If you loaded files directly from the imgui repo you may need to update your paths.
   1908 - Fonts: Changed ImFont::DisplayOffset.y to defaults to 0 instead of +1. Fixed vertical rounding of Ascent/Descent to match TrueType renderer.
   1909   If you were adding or subtracting (not assigning) to ImFont::DisplayOffset check if your fonts are correctly aligned vertically. (#1619)
   1910 - BeginDragDropSource(): temporarily removed the optional mouse_button=0 parameter because it is not really usable in many situations at the moment.
   1911 - Obsoleted IsAnyWindowHovered() in favor of IsWindowHovered(ImGuiHoveredFlags_AnyWindow). Kept redirection function (will obsolete).
   1912 - Obsoleted IsAnyWindowFocused() in favor of IsWindowFocused(ImGuiFocusedFlags_AnyWindow). Kept redirection function (will obsolete).
   1913 - Renamed io.WantMoveMouse to io.WantSetMousePos for consistency and ease of understanding (was added in 1.52, not used by core, and honored by some backend ahead of merging the Nav branch).
   1914 - Removed ImGuiCol_CloseButton, ImGuiCol_CloseButtonActive, ImGuiCol_CloseButtonHovered style colors as the closing cross uses regular button colors now.
   1915 - Renamed ImGuiSizeConstraintCallback to ImGuiSizeCallback, ImGuiSizeConstraintCallbackData to ImGuiSizeCallbackData.
   1916 - Removed CalcItemRectClosestPoint() which was weird and not really used by anyone except demo code. If you need it should be easy to replicate on your side (you can find the code in 1.53).
   1917 - [EDITED] Window: BeginChild() with an explicit name doesn't include the hash within the internal window name. (#1698)
   1918   This change was erroneously introduced, undoing the change done for #894, #713, and not documented properly in the original
   1919   1.60 release Changelog. It was fixed on 2018-09-28 (1.66) and I wrote this paragraph the same day.
   1920 
   1921 Other Changes:
   1922 
   1923 - Doc: Added a Changelog file in the repository to ease comparing versions (it goes back to dear imgui 1.48), until now it was only on GitHub.
   1924 - Navigation: merged in the gamepad/keyboard navigation (about a million changes!). (#787, #323)
   1925   The initial focus was to support game controllers, but keyboard is becoming increasingly and decently usable.
   1926 - To use Gamepad Navigation:
   1927   - Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable.
   1928   - Backend: Set io.BackendFlags |= ImGuiBackendFlags_HasGamepad + fill the io.NavInputs[] fields before calling NewFrame(). Read imgui.cpp for more details.
   1929   - See https://github.com/ocornut/imgui/issues/1599 for recommended gamepad mapping or download PNG/PSD at http://goo.gl/9LgVZW
   1930   - See 'enum ImGuiNavInput_' in imgui.h for a description of inputs. Read imgui.cpp for more details.
   1931 - To use Keyboard Navigation:
   1932   - Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays.
   1933   - Basic controls: arrows to navigate, Alt to enter menus, Space to activate item, Enter to edit text, Escape to cancel/close, Ctrl-Tab to focus windows, etc.
   1934   - When keyboard navigation is active (io.NavActive + ImGuiConfigFlags_NavEnableKeyboard), the io.WantCaptureKeyboard flag will be set.
   1935     For more advanced uses, you may want to read from io.NavActive or io.NavVisible. Read imgui.cpp for more details.
   1936 - Navigation: SetItemDefaultFocus() sets the navigation position in addition to scrolling. (#787)
   1937 - Navigation: Added IsItemFocused(), added IsAnyItemFocused(). (#787)
   1938 - Navigation: Added window flags: ImGuiWindowFlags_NoNav (== ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus).
   1939 - Navigation: Style: Added ImGuiCol_NavHighlight, ImGuiCol_NavWindowingHighlight colors. (#787)
   1940 - Navigation: TreeNode: Added ImGuiTreeNodeFlags_NavLeftJumpsBackHere flag to allow Nav Left direction to jump back to parent tree node from any of its child. (#1079)
   1941 - Navigation: IO: Added io.ConfigFlags (input), io.NavActive (output), io.NavVisible (output). (#787)
   1942 - Context: Removed the default global context and font atlas instances, which caused various problems to users of multiple contexts and DLL users. (#1565, #1599)
   1943   YOU NOW NEED TO CALL ImGui::CreateContext() AT THE BEGINNING OF YOUR APP, AND CALL ImGui::DestroyContext() AT THE END. Existing apps will assert/crash without it.
   1944 - Context: Added SetAllocatorFunctions() to rewire memory allocators (as a replacement to previous parameters to CreateContext()). Allocators are shared by all contexts and imgui helpers. (#1565, #586, #992, #1007, #1558)
   1945 - Context: You may pass a ImFontAtlas to CreateContext() to specify a font atlas to share. Shared font atlas are not owned by the context and not destroyed along with it. (#1599)
   1946 - Context: Added IMGUI_DISABLE_DEFAULT_ALLOCATORS to disable linking with malloc/free. (#1565, #586, #992, #1007, #1558)
   1947 - IO: Added io.ConfigFlags for user application to store settings for imgui and for the backend:
   1948   - ImGuiConfigFlags_NavEnableKeyboard: Enable keyboard navigation.
   1949   - ImGuiConfigFlags_NavEnableGamepad: Enable gamepad navigation (provided ImGuiBackendFlags_HasGamepad is also set by backend).
   1950   - ImGuiConfigFlags_NavEnableSetMousePos: Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward.
   1951   - ImGuiConfigFlags_NoMouseCursorChange: Instruct backend to not alter mouse cursor shape and visibility (by default the example backend use mouse cursor API of the platform when available)
   1952   - ImGuiConfigFlags_NoMouse: Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information passed by the backend.
   1953   - ImGuiConfigFlags_IsSRGB, ImGuiConfigFlags_IsTouchScreen: Flags for general application use.
   1954 - IO: Added io.BackendFlags for backend to store its capabilities (currently: _HasGamepad, _HasMouseCursors, _HasSetMousePos). This will be used more in the next version.
   1955 - IO: Added ImGuiKey_Insert, ImGuiKey_Space keys. Setup in all example backends. (#1541)
   1956 - IO: Added Horizontal Mouse Wheel support for horizontal scrolling. (#1463) [@tseeker]
   1957 - IO: Added IsAnyMouseDown() helper which is helpful for backends to handle mouse capturing.
   1958 - Window: Clicking on a window with the ImGuiWIndowFlags_NoMove flags takes an ActiveId so we can't hover something else when dragging afterwards. (#1381, #1337)
   1959 - Window: IsWindowHovered(): Added ImGuiHoveredFlags_AnyWindow, ImGuiFocusedFlags_AnyWindow flags (See Breaking Changes). Added to demo. (#1382)
   1960 - Window: Added SetNextWindowBgAlpha() helper. Particularly helpful since the legacy 5-parameters version of Begin() has been marked as obsolete in 1.53. (#1567)
   1961 - Window: Fixed SetNextWindowContentSize() with 0.0f on Y axis (or SetNextWindowContentWidth()) overwriting the contents size. Got broken on Dec 10 (1.53). (#1363)
   1962 - ArrowButton: Added ArrowButton() given a cardinal direction (e.g. ImGuiDir_Left).
   1963 - InputText: Added alternative clipboard shortcuts: Shift+Delete (cut), CTRL+Insert (copy), Shift+Insert (paste). (#1541)
   1964 - InputText: Fixed losing Cursor X position when clicking outside on an item that's submitted after the InputText(). It was only noticeable when restoring focus programmatically. (#1418, #1554)
   1965 - InputText: Added ImGuiInputTextFlags_CharsScientific flag to also allow 'e'/'E' for input of values using scientific notation. Automatically used by InputFloat.
   1966 - Style: Default style is now StyleColorsDark(), instead of the old StyleColorsClassic(). (#707)
   1967 - Style: Enable window border by default. (#707)
   1968 - Style: Exposed ImGuiStyleVar_WindowTitleAlign, ImGuiStyleVar_ScrollbarSize, ImGuiStyleVar_ScrollbarRounding, ImGuiStyleVar_GrabRounding + added an assert to reduce accidental breakage. (#1181)
   1969 - Style: Added style.MouseCursorScale help when using the software mouse cursor facility. (#939).
   1970 - Style: Close button nows display a cross before hovering. Fixed cross positioning being a little off. Uses button colors for highlight when hovering. (#707)
   1971 - Popup: OpenPopup() Always reopen existing pop-ups. (Removed imgui_internal.h's OpenPopupEx() which was used for this.) (#1497, #1533).
   1972 - Popup: BeginPopupContextItem(), BeginPopupContextWindow(), BeginPopupContextVoid(), OpenPopupOnItemClick() all react on mouse release instead of mouse press. (~#439)
   1973 - Popup: Better handling of user mistakenly calling OpenPopup() every frame (with reopen_existing option). The error will now be more visible and easier to understand. (#1497)
   1974 - Popup: BeginPopup(): Exposed extra_flags parameter that are passed through to Begin(). (#1533)
   1975 - Popup: BeginPopupModal: fixed the conditional test for SetNextWindowPos() which was polling the wrong window, which in practice made the test succeed all the time.
   1976 - Tooltip: BeginTooltip() sets ImGuiWindowFlags_NoInputs flag.
   1977 - Scrollbar: Fixed ScrollbarY enable test after ScrollbarX has been enabled being a little off (small regression from Nov 2017). (#1574)
   1978 - Scrollbar: Fixed ScrollbarX enable test subtracting WindowPadding.x (this has been there since the addition of horizontal scroll bar!).
   1979 - Columns: Clear offsets data when columns count changed. (#1525)
   1980 - Columns: Fixed a memory leak of ImGuiColumnsSet's Columns vector. (#1529) [@unprompted]
   1981 - Columns: Fixed resizing a window very small breaking some columns positioning (broken in 1.53).
   1982 - Columns: The available column extent takes consideration of the right-most clipped pixel, so the right-most column may look a little wider but will contain the same amount of visible contents.
   1983 - MenuBar: Fixed menu bar pushing a clipping rect outside of its allocated bound (usually unnoticeable).
   1984 - TreeNode: nodes with the ImGuiTreeNodeFlags_Leaf flag correctly disable highlight when DragDrop is active. (#143, #581)
   1985 - Drag and Drop: Increased payload type string to 32 characters instead of 8. (#143)
   1986 - Drag and Drop: TreeNode as drop target displays rectangle over full frame. (#1597, #143)
   1987 - DragFloat: Fix/workaround for backends which do not preserve a valid mouse position when dragged out of bounds. (#1559)
   1988 - InputFloat: Allow inputing value using scientific notation e.g. "1e+10".
   1989 - InputDouble: Added InputDouble() function. We use a format string instead of a decimal_precision parameter to also for "%e" and variants. (#1011)
   1990 - Slider, Combo: Use ImGuiCol_FrameBgHovered color when hovered. (#1456) [@stfx]
   1991 - Combo: BeginCombo(): Added ImGuiComboFlags_NoArrowButton to disable the arrow button and only display the wide value preview box.
   1992 - Combo: BeginCombo(): Added ImGuiComboFlags_NoPreview to disable the preview and only display a square arrow button.
   1993 - Combo: Arrow button isn't displayed over frame background so its blended color matches other buttons. Left side of the button isn't rounded.
   1994 - PlotLines: plot a flat line if scale_min==scale_max. (#1621)
   1995 - Fonts: Changed DisplayOffset.y to defaults to 0 instead of +1. Fixed rounding of Ascent/Descent to match TrueType renderer.
   1996   If you were adding or subtracting (not assigning) to ImFont::DisplayOffset check if your fonts are correctly aligned vertically. (#1619)
   1997 - Fonts: Updated stb_truetype from 1.14 to stb_truetype 1.19. (w/ include fix from some platforms #1622)
   1998 - Fonts: Added optional FreeType rasterizer in misc/freetype. Moved from imgui_club repo. (#618) [@Vuhdo, @mikesart, @ocornut]
   1999 - Fonts: Moved extra_fonts/ to misc/fonts/.
   2000 - ImFontAtlas: Fixed cfg.MergeMode not reusing existing glyphs if available (always overwrote).
   2001 - ImFontAtlas: Handle stb_truetype stbtt_InitFont() and stbtt_PackBegin() possible failures more gracefully, GetTexDataAsRGBA32() won't crash during conversion. (#1527)
   2002 - ImFontAtlas: Moved mouse cursor data out of ImGuiContext, fix drawing them with multiple contexts. Also remove the last remaining undesirable dependency on ImGui in imgui_draw.cpp. (#939)
   2003 - ImFontAtlas: Added ImFontAtlasFlags_NoPowerOfTwoHeight flag to disable padding font height to nearest power of two. (#1613)
   2004 - ImFontAtlas: Added ImFontAtlasFlags_NoMouseCursors flag to disable baking software mouse cursors, mostly to save texture memory on very low end hardware. (#1613)
   2005 - ImDrawList: Fixed AddRect() with anti-aliasing disabled (lower-right corner pixel was often missing, rounding looks a little better.) (#1646)
   2006 - ImDrawList: Added CloneOutput() helper to facilitate the cloning of ImDrawData or ImDrawList for multi-threaded rendering.
   2007 - Misc: Functions passed to libc qsort are explicitly marked cdecl to support compiling with vectorcall as the default calling convention. (#1230, #1611) [@RandyGaul]
   2008 - Misc: ImVec2: added [] operator. This is becoming desirable for some code working of either axes independently. Better adding it sooner than later.
   2009 - Misc: NewFrame(): Added an assert to detect incorrect filling of the io.KeyMap[] array earlier. (#1555)
   2010 - Misc: Added IM_OFFSETOF() helper in imgui.h (previously was in imgui_internal.h)
   2011 - Misc: Added IM_NEW(), IM_DELETE() helpers in imgui.h (previously were in imgui_internal.h)
   2012 - Misc: Added obsolete redirection function GetItemsLineHeightWithSpacing() (which redirects to GetFrameHeightWithSpacing()), as intended and stated in docs of 1.53.
   2013 - Misc: Added misc/natvis/imgui.natvis for visual studio debugger users to easily visualize imgui internal types. Added to examples projects.
   2014 - Misc: Added IMGUI_USER_CONFIG to define a custom configuration filename. (#255, #1573, #1144, #41)
   2015 - Misc: Added IMGUI_STB_TRUETYPE_FILENAME and IMGUI_STB_RECT_PACK_FILENAME compile time directives to use another version of the stb_ files.
   2016 - Misc: Updated stb_rect_pack from 0.10 to 0.11 (minor changes).
   2017   (Those flags are not used by ImGui itself, they only exists to make it easy for the engine/backend to pass information to the application in a standard manner.)
   2018 - Metrics: Added display of Columns state.
   2019 - Demo: Improved Selectable() examples. (#1528)
   2020 - Demo: Tweaked the Child demos, added a menu bar to the second child to test some navigation functions.
   2021 - Demo: Console: Using ImGuiCol_Text to be more friendly to color changes.
   2022 - Demo: Using IM_COL32() instead of ImColor() in ImDrawList centric contexts. Trying to phase out use of the ImColor helper whenever possible.
   2023 - Examples: Files in examples/ now include their own changelog so it is easier to occasionally update your backends if needed.
   2024 - Examples: Using Dark theme by default. (#707). Tweaked demo code.
   2025 - Examples: Added support for horizontal mouse wheel for API that allows it. (#1463) [@tseeker]
   2026 - Examples: All examples now setup the io.BackendFlags to signify they can honor mouse cursors, gamepad, etc.
   2027 - Examples: DirectX10: Fixed erroneous call to io.Fonts->ClearInputData() + ClearTexData() that was left in DX10 example but removed in 1.47 (Nov 2015) in every other backends. (#1733)
   2028 - Examples: DirectX12: Added DirectX 12 example. (#301) [@jdm3]
   2029 - Examples: OpenGL3+GLFW,SDL: Changed GLSL shader version from 330 to 150. (#1466, #1504)
   2030 - Examples: OpenGL3+GLFW,SDL: Added a way to override the GLSL version string in the Init function. (#1466, #1504).
   2031 - Examples: OpenGL3+GLFW,SDL: Creating VAO in the render function so it can be more easily used by multiple shared OpenGL contexts. (#1217)
   2032 - Examples: OpenGL3+GLFW: Using 3.2 context instead of 3.3. (#1466)
   2033 - Examples: OpenGL: Setting up glPixelStorei() explicitly before uploading texture.
   2034 - Examples: OpenGL: Calls to glPolygonMode() are casting parameters as GLEnum to not fail with more strict backends. (#1628) [@ilia-glushchenko]
   2035 - Examples: Win32 (DirectX9,10,11,12): Added support for mouse cursor shapes. (#1495)
   2036 - Examples: Win32 (DirectX9,10,11,12: Support for windows using the CS_DBLCLKS class flag by handling the double-click messages (WM_LBUTTONDBLCLK etc.). (#1538, #754) [@ndandoulakis]
   2037 - Examples: Win32 (DirectX9,10,11,12): Made the Win32 proc handlers not assert if there is no active context yet, to be more flexible with creation order. (#1565)
   2038 - Examples: GLFW: Added support for mouse cursor shapes (the diagonal resize cursors are unfortunately not supported by GLFW at the moment. (#1495)
   2039 - Examples: GLFW: Don't attempt to change the mouse cursor input mode if it is set to GLFW_CURSOR_DISABLED by the application. (#1202) [@PhilCK]
   2040 - Examples: SDL: Added support for mouse cursor shapes. (#1626) [@olls]
   2041 - Examples: SDL: Using SDL_CaptureMouse() to retrieve coordinates outside of client area when dragging (SDL 2.0.4+ only, otherwise using SDL_WINDOW_INPUT_FOCUS instead of previously SDL_WINDOW_MOUSE_FOCUS). (#1559)
   2042 - Examples: SDL: Enabled vsync by default so people don't come at us when the examples are running at 2000 FPS and burning a CPU core.
   2043 - Examples: SDL: Using SDL_GetPerformanceCounter() / SDL_GetPerformanceFrequency() to handle frame-rate over 1000 FPS properly. (#996)
   2044 - Examples: SDL: Using scan-code exclusively instead of a confusing mixture of scan-codes and key-codes.
   2045 - Examples: SDL: Visual Studio: Added .vcxproj file. Using %SDL2_DIR% in the default .vcxproj and build files instead of %SDL_DIR%, the earlier being more standard.
   2046 - Examples: Vulkan: Visual Studio: Added .vcxproj file.
   2047 - Examples: Apple: Fixed filenames in OSX xcode project. Various other Mac friendly fixes. [@gerryhernandez etc.]
   2048 - Examples: Visual Studio: Disabled extraneous function-level check in Release build.
   2049 - Various fixes, tweaks, internal refactoring, optimizations, comments.
   2050 
   2051 
   2052 -----------------------------------------------------------------------
   2053  VERSION 1.53 (Released 2017-12-25)
   2054 -----------------------------------------------------------------------
   2055 
   2056 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.53
   2057 
   2058 Breaking Changes:
   2059 
   2060 - Renamed the emblematic `ShowTestWindow()` function to `ShowDemoWindow()`. Kept redirection function (will obsolete).
   2061 - Renamed `GetItemsLineHeightWithSpacing()` to `GetFrameHeightWithSpacing()` for consistency. Kept redirection function (will obsolete).
   2062 - Renamed `ImGuiTreeNodeFlags_AllowOverlapMode` flag to `ImGuiTreeNodeFlags_AllowItemOverlap`. Kept redirection enum (will obsolete).
   2063 - Obsoleted `IsRootWindowFocused()` in favor of using `IsWindowFocused(ImGuiFocusedFlags_RootWindow)`. Kept redirection function (will obsolete). (#1382)
   2064 - Obsoleted `IsRootWindowOrAnyChildFocused()` in favor of using `IsWindowFocused(ImGuiFocusedFlags_RootAndChildWindows)`. Kept redirection function (will obsolete). (#1382)
   2065 - Obsoleted `IsRootWindowOrAnyChildHovered()` in favor of using `IsWindowHovered(ImGuiHoveredFlags_RootAndChildWindows)`. Kept redirection function (will obsolete). (#1382)
   2066 - Obsoleted `SetNextWindowContentWidth() in favor of using `SetNextWindowContentSize()`. Kept redirection function (will obsolete).
   2067 - Renamed `ImGuiTextBuffer::append()` helper to `appendf()`, and `appendv()` to `appendfv()` for consistency. If you copied the 'Log' demo in your code, it uses appendv() so that needs to be renamed.
   2068 - ImDrawList: Removed 'bool anti_aliased = true' final parameter of `ImDrawList::AddPolyline()` and `ImDrawList::AddConvexPolyFilled()`. Prefer manipulating ImDrawList::Flags if you need to toggle them during the frame.
   2069 - Style, ImDrawList: Renamed `style.AntiAliasedShapes` to `style.AntiAliasedFill` for consistency and as a way to explicitly break code that manipulate those flag at runtime. You can now manipulate ImDrawList::Flags.
   2070 - Style, Begin: Removed `ImGuiWindowFlags_ShowBorders` window flag. Borders are now fully set up in the ImGuiStyle structure (see e.g. `style.FrameBorderSize`, `style.WindowBorderSize`, `style.PopupBorderSize`).
   2071   Use `ImGui::ShowStyleEditor()` to look them up.
   2072   Please note that the style system will keep evolving (hopefully stabilizing in Q1 2018), and so custom styles will probably subtly break over time.
   2073   It is recommended that you use the `StyleColorsClassic()`, `StyleColorsDark()`, `StyleColorsLight()` functions. Also see `ShowStyleSelector()`.
   2074 - Style: Removed `ImGuiCol_ComboBg` in favor of combo boxes using `ImGuiCol_PopupBg` for consistency. Combo are normal pop-ups.
   2075 - Style: Renamed `ImGuiCol_ChildWindowBg` to `ImGuiCol_ChildBg`.
   2076 - Style: Renamed `style.ChildWindowRounding` to `style.ChildRounding`, `ImGuiStyleVar_ChildWindowRounding` to `ImGuiStyleVar_ChildRounding`.
   2077 - Removed obsolete redirection functions: SetScrollPosHere() - marked obsolete in v1.42, July 2015.
   2078 - Removed obsolete redirection functions: GetWindowFont(), GetWindowFontSize() - marked obsolete in v1.48, March 2016.
   2079 
   2080 Other Changes:
   2081 
   2082 - Added `io.OptCursorBlink` option to allow disabling cursor blinking. (#1427) [renamed to io.ConfigCursorBlink in 1.63]
   2083 - Added `GetOverlayDrawList()` helper to quickly get access to a ImDrawList that will be rendered in front of every windows.
   2084 - Added `GetFrameHeight()` helper which returns `(FontSize + style.FramePadding.y * 2)`.
   2085 - Drag and Drop: Added Beta API to easily use drag and drop patterns between imgui widgets.
   2086   - Setup a source on a widget with `BeginDragDropSource()`, `SetDragDropPayload()`, `EndDragDropSource()` functions.
   2087   - Receive data with `BeginDragDropTarget()`, `AcceptDragDropPayload()`, `EndDragDropTarget()`.
   2088   - See ImGuiDragDropFlags for various options.
   2089   - The ColorEdit4() and ColorButton() widgets now support Drag and Drop.
   2090   - The API is tagged as Beta as it still may be subject to small changes.
   2091 - Drag and Drop: When drag and drop is active, tree nodes and collapsing header can be opened by hovering on them for 0.7 seconds.
   2092 - Renamed io.OSXBehaviors to io.OptMacOSXBehaviors. Should not affect users as the compile-time default is usually enough. (#473, #650)
   2093 - Style: Added StyleColorsDark() style. (#707) [@dougbinks]
   2094 - Style: Added StyleColorsLight() style. Best used with frame borders + thicker font than the default font. (#707)
   2095 - Style: Added style.PopupRounding setting. (#1112)
   2096 - Style: Added style.FrameBorderSize, style.WindowBorderSize, style.PopupBorderSize. Removed ImGuiWindowFlags_ShowBorders window flag!
   2097   Borders are now fully set up in the ImGuiStyle structure. Use ImGui::ShowStyleEditor() to look them up. (#707, fix #819, #1031)
   2098 - Style: Various small changes to the classic style (most noticeably, buttons are now using blue shades). (#707)
   2099 - Style: Renamed ImGuiCol_ChildWindowBg to ImGuiCol_ChildBg.
   2100 - Style: Renamed style.ChildWindowRounding to style.ChildRounding, ImGuiStyleVar_ChildWindowRounding to ImGuiStyleVar_ChildRounding.
   2101 - Style: Removed ImGuiCol_ComboBg in favor of combo boxes using ImGuiCol_PopupBg for consistency. (#707)
   2102 - Style: Made the ScaleAllSizes() helper rounds down every values so they are aligned on integers.
   2103 - Focus: Added SetItemDefaultFocus(), which in the current (master) branch behave the same as doing `if (IsWindowAppearing()) SetScrollHere()`.
   2104   In the navigation branch this will also set the default focus. Prefer using this when creating combo boxes with `BeginCombo()` so your code will be forward-compatible with gamepad/keyboard navigation features. (#787)
   2105 - Combo: Pop-up grows horizontally to accommodate for contents that is larger then the parent combo button.
   2106 - Combo: Added BeginCombo()/EndCombo() API which allows use to submit content of any form and manage your selection state without relying on indices.
   2107 - Combo: Added ImGuiComboFlags_PopupAlignLeft flag to BeginCombo() to prioritize keeping the pop-up on the left side (for small-button-looking combos).
   2108 - Combo: Added ImGuiComboFlags_HeightSmall, ImGuiComboFlags_HeightLarge, ImGuiComboFlags_HeightLargest to easily provide desired pop-up height.
   2109 - Combo: You can use SetNextWindowSizeConstraints() before BeginCombo() to specify specific pop-up width/height constraints.
   2110 - Combo: Offset popup position by border size so that a double border isn't so visible. (#707)
   2111 - Combo: Recycling windows by using a stack number instead of a unique id, wasting less memory (like menus do).
   2112 - InputText: Added ImGuiInputTextFlags_NoUndoRedo flag. (#1506, #1508) [@ibachar]
   2113 - Window: Fixed auto-resize allocating too much space for scrollbar when SizeContents is bigger than maximum window size (fixes c0547d3). (#1417)
   2114 - Window: Child windows with MenuBar use regular WindowPadding.y so layout look consistent as child or as a regular window.
   2115 - Window: Begin(): Fixed appending into a child window with a second Begin() from a different window stack querying the wrong window for the window->Collapsed test.
   2116 - Window: Calling IsItemActive(), IsItemHovered() etc. after a call to Begin() provides item data for the title bar, so you can easily test if the title bar is being hovered, etc. (#823)
   2117 - Window: Made it possible to use SetNextWindowPos() on a child window.
   2118 - Window: Fixed a one frame glitch. When an appearing window claimed the focus themselves, the title bar wouldn't use the focused color for one frame.
   2119 - Window: Added ImGuiWindowFlags_ResizeFromAnySide flag to resize from any borders or from the lower-left corner of a window. This requires your backend to honor GetMouseCursor() requests for full usability. (#822)
   2120 - Window: Sizing fixes when using SetNextWindowSize() on individual axises.
   2121 - Window: Hide new window for one frame until they calculate their size. Also fixes SetNextWindowPos() given a non-zero pivot. (#1694)
   2122 - Window: Made mouse wheel scrolling accommodate better to windows that are smaller than the scroll step.
   2123 - Window: SetNextWindowContentSize() adjust for the size of decorations (title bar/menu bar), but _not_ for borders are we consistently make borders not affect layout.
   2124   If you need a non-child window of an exact size with border enabled but zero window padding, you'll need to accommodate for the border size yourself.
   2125 - Window: Using the ImGuiWindowFlags_NoScrollWithMouse flag on a child window forwards the mouse wheel event to the parent window, unless either ImGuiWindowFlags_NoInputs or ImGuiWindowFlags_NoScrollbar are also set. (#1380, #1502)
   2126 - Window: Active Modal window always set the WantCaptureKeyboard flag. (#744)
   2127 - Window: Moving window doesn't use accumulating MouseDelta so straying out of imgui boundaries keeps moved imgui window at the same cursor-relative position.
   2128 - IsWindowFocused(): Added ImGuiFocusedFlags_ChildWindows flag to include child windows in the focused test. (#1382).
   2129 - IsWindowFocused(): Added ImGuiFocusedFlags_RootWindow flag to start focused test from the root (top-most) window. Obsolete IsRootWindowFocused(). (#1382)
   2130 - IsWindowHovered(): Added ImGuiHoveredFlags_ChildWindows flag to include child windows in the hovered test. (#1382).
   2131 - IsWindowHovered(): Added ImGuiHoveredFlags_RootWindow flag to start hovered test from the root (top-most) window. The combination of both flags obsoletes IsRootWindowOrAnyChildHovered(). (#1382)
   2132 - IsWindowHovered(): Fixed return value when an item is active to use the same logic as IsItemHovered(). (#1382, #1404)
   2133 - IsWindowHovered(): Always return true when current window is being moved. (#1382)
   2134 - Scrollbar: Fixed issues with vertical scrollbar flickering/appearing, typically when manually resizing and using a pattern of filling available height (e.g. full sized BeginChild).
   2135 - Scrollbar: Minor graphical fix for when scrollbar don't have enough visible space to display the full grab.
   2136 - Scrolling: Fixed padding and scrolling asymmetry where lower/right sides of a window wouldn't use WindowPadding properly + causing minor scrolling glitches.
   2137 - Tree: TreePush with zero arguments was ambiguous. Resolved by making it call TreePush(const void*). [@JasonWilkins]
   2138 - Tree: Renamed ImGuiTreeNodeFlags_AllowOverlapMode to ImGuiTreeNodeFlags_AllowItemOverlap. (#600, #1330)
   2139 - MenuBar: Fixed minor rendering issues on the right size when resizing a window very small and using rounded window corners.
   2140 - MenuBar: better software clipping to handle small windows, in particular child window don't have minimum constraints so we need to render clipped menus better.
   2141 - BeginMenu(): Tweaked the Arrow/Triangle displayed on child menu items.
   2142 - Columns: Clipping columns borders on Y axis on CPU because some Linux GPU drivers appears to be unhappy with triangle spanning large regions. (#125)
   2143 - Columns: Added ImGuiColumnsFlags_GrowParentContentsSize to internal API to restore old content sizes behavior (may be obsolete). (#1444, #125)
   2144 - Columns: Columns width is no longer lost when dragging a column to the right side of the window, until releasing the mouse button you have a chance to save them. (#1499, #125). [@ggtucker]
   2145 - Columns: Fixed dragging when using a same of columns multiple times in the frame. (#125)
   2146 - Indent(), Unindent(): Allow passing negative values.
   2147 - ColorEdit4(): Made IsItemActive() return true when picker pop-up is active. (#1489)
   2148 - ColorEdit4(): Tweaked tooltip so that the color button aligns more correctly with text.
   2149 - ColorEdit4(): Support drag and drop. Color buttons can be used as drag sources, and ColorEdit widgets as drag targets. (#143)
   2150 - ColorPicker4(): Fixed continuously returning true when holding mouse button on the sat/value/alpha locations. We only return true on value change. (#1489)
   2151 - NewFrame(): using literal strings in the most-frequently firing IM_ASSERT expressions to increase the odd of programmers seeing them (especially those who don't use a debugger).
   2152 - NewFrame() now asserts if neither Render or EndFrame have been called. Exposed EndFrame(). Made it legal to call EndFrame() more than one. (#1423)
   2153 - ImGuiStorage: Added BuildSortByKey() helper to rebuild storage from scratch.
   2154 - ImFont: Added GetDebugName() helper.
   2155 - ImFontAtlas: Added missing Thai punctuation in the GetGlyphRangesThai() ranges. (#1396) [@nProtect]
   2156 - ImDrawList: Removed 'bool anti_aliased = true' final parameter of ImDrawList::AddPolyline() and ImDrawList::AddConvexPolyFilled(). Anti-aliasing is controlled via the regular style.AntiAliased flags.
   2157 - ImDrawList: Added ImDrawList::AddImageRounded() helper. (#845) [@thedmd]
   2158 - ImDrawList: Refactored to make ImDrawList independent of ImGui. Removed static variable in PathArcToFast() which caused linking issues to some.
   2159 - ImDrawList: Exposed ImDrawCornerFlags, replaced occurrences of ~0 with an explicit ImDrawCornerFlags_All. NB: Inversed BotLeft (prev 1<<3, now 1<<2) and BotRight (prev 1<<2, now 1<<3).
   2160 - ImVector: Added ImVector::push_front() helper.
   2161 - ImVector: Added ImVector::contains() helper.
   2162 - ImVector: insert() uses grow_capacity() instead of using grow policy inconsistent with push_back().
   2163 - Internals: Remove requirement to define IMGUI_DEFINE_PLACEMENT_NEW to use the IM_PLACEMENT_NEW macro. (#1103)
   2164 - Internals: ButtonBehavior: Fixed ImGuiButtonFlags_NoHoldingActiveID flag from incorrectly setting the ActiveIdClickOffset field.
   2165   This had no known effect within imgui code but could have affected custom drag and drop patterns. And it is more correct this way! (#1418)
   2166 - Internals: ButtonBehavior: Fixed ImGuiButtonFlags_AllowOverlapMode to avoid temporarily activating widgets on click before they have been correctly double-hovered. (#319, #600)
   2167 - Internals: Added SplitterBehavior() helper. (#319)
   2168 - Internals: Added IM_NEW(), IM_DELETE() helpers. (#484, #504, #1517)
   2169 - Internals: Basic refactor of the settings API which now allows external elements to be loaded/saved.
   2170 - Demo: Added ShowFontSelector() showing loaded fonts.
   2171 - Demo: Added ShowStyleSelector() to select among default styles. (#707)
   2172 - Demo: Renamed the emblematic ShowTestWindow() function to ShowDemoWindow().
   2173 - Demo: Style Editor: Added a "Simplified settings" sections with check-boxes for border size and frame rounding. (#707, #1019)
   2174 - Demo: Style Editor: Added combo box to select stock styles and select current font when multiple are loaded. (#707)
   2175 - Demo: Style Editor: Using local storage so Save/Revert button makes more sense without code passing its storage. Added horizontal scroll bar. Fixed Save/Revert button to be always accessible. (#1211)
   2176 - Demo: Console: Fixed context menu issue. (#1404)
   2177 - Demo: Console: Fixed incorrect positioning which was hidden by a minor scroll issue (this would affect people who copied the Console code as is).
   2178 - Demo: Constrained Resize: Added more test cases. (#1417)
   2179 - Demo: Custom Rendering: Fixed clipping rectangle extruding out of parent window.
   2180 - Demo: Layout: Removed unnecessary and misleading BeginChild/EndChild calls.
   2181 - Demo: The "Color Picker with Palette" demo supports drag and drop. (#143)
   2182 - Demo: Display better mouse cursor info for debugging backends.
   2183 - Demo: Stopped using rand() function in demo code.
   2184 - Examples: Added a handful of extra comments (about fonts, third-party libraries used in the examples, etc.).
   2185 - Examples: DirectX9: Handle loss of D3D9 device (D3DERR_DEVICELOST). (#1464)
   2186 - Examples: Added null_example/ which is helpful for quick testing on multiple compilers/settings without relying on graphics library.
   2187 - Fix for using alloca() in "Clang with Microsoft Codechain" mode.
   2188 - Various fixes, optimizations, comments.
   2189 
   2190 
   2191 -----------------------------------------------------------------------
   2192  VERSION 1.52 (2017-10-27)
   2193 -----------------------------------------------------------------------
   2194 
   2195 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.52
   2196 
   2197 Breaking Changes:
   2198 
   2199 - IO: `io.MousePos` needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing, instead of ImVec2(-1,-1) as previously) This is needed so we can clear `io.MouseDelta` field when the mouse is made available again.
   2200 - Renamed `AlignFirstTextHeightToWidgets()` to `AlignTextToFramePadding()`. Kept inline redirection function (will obsolete).
   2201 - Obsoleted the legacy 5 parameters version of Begin(). Please avoid using it. If you need a transparent window background, uses `PushStyleColor()`. The old size parameter there was also misleading and equivalent to calling `SetNextWindowSize(size, ImGuiCond_FirstTimeEver)`. Kept inline redirection function (will obsolete).
   2202 - Obsoleted `IsItemHoveredRect()`, `IsMouseHoveringWindow()` in favor of using the newly introduced flags of `IsItemHovered()` and `IsWindowHovered()`. Kept inline redirection function (will obsolete). (#1382)
   2203 - Obsoleted 'SetNextWindowPosCenter()' in favor of using 1SetNextWindowPos()` with a pivot value which allows to do the same and more. Keep inline redirection function.
   2204 - Removed `IsItemRectHovered()`, `IsWindowRectHovered()` recently introduced in 1.51 which were merely the more consistent/correct names for the above functions which are now obsolete anyway. (#1382)
   2205 - Changed `IsWindowHovered()` default parameters behavior to return false if an item is active in another window (e.g. click-dragging item from another window to this window). You can use the newly introduced IsWindowHovered() flags to requests this specific behavior if you need it. (#1382)
   2206 - Renamed imconfig.h's `IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCS`/`IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCS` to `IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS`/`IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS` for consistency.
   2207 - Renamed ImFont::Glyph to ImFontGlyph. Kept redirection typedef (will obsolete).
   2208 
   2209 Other Changes:
   2210 
   2211 - ProgressBar: fixed rendering when straddling rounded area. (#1296)
   2212 - SliderFloat, DragFloat: Using scientific notation e.g. "%.1e" in the displayed format string doesn't mistakenly trigger rounding of the value. [@MomentsInGraphics]
   2213 - Combo, InputFloat, InputInt: Made the small button on the right side align properly with the equivalent colored button of ColorEdit4().
   2214 - IO: Tweaked logic for `io.WantCaptureMouse` so it now outputs false when e.g. hovering over void while an InputText() is active. (#621) [@pdoane]
   2215 - IO: Fixed `io.WantTextInput` from mistakenly outputting true when an activated Drag or Slider was previously turned into an InputText(). (#1317)
   2216 - Misc: Added flags to `IsItemHovered()`, `IsWindowHovered()` to access advanced hovering-test behavior. Generally useful for pop-ups and drag and drop behaviors: (relates to ~#439, #1013, #143, #925)
   2217   - `ImGuiHoveredFlags_AllowWhenBlockedByPopup`
   2218   - `ImGuiHoveredFlags_AllowWhenBlockedByActiveItem`
   2219   - `ImGuiHoveredFlags_AllowWhenOverlapped`
   2220   - `ImGuiHoveredFlags_RectOnly`
   2221 - Input: Added `IsMousePosValid()` helper.
   2222 - Input: Added `GetKeyPressedAmount()` to easily measure press count when the repeat rate is faster than the frame rate.
   2223 - Input/Focus: Disabled TAB and Shift+TAB when CTRL key is held.
   2224 - CheckBox: Now rendering a tick mark instead of a full square.
   2225 - ColorEdit4: Added "Copy as..." option in context menu. (#346)
   2226 - ColorPicker: Improved ColorPicker hue wheel color interpolation. (#1313) [@thevaber]
   2227 - ColorButton: Reduced bordering artifact that would be particularly visible with an opaque Col_FrameBg and FrameRounding enabled.
   2228 - ColorButton: Fixed rendering color button with a checkerboard if the transparency comes from the global style.Alpha and not from the actual source color.
   2229 - TreeNode: Added `ImGuiTreeNodeFlags_FramePadding` flag to conveniently create a tree node with full padding at the beginning of a line, without having to call `AlignTextToFramePadding()`.
   2230 - Trees: Fixed calling `SetNextTreeNodeOpen()` on a collapsed window leaking to the first tree node item of the next frame.
   2231 - Layout: Horizontal layout is automatically enforced in a menu bar, so you can use non-MenuItem elements without calling SameLine().
   2232 - Separator: Output a vertical separator when used inside a menu bar (or in general when horizontal layout is active, but that isn't exposed yet!).
   2233 - Window: Added `IsWindowAppearing()` helper (helpful e.g. as a condition before initializing some of your own things.).
   2234 - Window: Added pivot parameter to `SetNextWindowPos()`, making it possible to center or right align a window. Obsoleted `SetNextWindowPosCenter()`.
   2235 - Window: Fixed title bar color of top-most window under a modal window.
   2236 - Window: Fixed not being able to move a window by clicking on one of its child window. (#1337, #635)
   2237 - Window: Fixed `Begin()` auto-fit calculation code that predict the presence of a scrollbar so it works better when window size constraints are used.
   2238 - Window: Fixed calling `Begin()` more than once per frame setting `window_just_activated_by_user` which in turn would set enable the Appearing condition for that frame.
   2239 - Window: The implicit "Debug" window now uses a "Debug##Default" identifier instead of "Debug" to allow user creating a window called "Debug" without losing their custom flags.
   2240 - Window: Made the `ImGuiWindowFlags_NoMove` flag properly inherited from parent to child. In a setup with ParentWindow (no flag) -> Child (NoMove) -> SubChild (no flag), the user won't be able to move the parent window by clicking on SubChild. (#1381)
   2241 - Popups: Pop-ups can be closed with a right-click anywhere, without altering focus under the pop-up. (~#439)
   2242 - Popups: `BeginPopupContextItem()`, `BeginPopupContextWindow()` are now setup to allow reopening a context menu by right-clicking again. (~#439)
   2243 - Popups: `BeginPopupContextItem()` now supports a NULL string identifier and uses the last item ID if available.
   2244 - Popups: Added `OpenPopupOnItemClick()` helper which mimic `BeginPopupContextItem()` but doesn't do the BeginPopup().
   2245 - MenuItem: Only activating on mouse release. [@Urmeli0815] (was already fixed in nav branch).
   2246 - MenuItem: Made tick mark thicker (thick mark?).
   2247 - MenuItem: Tweaks to be usable inside a menu bar (nb: it looks like a regular menu and thus is misleading, prefer using Button() and regular widgets in menu bar if you need to). (#1387)
   2248 - ImDrawList: Fixed a rare draw call merging bug which could lead to undisplayed triangles. (#1172, #1368)
   2249 - ImDrawList: Fixed a rare bug in `ChannelsMerge()` when all contents has been clipped, leading to an extraneous draw call being created. (#1172, #1368)
   2250 - ImFont: Added `AddGlyph()` building helper for use by custom atlas builders.
   2251 - ImFontAtlas: Added support for CustomRect API to submit custom rectangles to be packed into the atlas. You can map them as font glyphs, or use them for custom purposes.
   2252   After the atlas is built you can query the position of your rectangles in the texture and then copy your data there. You can use this features to create e.g. full color font-mapped icons.
   2253 - ImFontAtlas: Fixed fall-back handling when merging fonts, if a glyph was missing from the second font input it could have used a glyph from the first one. (#1349) [@inolen]
   2254 - ImFontAtlas: Fixed memory leak on build failure case when stbtt_InitFont failed (generally due to incorrect or supported font type). (#1391) (@Moka42)
   2255 - ImFontConfig: Added `RasterizerMultiply` option to alter the brightness of individual fonts at rasterization time, which may help increasing readability for some.
   2256 - ImFontConfig: Added `RasterizerFlags` to pass options to custom rasterizer (e.g. the [imgui_freetype](https://github.com/ocornut/imgui_club/tree/master/imgui_freetype) rasterizer in imgui_club has such options).
   2257 - ImVector: added resize() variant with initialization value.
   2258 - Misc: Changed the internal name formatting of child windows identifier to use slashes (instead of dots) as separator, more readable.
   2259 - Misc: Fixed compilation with `IMGUI_DISABLE_OBSOLETE_FUNCTIONS` defined.
   2260 - Misc: Marked all format+va_list functions with format attribute so GCC/Clang can warn about misuses.
   2261 - Misc: Fixed compilation on NetBSD due to missing alloca.h (#1319) [@RyuKojiro]
   2262 - Misc: Improved warnings compilation for newer versions of Clang. (#1324) (@waywardmonkeys)
   2263 - Misc: Added `io.WantMoveMouse flags` (from Nav branch) and honored in Examples applications. Currently unused but trying to spread Examples applications code that supports it.
   2264 - Misc: Added `IMGUI_DISABLE_FORMAT_STRING_FUNCTIONS` support in imconfig.h to allow user reimplementing the `ImFormatString()` functions e.g. to use stb_printf(). (#1038)
   2265 - Misc: [Windows] Fixed default Win32 `SetClipboardText()` handler leaving the Win32 clipboard handler unclosed on failure. [@pdoane]
   2266 - Style: Added `ImGuiStyle::ScaleAllSizes(float)` helper to make it easier to have application transition e.g. from low to high DPI with a matching style.
   2267 - Metrics: Draw window bounding boxes when hovering Pos/Size; List all draw layers; Trimming empty commands like Render() does.
   2268 - Examples: OpenGL3: Save and restore sampler state. (#1145) [@nlguillemot]
   2269 - Examples: OpenGL2, OpenGL3: Save and restore polygon mode. (#1307) [@JJscott]
   2270 - Examples: DirectX11: Allow creating device with feature level 10 since we don't really need much for that example. (#1333)
   2271 - Examples: DirectX9/10/12: Using the Win32 SetCapture/ReleaseCapture API to read mouse coordinates when they are out of bounds. (#1375) [@Gargaj, @ocornut]
   2272 - Tools: Fixed binary_to_compressed_c tool to return 0 when successful. (#1350) [@benvanik]
   2273 - Internals: Exposed more helpers and unfinished features in imgui_internal.h. (use at your own risk!).
   2274 - Internals: A bunch of internal refactoring, hopefully haven't broken anything! Merged a bunch of internal changes from the upcoming Navigation branch.
   2275 - Various tweaks, fixes and documentation changes.
   2276 
   2277 Beta Navigation Branch:
   2278 (Lots of work has been done toward merging the Beta Gamepad/Keyboard Navigation branch (#787) in master.)
   2279 (Please note that this branch is always kept up to date with master. If you are using the navigation branch, some of the changes include:)
   2280 - Nav: Added `#define IMGUI_HAS_NAV` in imgui.h to ease sharing code between both branches. (#787)
   2281 - Nav: MainMenuBar now releases focus when user gets out of the menu layer. (#787)
   2282 - Nav: When applying focus to a window with only menus, the menu layer is automatically activated. (#787)
   2283 - Nav: Added `ImGuiNavInput_KeyMenu` (~Alt key) aside from ImGuiNavInput_PadMenu input as it is one differentiator of pad vs keyboard that was detrimental to the keyboard experience. Although isn't officially supported, it makes the current experience better. (#787)
   2284 - Nav: Move requests now wrap vertically inside Menus and Pop-ups. (#787)
   2285 - Nav: Allow to collapse tree nodes with NavLeft and open them with NavRight. (#787, #1079).
   2286 - Nav: It's now possible to navigate sibling of a menu-bar while navigating inside one of their child. If a Left<>Right navigation request fails to find a match we forward the request to the root menu. (#787, #126)
   2287 - Nav: Fixed `SetItemDefaultFocus` from stealing default focus when we are initializing default focus for a menu bar layer. (#787)
   2288 - Nav: Support for fall-back horizontal scrolling with PadLeft/PadRight (nb: fall-back scrolling is only used to navigate windows that have no interactive items). (#787)
   2289 - Nav: Fixed tool-tip from being selectable in the window selection list. (#787)
   2290 - Nav: `CollapsingHeader(bool*)` variant: fixed for `IsItemHovered()` not working properly in the nav branch. (#600, #787)
   2291 - Nav: InputText: Fixed using Up/Down history callback feature when Nav is enabled. (#787)
   2292 - Nav: InputTextMultiline: Fixed navigation/selection. Disabled selecting all when activating a multi-line text editor. (#787)
   2293 - Nav: More consistently drawing a (thin) navigation rectangle hover filled frames such as tree nodes, collapsing header, menus. (#787)
   2294 - Nav: Various internal refactoring.
   2295 
   2296 
   2297 -----------------------------------------------------------------------
   2298  VERSION 1.51 (2017-08-24)
   2299 -----------------------------------------------------------------------
   2300 
   2301 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.51
   2302 
   2303 Breaking Changes:
   2304 
   2305 Work on dear imgui has been gradually resuming. It means that fixes and new features should be tackled at a faster rate than last year. However, in order to move forward with the library and get rid of some cruft, I have taken the liberty to be a little bit more aggressive than usual with API breaking changes. Read the details below and search for those names in your code! In the grand scheme of things, those changes are small and should not affect everyone, but this is technically our most aggressive release so far in term of API breakage. If you want to be extra forward-facing, you can enable `#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS` in your imconfig.h to disable the obsolete names/redirection.
   2306 
   2307 - Renamed `IsItemHoveredRect()` to `IsItemRectHovered()`. Kept inline redirection function (will obsolete).
   2308 - Renamed `IsMouseHoveringWindow()` to `IsWindowRectHovered()` for consistency. Kept inline redirection function (will obsolete).
   2309 - Renamed `IsMouseHoveringAnyWindow()` to `IsAnyWindowHovered()` for consistency. Kept inline redirection function (will obsolete).
   2310 - Renamed `ImGuiCol_Columns***` enums to `ImGuiCol_Separator***`. Kept redirection enums (will obsolete).
   2311 - Renamed `ImGuiSetCond***` types and enums to `ImGuiCond***`. Kept redirection enums (will obsolete).
   2312 - Renamed `GetStyleColName()` to `GetStyleColorName()` for consistency. Unlikely to be used by end-user!
   2313 - Added `PushStyleColor(ImGuiCol idx, ImU32 col)` overload, which _might_ cause an "ambiguous call" compilation error if you are using ImColor() with implicit cast. Cast to ImU32 or ImVec4 explicitly to fix.
   2314 - Marked the weird `IMGUI_ONCE_UPON_A_FRAME` helper macro as obsolete. Prefer using the more explicit `ImGuiOnceUponAFrame`.
   2315 - Changed `ColorEdit4(const char* label, float col[4], bool show_alpha = true)` signature to `ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flags = 0)`, where flags 0x01 is a safe no-op (hello dodgy backward compatibility!). The new `ColorEdit4`/`ColorPicker4` functions have lots of available flags! Check and run the demo window, under "Color/Picker Widgets", to understand the various new options.
   2316 - Changed signature of `ColorButton(ImVec4 col, bool small_height = false, bool outline_border = true)` to `ColorButton(const char* desc_id, ImVec4 col, ImGuiColorEditFlags flags = 0, ImVec2 size = ImVec2(0,0))`. This function was rarely used and was very dodgy (no explicit ID!).
   2317 - Changed `BeginPopupContextWindow(bool also_over_items=true, const char* str_id=NULL, int mouse_button=1)` signature to `(const char* str_id=NULL, int mouse_button=1, bool also_over_items=true)`. This is perhaps the most aggressive change in this update, but note that the majority of users relied on default parameters completely, so this will affect only a fraction of users of this already rarely used function.
   2318 - Removed `IsPosHoveringAnyWindow()`, which was partly broken and misleading. In the vast majority of cases, people using that function wanted to use `io.WantCaptureMouse` flag. Replaced with IM_ASSERT + comment redirecting user to `io.WantCaptureMouse`. (#1237)
   2319 - Removed the old `ValueColor()` helpers, they are equivalent to calling `Text(label)` + `SameLine()` + `ColorButton()`.
   2320 - Removed `ColorEditMode()` and `ImGuiColorEditMode` type in favor of `ImGuiColorEditFlags` and parameters to the various Color*() functions. The `SetColorEditOptions()` function allows to initialize default but the user can still change them with right-click context menu. Commenting out your old call to `ColorEditMode()` may just be fine!
   2321 
   2322 Other Changes:
   2323 
   2324 - Added flags to `ColorEdit3()`, `ColorEdit4()`. The color edit widget now has a context-menu and access to the color picker. (#346)
   2325 - Added flags to `ColorButton()`. (#346)
   2326 - Added `ColorPicker3()`, `ColorPicker4()`. The API along with those of the updated `ColorEdit4()` was designed so you may use them in various situation and hopefully compose your own picker if required. There are a bunch of available flags, check the Demo window and comment for `ImGuiColorEditFlags_`. Some of the options it supports are: two color picker types (hue bar + sat/val rectangle, hue wheel + rotating sat/val triangle), display as u8 or float, lifting 0.0..1.0 constraints (currently rgba only), context menus, alpha bar, background checkerboard options, preview tooltip, basic revert. For simple use, calling the existing `ColorEdit4()` function as you did before will be enough, as you can now open the color picker from there. (#346) [@r-lyeh, @nem0, @thennequin, @dariomanesku and @ocornut]
   2327 - Added `SetColorEditOptions()` to set default color options (e.g. if you want HSV over RGBA, float over u8, select a default picker mode etc. at startup time without a user intervention. Note that the user can still change options with the context menu unless disabled with `ImGuiColorFlags_NoOptions` or explicitly enforcing a display type/picker mode etc.).
   2328 - Added user-facing `IsPopupOpen()` function. (#891) [@mkeeter]
   2329 - Added `GetColorU32(u32)` variant that perform the style alpha multiply without a floating-point round trip, and helps makes code more consistent when using ImDrawList APIs.
   2330 - Added `PushStyleColor(ImGuiCol idx, ImU32 col)` overload.
   2331 - Added `GetStyleColorVec4(ImGuiCol idx)` which is equivalent to accessing `ImGui::GetStyle().Colors[idx]` (aka return the raw style color without alpha alteration).
   2332 - ImFontAtlas: Added `GlyphRangesBuilder` helper class, which makes it easier to build custom glyph ranges from your app/game localization data, or add into existing glyph ranges.
   2333 - ImFontAtlas: Added `TexGlyphPadding` option. (#1282) [@jadwallis]
   2334 - ImFontAtlas: Made it possible to override size of AddFontDefault() (even if it isn't really recommended!).
   2335 - ImDrawList: Added `GetClipRectMin()`, `GetClipRectMax()` helpers.
   2336 - Fixed Ini saving crash if the ImGuiWindowFlags_NoSavedSettings gets removed from a window after its creation (unlikely!). (#1000)
   2337 - Fixed `PushID()`/`PopID()` from marking parent window as Accessed (which needlessly woke up the root "Debug" window when used outside of a regular window). (#747)
   2338 - Fixed an assert when calling `CloseCurrentPopup()` twice in a row. [@nem0]
   2339 - Window size can be loaded from .ini data even if ImGuiWindowFlags_NoResize flag is set. (#1048, #1056)
   2340 - Columns: Added `SetColumnWidth()`. (#913) [@ggtucker]
   2341 - Columns: Dragging a column preserve its width by default. (#913) [@ggtucker]
   2342 - Columns: Fixed first column appearing wider than others. (#1266)
   2343 - Columns: Fixed allocating space on the right-most side with the assumption of a vertical scrollbar. The space is only allocated when needed. (#125, #913, #893, #1138)
   2344 - Columns: Fixed the right-most column from registering its content width to the parent window, which led to various issues when using auto-resizing window or e.g. horizontal scrolling. (#519, #125, #913)
   2345 - Columns: Refactored some of the columns code internally toward a better API (not yet exposed) + minor optimizations. (#913) [@ggtucker, @ocornut]
   2346 - Popups: Most pop-ups windows can be moved by the user after appearing (if they don't have explicit positions provided by caller, or e.g. sub-menu pop-up). The previous restriction was totally arbitrary. (#1252)
   2347 - Tooltip: `SetTooltip()` is expanded immediately into a window, honoring current font / styling setting. Add internal mechanism to override tooltips. (#862)
   2348 - PlotHistogram: bars are drawn based on zero-line, so negative values are going under. (#828)
   2349 - Scrolling: Fixed return values of `GetScrollMaxX()`, `GetScrollMaxY()` when both scrollbars were enabled. Tweak demo to display more data. (#1271) [@degracode]
   2350 - Scrolling: Fixes for Vertical Scrollbar not automatically getting enabled if enabled Horizontal Scrollbar straddle the vertical limit. (#1271, #246)
   2351 - Scrolling: `SetScrollHere()`, `SetScrollFromPosY()`: Fixed Y scroll aiming when Horizontal Scrollbar is enabled. (#665).
   2352 - [Windows] Clipboard: Fixed not closing Win32 clipboard on early open failure path. (#1264)
   2353 - Removed an unnecessary dependency on int64_t which failed on some older compilers.
   2354 - Demo: Rearranged everything under Widgets in a more consistent way.
   2355 - Demo: Columns: Added Horizontal Scrolling demo. Tweaked another Columns demo. (#519, #125, #913)
   2356 - Examples: OpenGL: Various makefiles for MINGW, Linux. (#1209, #1229, #1209) [@fr500, @acda]
   2357 - Examples: Enabled vsync by default in example applications, so it doesn't confuse people that the sample run at 2000+ fps and waste an entire CPU. (#1213, #1151).
   2358 - Various other small fixes, tweaks, comments, optimizations.
   2359 
   2360 
   2361 -----------------------------------------------------------------------
   2362  VERSION 1.50 (2017-06-02)
   2363 -----------------------------------------------------------------------
   2364 
   2365 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.50
   2366 
   2367 Breaking Changes:
   2368 
   2369 - Added a void* user_data parameter to Clipboard function handlers. (#875)
   2370 - SameLine(x) with x>0.0f is now relative to left of column/group if any, and not always to left of window. This was sort of always the intent and hopefully breakage should be minimal.
   2371 - Renamed ImDrawList::PathFill() - rarely used directly - to ImDrawList::PathFillConvex() for clarity and consistency.
   2372 - Removed ImFontConfig::MergeGlyphCenterV in favor of a more multipurpose ImFontConfig::GlyphOffset.
   2373 - Style: style.WindowTitleAlign is now a ImVec2 (ImGuiAlign enum was removed). set to (0.5f,0.5f) for horizontal+vertical centering, (0.0f,0.0f) for upper-left, etc.
   2374 - BeginChild(const char*) now applies the stack id to the provided label, consistently with other functions as it should always have been. It shouldn't affect you unless (extremely unlikely) you were appending multiple times to a same child from different locations of the stack id. If that's the case, generate an id with GetId() and use it instead of passing string to BeginChild().
   2375 
   2376 Other Changes:
   2377 
   2378 - InputText(): Added support for CTRL+Backspace (delete word).
   2379 - InputText(): OSX uses Super+Arrows for home/end. Add Shortcut+Backspace support. (#650) [@michaelbartnett]
   2380 - InputText(): Got rid of individual OSX-specific options in ImGuiIO, added a single io.OSXBehaviors flag. (#473, #650)
   2381 - InputText(): Fixed pressing home key on last character when it isn't a trailing \n (#588, #815)
   2382 - InputText(): Fixed state corruption/crash bug in stb_textedit.h redo logic when exhausting undo/redo char buffer. (#715. #681)
   2383 - InputTextMultiline(): Fixed CTRL+DownArrow moving scrolling out of bounds.
   2384 - InputTextMultiline(): Scrollbar fix for when input and latched internal buffers differs in a way that affects vertical scrollbar existence. (#725)
   2385 - ImFormatString(): Fixed an overflow handling bug with implementation of vsnprintf() that do not return -1. (#793)
   2386 - BeginChild(const char*) now applies stack id to provided label, consistent with other widgets. (#894, #713)
   2387 - SameLine() with explicit X position is relative to left of group/columns. (ref #746, #125, #630)
   2388 - SliderInt(), SliderFloat() supports reverse direction (where v_min > v_max). (#854)
   2389 - SliderInt(), SliderFloat() better support for when v_min==v_max. (#919)
   2390 - SliderInt(), SliderFloat() enforces writing back value when interacting, to be consistent with other widgets. (#919)
   2391 - SliderInt, SliderFloat(): Fixed edge case where style.GrabMinSize being bigger than slider width can lead to a division by zero. (#919)
   2392 - Added IsRectVisible() variation with explicit start-end positions. (#768) [@thedmd]
   2393 - Fixed TextUnformatted() clipping bug in the large-text path when horizontal scroll has been applied. (#692, #246)
   2394 - Fixed minor text clipping issue in window title when using font straying above usual line. (#699)
   2395 - Fixed SetCursorScreenPos() fixed not adjusting CursorMaxPos as well.
   2396 - Fixed scrolling offset when using SetScrollY(), SetScrollFromPosY(), SetScrollHere() with menu bar.
   2397 - Fixed using IsItemActive() after EndGroup() or any widget using groups. (#840, #479)
   2398 - Fixed IsItemActive() lagging by one frame on initial widget activation. (#840)
   2399 - Fixed Separator() zero-height bounding box resulting in clipping when laying exactly on top line of clipping rectangle (#860)
   2400 - Fixed PlotLines() PlotHistogram() calling with values_count == 0.
   2401 - Fixed clicking on a window's void while staying still overzealously marking .ini settings as dirty. (#923)
   2402 - Fixed assert triggering when a window has zero rendering but has a callback. (#810)
   2403 - Scrollbar: Fixed rendering when sizes are negative to reduce glitches (which can happen with certain style settings and zero WindowMinSize).
   2404 - EndGroup(): Made IsItemHovered() work when an item was activated within the group. (#849)
   2405 - BulletText(): Fixed stopping to display formatted string after the '##' mark.
   2406 - Closing the focused window restore focus to the first active root window in descending z-order .(part of #727)
   2407 - Word-wrapping: Fixed a bug where we never wrapped after a 1 character word. [@sronsse]
   2408 - Word-wrapping: Fixed TextWrapped() overriding wrap position if one is already set. (#690)
   2409 - Word-wrapping: Fixed incorrect testing for negative wrap coordinates, they are perfectly legal. (#706)
   2410 - ImGuiListClipper: Fixed automatic-height calc path dumbly having user display element 0 twice. (#661, #716)
   2411 - ImGuiListClipper: Fix to behave within column. (#661, #662, #716)
   2412 - ImDrawList: Renamed ImDrawList::PathFill() to ImDrawList::PathFillConvex() for clarity. (BREAKING API)
   2413 - Columns: End() avoid calling Columns(1) if no columns set is open, not sure why it wasn't the case already (pros: faster, cons: exercise less code).
   2414 - ColorButton(): Fix ColorButton showing wrong hex value for alpha. (#1068) [@codecat]
   2415 - ColorEdit4(): better preserve inputting value out of 0..255 range, display then clamped in Hexadecimal form.
   2416 - Shutdown() clear out some remaining pointers for sanity. (#836)
   2417 - Added IMGUI_USE_BGRA_PACKED_COLOR option in imconfig.h (#767, #844) [@thedmd]
   2418 - Style: Removed the inconsistent shadow under RenderCollapseTriangle() (~#707)
   2419 - Style: Added ButtonTextAlign, ImGuiStyleVar_ButtonTextAlign. (#842)
   2420 - ImFont: Allowing to use up to 0xFFFE glyphs in same font (increased from previous 0x8000).
   2421 - ImFont: Added GetGlyphRangesThai() helper. [@nProtect]
   2422 - ImFont: CalcWordWrapPositionA() fixed font scaling with fallback character.
   2423 - ImFont: Calculate and store the approximate texture surface to get an idea of how costly each source font is.
   2424 - ImFontConfig: Added GlyphOffset to explicitly offset glyphs at font build time, useful for merged fonts. Removed MergeGlyphCenterV. (BREAKING API)
   2425 - Clarified asserts in CheckStacksSize() when there is a stack mismatch.
   2426 - Context: Support for #define-ing GImGui and IMGUI_SET_CURRENT_CONTEXT_FUNC to enable custom thread-based hackery (#586)
   2427 - Updated stb_truetype.h to 1.14 (added OTF support, removed warnings). (#883, #976)
   2428 - Updated stb_rect_pack.h to 0.10 (removed warnings). (#883)
   2429 - Added ImGuiMouseCursor_None enum value for convenient usage by app/backends.
   2430 - Clipboard: Added a void* user_data parameter to Clipboard function handlers. (#875) (BREAKING API)
   2431 - Internals: Refactor internal text alignment options to use ImVec2, removed ImGuiAlign. (#842, #222)
   2432 - Internals: Renamed ImLoadFileToMemory to ImFileLoadToMemory to be consistent with ImFileOpen + fix mismatching .h name. (#917)
   2433 - OS/Windows: Fixed Windows default clipboard handler leaving its buffer unfreed on application's exit. (#714)
   2434 - OS/Windows: No default IME handler when compiling for Windows using GCC. (#738)
   2435 - OS/Windows: Now using _wfopen() instead of fopen() to allow passing in paths/filenames with UTF-8 characters. (#917)
   2436 - Tools: binary_to_compressed_c: Avoid ?? trigraphs sequences in string outputs which break some older compilers. (#839)
   2437 - Demo: Added an extra 3-way columns demo.
   2438 - Demo: ShowStyleEditor: show font character map / grid in more details.
   2439 - Demo: Console: Fixed a completion bug when multiple candidates are equals and match until the end.
   2440 - Demo: Fixed 1-byte off overflow in the ShowStyleEditor() combo usage. (#783) [@bear24rw]
   2441 - Examples: Accessing ImVector fields directly, feel less stl-ey. (#810)
   2442 - Examples: OpenGL*: Saving/restoring existing scissor rectangle for completeness. (#807)
   2443 - Examples: OpenGL*: Saving/restoring active texture number (the value modified by glActiveTexture). (#1087, #1088, #1116)
   2444 - Examples: OpenGL*: Saving/restoring separate color/alpha blend functions correctly. (#1120) [@greggman]
   2445 - Examples: OpenGL2: Uploading font texture as RGBA32 to increase compatibility with users shaders for beginners. (#824)
   2446 - Examples: Vulkan: Countless fixes and improvements. (#785, #804, #910, #1017, #1039, #1041, #1042, #1043, #1080) [@martty, @Loftilus, @ParticlePeter, @SaschaWillems]
   2447 - Examples: DirectX9/10/10: Only call SetCursor(NULL) is io.MouseDrawCursor is set. (#585, #909)
   2448 - Examples: DirectX9: Explicitly setting viewport to match that other examples are doing. (#937)
   2449 - Examples: GLFW+OpenGL3: Fixed Shutdown() calling GL functions with NULL parameters if NewFrame was never called. (#800)
   2450 - Examples: GLFW+OpenGL2: Renaming opengl_example/ to opengl2_example/ for clarity.
   2451 - Examples: SDL+OpenGL: explicitly setting GL_UNPACK_ROW_LENGTH to reduce issues because SDL changes it. (#752)
   2452 - Examples: SDL2: Added build .bat files for Win32.
   2453 - Added various links to language/engine bindings.
   2454 - Various other minor fixes, tweaks, comments, optimizations.
   2455 
   2456 
   2457 -----------------------------------------------------------------------
   2458  VERSION 1.49 (2016-05-09)
   2459 -----------------------------------------------------------------------
   2460 
   2461 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.49
   2462 
   2463 Breaking Changes:
   2464 
   2465 - Renamed `SetNextTreeNodeOpened()` to `SetNextTreeNodeOpen()` for consistency, no redirection.
   2466 - Removed confusing set of `GetInternalState()`, `GetInternalStateSize()`, `SetInternalState()` functions. Now using `CreateContext()`, `DestroyContext()`, `GetCurrentContext()`, `SetCurrentContext()`. If you were using multiple contexts the change should be obvious and trivial.
   2467 - Obsoleted old signature of `CollapsingHeader(const char* label, const char* str_id = NULL, bool display_frame = true, bool default_open = false)`, as extra parameters were badly designed and rarely used. Most uses were using 1 parameter and shouldn't affect you. You can replace the "default_open = true" flag in new API with `CollapsingHeader(label, ImGuiTreeNodeFlags_DefaultOpen)`.
   2468 - Changed `ImDrawList::PushClipRect(ImVec4 rect)` to `ImDraw::PushClipRect(ImVec2 min,ImVec2 max,bool intersect_with_current_clip_rect=false)`. Note that higher-level `ImGui::PushClipRect()` is preferable because it will clip at logic/widget level, whereas `ImDrawList::PushClipRect()` only affect your renderer.
   2469 - Title bar (using ImGuiCol_TitleBg/ImGuiCol_TitleBgActive colors) isn't rendered over a window background (ImGuiCol_WindowBg color) anymore (see #655). If your TitleBg/TitleBgActive alpha was 1.0f or you are using the default theme it will not affect you. However if your TitleBg/TitleBgActive alpha was <1.0f you need to tweak your custom theme to readjust for the fact that we don't draw a WindowBg background behind the title bar.
   2470   This helper function will convert an old TitleBg/TitleBgActive color into a new one with the same visual output, given the OLD color and the OLD WindowBg color. (Or If this is confusing, just pick the RGB value from title bar from an old screenshot and apply this as TitleBg/TitleBgActive. Or you may just create TitleBgActive from a tweaked TitleBg color.)
   2471 
   2472     ImVec4 ConvertTitleBgCol(const ImVec4& win_bg_col, const ImVec4& title_bg_col)
   2473     {
   2474        float new_a = 1.0f - ((1.0f - win_bg_col.w) * (1.0f - title_bg_col.w));
   2475        float k = title_bg_col.w / new_a;
   2476        return ImVec4((win_bg_col.x * win_bg_col.w + title_bg_col.x) * k, (win_bg_col.y * win_bg_col.w + title_bg_col.y) * k, (win_bg_col.z * win_bg_col.w + title_bg_col.z) * k, new_a);
   2477     }
   2478 
   2479 Other changes:
   2480 
   2481 - New version of ImGuiListClipper helper calculates item height automatically. See comments and demo code. (#662, #661, #660)
   2482 - Added SetNextWindowSizeConstraints() to enable basic min/max and programmatic size constraints on window. Added demo. (#668)
   2483 - Added PushClipRect()/PopClipRect() (previously part of imgui_internal.h). Changed ImDrawList::PushClipRect() prototype. (#610)
   2484 - Added IsRootWindowOrAnyChildHovered() helper. (#615)
   2485 - Added TreeNodeEx() functions. (#581, #600, #190)
   2486 - Added ImGuiTreeNodeFlags_Selected flag to display TreeNode as "selected". (#581, #190)
   2487 - Added ImGuiTreeNodeFlags_AllowOverlapMode flag. (#600)
   2488 - Added ImGuiTreeNodeFlags_NoTreePushOnOpen flag (#590).
   2489 - Added ImGuiTreeNodeFlags_NoAutoOpenOnLog flag (previously private).
   2490 - Added ImGuiTreeNodeFlags_DefaultOpen flag (previously private).
   2491 - Added ImGuiTreeNodeFlags_OpenOnDoubleClick flag.
   2492 - Added ImGuiTreeNodeFlags_OpenOnArrow flag.
   2493 - Added ImGuiTreeNodeFlags_Leaf flag, always opened, no arrow, for convenience. For simple use case prefer using TreeAdvanceToLabelPos()+Text().
   2494 - Added ImGuiTreeNodeFlags_Bullet flag, to add a bullet to Leaf node or replace Arrow with a bullet.
   2495 - Added TreeAdvanceToLabelPos(), GetTreeNodeToLabelSpacing() helpers. (#581, #324)
   2496 - Added CreateContext()/DestroyContext()/GetCurrentContext()/SetCurrentContext(). Obsoleted nearly identical GetInternalState()/SetInternalState() functions. (#586, #269)
   2497 - Added NewLine() to undo a SameLine() and as a shy reminder that horizontal layout support hasn't been implemented yet.
   2498 - Added IsItemClicked() helper. (#581)
   2499 - Added CollapsingHeader() variant with close button. (#600)
   2500 - Fixed MenuBar missing lower border when borders are enabled.
   2501 - InputText(): Fixed clipping of cursor rendering in case it gets out of the box (which can be forced w/ ImGuiInputTextFlags_NoHorizontalScroll. (#601)
   2502 - Style: Changed default IndentSpacing from 22 to 21. (#581, #324)
   2503 - Style: Fixed TitleBg/TitleBgActive color being rendered above WindowBg color, which was inconsistent and causing visual artifact. (#655)
   2504   This broke the meaning of TitleBg and TitleBgActive. Only affect values where Alpha<1.0f. Fixed default theme. Read comments in "API BREAKING CHANGES" section to convert.
   2505 - Relative rendering of order of Child windows creation is preserved, to allow more control with overlapping children. (#595)
   2506 - Fixed GetWindowContentRegionMax() being off by ScrollbarSize amount when explicit SizeContents is set.
   2507 - Indent(), Unindent(): optional non-default indenting width. (#324, #581)
   2508 - Bullet(), BulletText(): Slightly bigger. Less polygons.
   2509 - ButtonBehavior(): fixed subtle old bug when a repeating button would also return true on mouse release (barely noticeable unless RepeatRate is set to be very slow). (#656)
   2510 - BeginMenu(): a menu that becomes disabled while open gets closed down, facilitate user's code. (#126)
   2511 - BeginGroup(): fixed using within Columns set. (#630)
   2512 - Fixed a lag in reading the currently hovered window when dragging a window. (#635)
   2513 - Obsoleted 4 parameters version of CollapsingHeader(). Refactored code into TreeNodeBehavior. (#600, #579)
   2514 - Scrollbar: minor fix for top-right rounding of scrollbar background when window has menu bar but no title bar.
   2515 - MenuItem(): the check mark renders in disabled color when menu item is disabled.
   2516 - Fixed clipping rectangle floating point representation to ensure renderer-side float point operations yield correct results in typical DirectX/GL settings. (#582, 597)
   2517 - Fixed GetFrontMostModalRootWindow(), fixing missing fade-out when a combo pop was used stacked over a modal window. (#604)
   2518 - ImDrawList: Added AddQuad(), AddQuadFilled() helpers.
   2519 - ImDrawList: AddText() refactor, moving some code to ImFont, reserving less unused vertices when large vertical clipping occurs.
   2520 - ImFont: Added RenderChar() helper.
   2521 - ImFont: Added AddRemapChar() helper. (#609)
   2522 - ImFontConfig: Clarified persistence requirement of GlyphRanges array. (#651)
   2523 - ImGuiStorage: Added bool helper functions for completeness.
   2524 - AddFontFromMemoryCompressedTTF(): Fix ImFontConfig propagation. (#587)
   2525 - Renamed majority of use of the word "opened" to "open" for clarity. Renamed SetNextTreeNodeOpened() to SetNextTreeNodeOpen(). (#625, #579)
   2526 - Examples: OpenGL3: Saving/restoring glActiveTexture() state. (#602)
   2527 - Examples: DirectX9: save/restore all device state.
   2528 - Examples: DirectX9: Removed dependency on d3dx9.h, d3dx9.lib, dxguid.lib so it can be used in a DirectXMath.h only environment. (#611)
   2529 - Examples: DirectX10/X11: Apply depth-stencil state (no use of depth buffer). (#640, #636)
   2530 - Examples: DirectX11/X11: Added comments on removing dependency on D3DCompiler. (#638)
   2531 - Examples: SDL: Initialize video+timer subsystem only.
   2532 - Examples: Apple/iOS: lowered XCode project deployment target from 10.7 to 10.11. (#598, #575)
   2533 
   2534 
   2535 -----------------------------------------------------------------------
   2536  VERSION 1.48 (2016-04-09)
   2537 -----------------------------------------------------------------------
   2538 
   2539 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.48
   2540 
   2541 Breaking Changes:
   2542 
   2543 - Consistently honoring exact width passed to PushItemWidth() (when positive), previously it would add extra FramePadding.x*2 over that width. Some hand-tuned layout may be affected slightly. (#346)
   2544 - Style: removed `style.WindowFillAlphaDefault` which was confusing and redundant, baked alpha into `ImGuiCol_WindowBg` color. If you had a custom WindowBg color but didn't change WindowFillAlphaDefault, multiply WindowBg alpha component by 0.7. Renamed `ImGuiCol_TooltipBg` to `ImGuiCol_PopupBG`, applies to other types of pop-ups. `bg_alpha` parameter of 5-parameters version of Begin() is an override. (#337)
   2545 - InputText(): Added BufTextLen field in ImGuiTextEditCallbackData. Requesting user to update it if the buffer is modified in the callback. Added a temporary length-check assert to minimize panic for the 3 people using the callback. (#541)
   2546 - Renamed GetWindowFont() to GetFont(), GetWindowFontSize() to GetFontSize(). Kept inline redirection function (will obsolete). (#340)
   2547 
   2548 Other Changes:
   2549 
   2550 - Consistently honoring exact width passed to PushItemWidth(), previously it would add extra FramePadding.x*2 over that width. Some hand-tuned layout may be affected slightly. (#346)
   2551 - Fixed clipping of child windows within parent not taking account of child outer clipping boundaries (including scrollbar, etc.). (#506)
   2552 - TextUnformatted(): Fixed rare crash bug with large blurb of text (2k+) not finished with a '\n' and fully above the clipping Y line. (#535)
   2553 - IO: Added 'KeySuper' field to hold CMD keyboard modifiers for OS X. Updated all examples accordingly. (#473)
   2554 - Added ImGuiWindowFlags_ForceVerticalScrollbar, ImGuiWindowFlags_ForceHorizontalScrollbar flags. (#476)
   2555 - Added IM_COL32 macros to generate a U32 packed color, convenient for direct use of ImDrawList api. (#346)
   2556 - Added GetFontTexUvWhitePixel() helper, convenient for direct use of ImDrawList api.
   2557 - Selectable(): Added ImGuiSelectableFlags_AllowDoubleClick flag to allow user reacting on double-click. (@zapolnov) (#516)
   2558 - Begin(): made the close button explicitly set the boolean to false instead of toggling it. (#499)
   2559 - BeginChild()/EndChild(): fixed incorrect layout to allow widgets submitted after an auto-fitted child window. (#540)
   2560 - BeginChild(): Added ImGuiWindowFlags_AlwaysUseWindowPadding flag to ensure non-bordered child window uses window padding. (#462)
   2561 - Fixed InputTextMultiLine(), ListBox(), BeginChildFrame(), ProgressBar(): outer frame not honoring bordering. (#462, #503)
   2562 - Fixed Image(), ImageButtion() rendering a rectangle 1 px too large on each axis. (#457)
   2563 - SetItemAllowOverlap(): Promoted from imgui_internal.h to public imgui.h api. (#517)
   2564 - Combo(): Right-most button stays highlighted when pop-up is open.
   2565 - Combo(): Display pop-up above if there's isn't enough space below / or select largest side. (#505)
   2566 - DragFloat(), SliderFloat(), InputFloat(): fixed cases of erroneously returning true repeatedly after a text input modification (e.g. "0.0" --> "0.000" would keep returning true). (#564)
   2567 - DragFloat(): Always apply value when mouse is held/widget active, so that an always-resetting variable (e.g. non saved local) can be passed.
   2568 - InputText(): OS X friendly behaviors: Word movement uses ALT key; Shortcuts uses CMD key; Double-clicking text select a single word; Jumping to next word sets cursor to end of current word instead of beginning of current word. (@zhiayang), (#473)
   2569 - InputText(): Added BufTextLen in ImGuiTextEditCallbackData. Requesting user to maintain it if buffer is modified. Zero-ing structure properly before use. (#541)
   2570 - CheckboxFlags(): Added support for testing/setting multiple flags at the same time. (@DMartinek) (#555)
   2571 - TreeNode(), CollapsingHeader() fixed not being able to use "##" sequence in a formatted label.
   2572 - ColorEdit4(): Empty label doesn't add InnerSpacing.x, matching behavior of other widgets. (#346)
   2573 - ColorEdit4(): Removed unnecessary calls to scanf() when idle in hexadecimal edit mode.
   2574 - BeginPopupContextItem(), BeginPopupContextWindow(): added early out optimization.
   2575 - CaptureKeyboardFromApp() / CaptureMouseFromApp(): added argument to allow clearing the capture flag. (#533)
   2576 - ImDrawList: Fixed index-overflow check broken by AddText() casting current index back to ImDrawIdx. (#514)
   2577 - ImDrawList: Fixed incorrect removal of trailing draw command if it is a callback command.
   2578 - ImDrawList: Allow windows with only a callback only to be functional. (#524)
   2579 - ImDrawList: Fixed ImDrawList::AddRect() which used to render a rectangle 1 px too large on each axis. (#457)
   2580 - ImDrawList: Fixed ImDrawList::AddCircle() to fit precisely within bounding box like AddCircleFilled() and AddRectFilled(). (#457)
   2581 - ImDrawList: AddCircle(), AddRect() takes optional thickness parameter.
   2582 - ImDrawList: Added AddTriangle().
   2583 - ImDrawList: Added PrimQuadUV() helper to ease custom rendering of textured quads (require primitive reserve).
   2584 - ImDrawList: Allow AddText(ImFont\* font, float font_size, ...) variant to take NULL/0.0f as default.
   2585 - ImFontAtlas: heuristic increase default texture width up for large number of glyphs. (#491)
   2586 - ImTextBuffer: Fixed empty() helper which was utterly broken.
   2587 - Metrics: allow to inspect individual triangles in draw calls.
   2588 - Demo: added more draw primitives in the Custom Rendering example. (#457)
   2589 - Demo: extra comments and example for PushItemWidth(-1) patterns.
   2590 - Demo: InputText password demo filters out blanks. (#515)
   2591 - Demo: Fixed malloc/free mismatch and leak when destructing demo console, if it has been used. (@fungos) (#536)
   2592 - Demo: plot code doesn't use ImVector to avoid heap allocation and be more friendly to custom allocator users. (#538)
   2593 - Fixed compilation on DragonFly BSD (@mneumann) (#563)
   2594 - Examples: Vulkan: Added a Vulkan example (@Loftilus) (#549)
   2595 - Examples: DX10, DX11: Saving/restoring most device state so dropping render function in your codebase shouldn't have DX device side-effects. (#570)
   2596 - Examples: DX10, DX11: Fixed ImGui_ImplDX??_NewFrame() from recreating device objects if render isn't called (g_pVB not set).
   2597 - Examples: OpenGL3: Fix BindVertexArray/BindBuffer order. (@nlguillemot) (#527)
   2598 - Examples: OpenGL: skip rendering and calling glViewport() if we have zero-fixed buffer. (#486)
   2599 - Examples: SDL2+OpenGL3: Fix context creation options. Made ImGui_ImplSdlGL3_NewFrame() signature match GL2 one. (#468, #463)
   2600 - Examples: SDL2+OpenGL2/3: Fix for high-dpi displays. (@nickgravelyn)
   2601 - Various extra comments and clarification in the code.
   2602 - Various other fixes and optimizations.
   2603 
   2604 
   2605 -----------------------------------------------------------------------
   2606  VERSION 1.47 (2015-12-25)
   2607 -----------------------------------------------------------------------
   2608 
   2609 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.47
   2610 
   2611 Changes:
   2612 
   2613 - Rebranding "ImGui" -> "dear imgui" as an optional first name to reduce ambiguity with IMGUI term. (#21)
   2614 - Added ProgressBar(). (#333)
   2615 - InputText(): Added ImGuiInputTextFlags_Password mode: hide display, disable logging/copying to clipboard. (#237, #363, #374)
   2616 - Added GetColorU32() helper to retrieve color given enum with global alpha and extra applied.
   2617 - Added ImGuiIO::ClearInputCharacters() superfluous helper.
   2618 - Fixed ImDrawList draw command merging bug where using PopClipRect() along with PushTextureID()/PopTextureID() functions
   2619   would occasionally restore an incorrect clipping rectangle.
   2620 - Fixed ImDrawList draw command merging so PushTextureID(XXX)/PopTextureID()/PushTextureID(XXX) sequence are now properly merged.
   2621 - Fixed large popups positioning issues when their contents on either axis is larger than DisplaySize,
   2622   and WindowPadding < DisplaySafeAreaPadding.
   2623 - Fixed border rendering in various situations when using non-pixel aligned glyphs.
   2624 - Fixed border rendering of windows to always contain the border within the window.
   2625 - Fixed Shutdown() leaking font atlas data if NewFrame() was never called. (#396, #303)
   2626 - Fixed int>void\* warnings for 64-bit architectures with fancy warnings enabled.
   2627 - Renamed the dubious Color() helpers to ValueColor() - dangerously named, rarely used and probably to be made obsolete.
   2628 - InputText(): Fixed and better handling of using keyboard while mouse button if being held and dragging. (#429)
   2629 - InputText(): Replace OS IME (Input Method Editor) cursor on top-left when we are not text editing.
   2630 - TreeNode(), CollapsingHeader(), Bullet(), BulletText(): various sizing and layout fixes to better support laying out
   2631   multiple item with different height on same line. (#414, #282)
   2632 - Begin(): Initial window creation with ImGuiWindowFlags_NoBringToFrontOnFocus flag pushes it at the front of global window list.
   2633 - BeginPopupContextWindow() and BeginPopupContextVoid() reopen window on subsequent click. (#439)
   2634 - ColorEdit4(): Fixed broken tooltip on hovering the color button. (actually fixes #373, #380)
   2635 - ImageButton(): uses FrameRounding up to a maximum of available framing size. (#394)
   2636 - Columns: Fixed bug with indentation within columns, also making code a bit shorter/faster. (#414, #125)
   2637 - Columns: Columns set with no implicit id include the columns count within the id to reduce collisions. (#125)
   2638 - Columns: Removed one unnecessary allocation when columns are not used by a window. (#125)
   2639 - ImFontAtlas: Tweaked GetGlyphRangesJapanese() so it is easier to modify.
   2640 - ImFontAtlas: Updated stb_rect_pack.h to 0.08.
   2641 - Metrics: Fixed computing ImDrawCmd bounding box when the draw buffer have been unindexed.
   2642 - Demo: Added a simple "Property Editor" demo applet. (#125, #414)
   2643 - Demo: Fixed assertion in "Custom Rendering" demo when holding both mouse buttons. (#393)
   2644 - Demo: Lots of extra comments, fixes.
   2645 - Demo: Tweaks to Style Editor.
   2646 - Examples: Not clearing input data/tex data in atlas (will be required for dynamic atlas anyway).
   2647 - Examples: Added /Zi (output debug information) to Win32 batch files.
   2648 - Examples: Various fixes for resizing window and recreating graphic context.
   2649 - Examples: OpenGL2/3: Save/restore viewport as part of default render function. (#392, #441).
   2650 - Examples; OpenGL3: Fixed gl3w.c for Linux when compiled with a C++ compiler. (#411)
   2651 - Examples: DirectX: Removed assumption about Unicode build in example main.cpp. (#399)
   2652 - Examples: DirectX10: Added DirectX10 example. (#424)
   2653 - Examples: DirectX11: Downgraded requirement from shader model 5.0 to 4.0. (#420)
   2654 - Examples: DirectX11: Removed Debug flag from graphics context. (#415)
   2655 - Examples: Added SDL+OpenGL3 example. (#356)
   2656 
   2657 
   2658 -----------------------------------------------------------------------
   2659  VERSION 1.46 (2015-10-18)
   2660 -----------------------------------------------------------------------
   2661 
   2662 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.46
   2663 
   2664 Changes:
   2665 
   2666 - Begin*(): added ImGuiWindowFlags_NoFocusOnAppearing flag. (#314)
   2667 - Begin*(): added ImGuiWindowFlags_NoBringToFrontOnFocus flag.
   2668 - Added GetDrawData() alternative to setting a Render function pointer in ImGuiIO structure.
   2669 - Added SetClipboardText(), GetClipboardText() helper shortcuts that user code can call directly without reading
   2670   from the ImGuiIO structure (to match MemAlloc/MemFree)
   2671 - Fixed handling of malformed UTF-8 at the end of a non-zero terminated string range.
   2672 - Fixed mouse click detection when passing DeltaTime 0.0. (#338)
   2673 - Fixed IsKeyReleased() and IsMouseReleased() returning true on the first frame.
   2674 - Fixed using SetNextWindow\* functions on Modal windows with a ImGuiSetCond_Appearing condition. (#377)
   2675 - IsMouseHoveringRect(): Added 'bool clip' parameter to disable clipping provided rectangle. (#316)
   2676 - InputText(): added ImGuiInputTextFlags_ReadOnly flag. (#211)
   2677 - InputText(): lose cursor/undo-stack when reactivating focus is buffer has changed size.
   2678 - InputText(): fixed ignoring text inputs when ALT or ALTGR are pressed. (#334)
   2679 - InputText(): fixed mouse-dragging not tracking the cursor when text doesn't fit. (#339)
   2680 - InputText(): fixed cursor pixel-perfect alignment when horizontally scrolling.
   2681 - InputText(): fixed crash when passing a buf_size==0 (which can be of use for read-only selectable text boxes). (#360)
   2682 - InputFloat() fixed explicit precision modifier, both display and input were broken.
   2683 - PlotHistogram(): improved rendering of histogram with a lot of values.
   2684 - Dummy(): creates an item so functions such as IsItemHovered() can be used.
   2685 - BeginChildFrame() helper: added the extra_flags parameter.
   2686 - Scrollbar: fixed rounding of background + child window consistenly have ChildWindowBg color under ScrollbarBg fill. (#355).
   2687 - Scrollbar: background color less translucent in default style so it works better when changing background color.
   2688 - Scrollbar: fixed minor rendering offset when borders are enabled. (#365)
   2689 - ImDrawList: fixed 1 leak per ImDrawList using the ChannelsSplit() API (via Columns). (#318)
   2690 - ImDrawList: fixed rectangle rendering glitches with width/height <= 1/2 and rounding enabled.
   2691 - ImDrawList: AddImage() uv parameters default to (0,0) and (1,1).
   2692 - ImFontAtlas: Added TexDesiredWidth and tweaked default cheapo best-width choice. (#327)
   2693 - ImFontAtlas: Added GetGlyphRangesKorean() helper to retrieve unicode ranges for Korean. (#348)
   2694 - ImGuiTextFilter::Draw() helper return bool and build when filter is modified.
   2695 - ImGuiTextBuffer: added c_str() helper.
   2696 - ColorEdit4(): fixed hovering the color button always showing 1.0 alpha. (#373)
   2697 - ColorConvertFloat4ToU32() round the floats instead of truncating them.
   2698 - Window: Fixed window lower-right clipping limit so it plays more friendly with both OpenGL and DirectX coordinates.
   2699 - Internal: Extracted a EndFrame() function out of Render() but kept it internal/private + clarified some asserts. (#335)
   2700 - Internal: Added missing IMGUI_API definitions in imgui_internal.h (#326)
   2701 - Internal: ImLoadFileToMemory() return void\* instead of taking void*\* + allow optional int\* file_size.
   2702 - Demo: Horizontal scrollbar demo allows to enable simultanaeous scrollbars on both axises.
   2703 - Tools: binary_to_compressed_c.cpp: added -nocompress option.
   2704 - Examples: Added example for the Marmalade platform.
   2705 - Examples: Added batch files to build Windows examples with VS.
   2706 - Examples: OpenGL3: Saving/restoring more GL state correctly. (#347)
   2707 - Examples: OpenGL2/3: Added msys2/mingw64 target to Makefiles.
   2708 
   2709 
   2710 -----------------------------------------------------------------------
   2711  VERSION 1.45 (2015-09-01)
   2712 -----------------------------------------------------------------------
   2713 
   2714 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.45
   2715 
   2716 Breaking Changes:
   2717 
   2718 - With the addition of better horizontal scrolling primitives I had to make some consistency fixes.
   2719   `GetCursorPos()` `SetCursorPos()` `GetContentRegionMax()` `GetWindowContentRegionMin()` `GetWindowContentRegionMax()`
   2720   are now incorporating the scrolling amount. They were incorrectly not incorporating this amount previously.
   2721   It PROBABLY shouldn't break anything, but that depends on how you used them. Namely:
   2722   - If you always used SetCursorPos() with values relative to GetCursorPos() there shouldn't be a problem.
   2723     However if you used absolute coordinates, note that SetCursorPosY(100.0f) will put you at +100 from the initial Y position (which may be scrolled out of the view), NOT at +100 from the window top border. Since there wasn't any official scrolling value on X axis (past just manually moving the cursor) this can only affect you if you used to set absolute coordinates on the Y axis which is hopefully rare/unlikely, and trivial to fix.
   2724   - The value of GetWindowContentRegionMax() isn't necessarily close to GetWindowWidth() if horizontally scrolling.
   2725     Previously they were roughly interchangeable (roughly because the content region exclude window padding).
   2726 
   2727 Other Changes:
   2728 
   2729 - Added Horizontal Scrollbar via ImGuiWindowFlags_HorizontalScroll (#246).
   2730 - Added GetScrollX(), GetScrollX(), GetScrollMaxX() apis (#246).
   2731 - Added SetNextWindowContentSize(), SetNextWindowContentWidth() to explicitly set the content size of a window, which
   2732   define the range of scrollbar. When set explicitly it also define the base value from which widget width are derived.
   2733 - Added IO.WantTextInput telling when ImGui is expecting text input, so that e.g. OS on-screen keyboard can be enabled.
   2734 - Added printf attribute to printf-like text formatting functions (Clang/GCC).
   2735 - Added GetMousePosOnOpeningCurrentPopup() helper.
   2736 - Added GetContentRegionAvailWidth() helper.
   2737 - Malformed UTF-8 data don't terminate string, output 0xFFFD instead (#307).
   2738 - ImDrawList: Added AddBezierCurve(), PathBezierCurveTo() API for cubic bezier curves (#311).
   2739 - ImDrawList: Allow to override ImDrawIdx type (#292).
   2740 - ImDrawList: Added an assert on overflowing index value (#292).
   2741 - ImDrawList: Fixed issues with channels split/merge. Now functional without manually adding a draw cmd. Added comments.
   2742 - ImDrawData: Added ScaleClipRects() helper useful when rendering scaled. (#287).
   2743 - Fixed Bullet() inconsistent layout behaviour when clipped.
   2744 - Fixed IsWindowHovered() not taking account of window hoverability (may be disabled because of a popup).
   2745 - Fixed InvisibleButton() not honoring negative size consistently with other widgets that do so.
   2746 - Fixed OpenPopup() accessing current window, effectively opening "Debug" when called from an empty window stack.
   2747 - TreeNode(): Fixed IsItemHovered() result being inconsistent with interaction visuals (#282).
   2748 - TreeNode(): Fixed mouse interaction padding past the node label being accounted for in layout (#282).
   2749 - BeginChild(): Passing a ImGuiWindowFlags_NoMove inhibits moving parent window from this child.
   2750 - BeginChild() fixed missing rounding for child sizes which leaked into layout and have items misaligned.
   2751 - Begin(): Removed default name = "Debug" parameter. We already have a "Debug" window pushed to the stack in the first place so it's not really a useful default.
   2752 - Begin(): Minor fixes with windows main clipping rectangle (e.g. child window with border).
   2753 - Begin(): Window flags are only read on the first call of the frame. Subsequent calls ignore flags, which allows appending to a window without worryin about flags.
   2754 - InputText(): ignore character input when ctrl/alt are held. (Normally those text input are ignored by most wrappers.) (#279).
   2755 - Demo: Fixed incorrectly formed string passed to Combo (#298).
   2756 - Demo: Added simple Log demo.
   2757 - Demo: Added horizontal scrolling example + enabled in console, log and child examples (#246).
   2758 - Style: made scrollbars rounded by default. Because nice. Minor menu bar background alpha tweak. (#246)
   2759 - Metrics: display indices along with triangles count (#299) and some internal state.
   2760 - ImGuiTextFilter::PassFilter() supports string range. Added [] helper to ImGuiTextBuffer.
   2761 - ImGuiTextFilter::Draw() default parameter width=0.0f for no override, allow override with negative values.
   2762 - Examples: OpenGL2/OpenGL3: fix for retina displays. Default font current lack crispness.
   2763 - Examples: OpenGL2/OpenGL3: save/restore more GL state correctly.
   2764 - Examples: DirectX9/DirectX11: resizing buffers dynamically (#299).
   2765 - Examples: DirectX9/DirectX11: added missing middle mouse button to Windows event handler.
   2766 - Examples: DirectX11: fix for Visual Studio 2015 presumably shipping with an updated version of DX11.
   2767 - Examples: iOS: fixed missing files in project.
   2768 
   2769 
   2770 -----------------------------------------------------------------------
   2771  VERSION 1.44 (2015-08-08)
   2772 -----------------------------------------------------------------------
   2773 
   2774 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.44
   2775 
   2776 Breaking Changes:
   2777 
   2778 - imgui.cpp has been split intro extra files: imgui_demo.cpp, imgui_draw.cpp, imgui_internal.h.
   2779   Add the two extra .cpp to your project or #include them from another .cpp file. (#219)
   2780 
   2781 Other Changes:
   2782 
   2783 - Internal data structure and several useful functions are now exposed in imgui_internal.h. This should make it easier
   2784   and more natural to extend ImGui. However please note that none of the content in imgui_internal.h is guaranteed
   2785   for forward-compatibility and code using those types/functions may occasionally break. (#219)
   2786 - All sample code is in imgui_demo.cpp. Please keep this file in your project and consider allowing your code to call
   2787   the ShowTestWindow() function as de-facto guide to ImGui features. It will be stripped out by the linker when unused.
   2788 - Added GetContentRegionAvail() helper (basically GetContentRegionMax() - GetCursorPos()).
   2789 - Added ImGuiWindowFlags_NoInputs for totally input-passthru window.
   2790 - Button(): honor negative size consistently with other widgets that do so (width -100 to align the button 100 pixels
   2791   before the right-most position of the contents region).
   2792 - InputTextMultiline(): honor negative size consistently with other widgets that do so.
   2793 - Combo() clamp popup to lower edge of visible area.
   2794 - InputInt(): value doesn't pass through an int>float>int casting chain, fix handling lost of precision with "large" integer.
   2795 - InputInt() allow hexadecimal input (awkwardly via ImGuiInputTextFlags_CharsHexadecimal but we will allow format
   2796   string in InputInt* later).
   2797 - Checkbox(), RadioButton(): fixed scaling of checkbox and radio button for the filling of "active" visual.
   2798 - Columns: never assume horizontal space for scrollbar if NoScrollbar flag is explicitly set.
   2799 - Slider: fixed using FramePadding between frame and grab visual. Scaling that spacing would look odd.
   2800 - Fixed lower-right resize grip hit box not scaling along with its rendered size (#287)
   2801 - ImDrawList: Fixed angles in ImDrawList::PathArcTo(), PathArcToFast() (v1.43) being off by an extra PI for no reason.
   2802 - ImDrawList: Added ImDrawList::AddText() shorthand helper.
   2803 - ImDrawList: Add missing support for anti-aliased thick-lines (#133, also ref #288)
   2804 - ImFontAtlas: Added AddFontFromMemoryCompressedBase85TTF() to load base85 encoded font string. Default font encoded
   2805   as base85 saves ~100 lines / 26 KB of source code. Added base85 output to the binary_to_compressed_c tool.
   2806 - Build fix for MinGW (#276).
   2807 - Examples: OpenGL3: Fixed running on script core profiles for OSX (#277).
   2808 - Examples: OpenGL3: Simplified code using glBufferData for vertices as well (#277, #278)
   2809 - Examples: DirectX11: Clear font texture view to ensure Release() doesn't get called twice (#290).
   2810 - Updated to stb_truetype 1.07 (back to vanilla version as our minor changes are now in master & fix unlikely assert
   2811   with odd fonts (#280)
   2812 
   2813 
   2814 -----------------------------------------------------------------------
   2815  VERSION 1.43 (2015-07-17)
   2816 -----------------------------------------------------------------------
   2817 
   2818 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.43
   2819 
   2820 Breaking Changes:
   2821 
   2822 - This is a rather important release and we unfortunately had to break the rendering API.
   2823   ImGui now requires you to render indexed vertices instead of non-indexed ones. The fix should be very easy.
   2824   Sorry for that! This change is saving a fair amount of CPU/GPU and enables us to get anti-aliasing for a marginal cost.
   2825   Each ImDrawList now contains both a vertex buffer and an index buffer. For each command, render ElemCount/3 triangles
   2826   using indices from the index buffer.
   2827 - If you are using a vanilla copy of one of the imgui_impl_XXXX.cpp provided in the example, you just need to update
   2828   your copy and you can ignore the rest.
   2829 - The signature of the io.RenderDrawListsFn handler has changed
   2830   From:  ImGui_XXXX_RenderDrawLists(ImDrawList** const cmd_lists, int cmd_lists_count)
   2831   To:    ImGui_XXXX_RenderDrawLists(ImDrawData* draw_data)
   2832   With:  argument   'cmd_lists'        -> 'draw_data->CmdLists'
   2833          argument   'cmd_lists_count'  -> 'draw_data->CmdListsCount'
   2834          ImDrawList 'commands'         -> 'CmdBuffer'
   2835          ImDrawList 'vtx_buffer'       -> 'VtxBuffer'
   2836          ImDrawList  n/a               -> 'IdxBuffer' (new)
   2837          ImDrawCmd  'vtx_count'        -> 'ElemCount'
   2838          ImDrawCmd  'clip_rect'        -> 'ClipRect'
   2839          ImDrawCmd  'user_callback'    -> 'UserCallback'
   2840          ImDrawCmd  'texture_id'       -> 'TextureId'
   2841 - If you REALLY cannot render indexed primitives, you can call the draw_data->DeIndexAllBuffers() method to de-index
   2842   the buffers. This is slow and a waste of CPU/GPU. Prefer using indexed rendering!
   2843   Refer to code in the examples/ folder or ask on the GitHub if you are unsure of how to upgrade. Please upgrade!
   2844 
   2845 Other Changes:
   2846 
   2847 - Added anti-aliasing on lines and shapes based on primitives by @MikkoMononen (#133).
   2848   Between the use of indexed-rendering and the fact that the entire rendering codebase has been optimized and massaged
   2849   enough, with anti-aliasing enabled ImGui 1.43 is now running FASTER than 1.41.
   2850   Made some extra effort in making the code run faster in your typical Debug build.
   2851 - Anti-aliasing can be disabled in the ImGuiStyle structure via the AntiAliasedLines/AntiAliasedShapes fields for further gains.
   2852 - ImDrawList: Added AddPolyline(), AddConvexPolyFilled() with optional anti-aliasing.
   2853 - ImDrawList: Added stateful path building and stroking API. PathLineTo(), PathArcTo(), PathRect(), PathFill(), PathStroke()
   2854   with optional anti-aliasing.
   2855 - ImDrawList: Added AddRectFilledMultiColor() helper.
   2856 - ImDrawList: Added multi-channel rendering so out of order elements can be rendered in separate channels and then merged
   2857   back together (used by columns).
   2858 - ImDrawList: Fixed merging draw commands when equal clip rectangles are in the two first commands.
   2859 - ImDrawList: Fixed window draw lists not destructed properly on Shutdown().
   2860 - ImDrawData: Added DeIndexAllBuffers() helper.
   2861 - Added lots of new font options ImFontAtlas::AddFont() and the new ImFontConfig structure.
   2862   - Added support for oversampling (ImFontConfig: OversampleH, OversampleV) and sub-pixel positioning (ImFontConfig: PixelSnapH).
   2863     Oversampling allows sub-pixel positioning but can also be used as a way to get some leeway with scaling fonts without re-rasterizing.
   2864   - Added GlyphExtraSpacing option to add extra horizontal spacing between characters (#242).
   2865   - Added MergeMode option to merge glyphs from different font inputs into a same font (#182, #232).
   2866   - Added FontDataOwnedByAtlas option to keep ownership from the TTF data buffer and request the atlas to make a copy (#220).
   2867 - Updated to stb_truetype 1.06 (+ minor mods) with better font rasterization.
   2868 - InputText: Added ImGuiInputTextFlags_NoHorizontalScroll flag.
   2869 - InputText: Added ImGuiInputTextFlags_AlwaysInsertMode flag.
   2870 - InputText: Added HasSelection() helper in ImGuiTextEditCallbackData as a clarification.
   2871 - InputText: Fix for using END key on a multi-line text editor (#275)
   2872 - Columns: Dispatch render of each column in a sub-draw list and merge on closure, saving a lot of draw calls! (#125)
   2873 - Popups: Fixed Combo boxes inside menus. (#272)
   2874 - Style: Added GrabRounding setting to make the sliders etc. grabs rounded.
   2875 - Changed SameLine() parameters from int to float.
   2876 - Fixed incorrect assert triggering when code stole ActiveID from user moving a window by calling e.g. SetKeyboardFocusHere().
   2877 - Fixed CollapsingHeader() label rendering outside its frame in columns context where ClipRect max isn't aligned with the
   2878   right-side of the header.
   2879 - Metrics window: calculate bounding box of actual vertices when hovering a draw list.
   2880 - Examples: Showing more information in the Fonts section.
   2881 - Examples: Added a gratuitous About window.
   2882 - Examples: Updated all examples code (OpenGL/DX9/DX11/SDL/Allegro/iOS) to use indexed rendering.
   2883 - Examples: Fixed the SDL2 example to support Unicode text input (#274).
   2884 
   2885 
   2886 -----------------------------------------------------------------------
   2887  VERSION 1.42 (2015-07-08)
   2888 -----------------------------------------------------------------------
   2889 
   2890 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.42
   2891 
   2892 Breaking Changes:
   2893 
   2894 - Renamed SetScrollPosHere() to SetScrollHere(). Kept inline redirection function (will obsolete).
   2895 - Renamed GetScrollPosY() to GetScrollY(). Necessary to reduce confusion and make scrolling API consistent,
   2896   because positions (e.g. cursor position) are not equivalent to scrolling amount.
   2897 - Removed obsolete GetDefaultFontData() function that would assert anyway.
   2898   If you are updating from <1.30 you'll get a compile error instead of an assertion. (obsoleted 2015/01/11)
   2899 
   2900 Other Changes:
   2901 
   2902 - Added SDL2 example application (courtesy of @CedricGuillemet)
   2903 - Added iOS example application (courtesy of @joeld42)
   2904 - Added Allegro 5 example application (courtesy of @bggd)
   2905 - Added TitleBgActive color in style so focused window is made visible. (#253)
   2906 - Added CaptureKeyboardFromApp() / CaptureMouseFromApp() to manually enforce inputs capturing.
   2907 - Added DragFloatRange2() DragIntRange2() helpers. (#76)
   2908 - Added a Y centering ratio to SetScrollFromCursorPos() which can be used to aim the top or bottom of the window. (#150)
   2909 - Added SetScrollY(), SetScrollFromPos(), GetCursorStartPos() for manual scrolling manipulations. (#150).
   2910 - Added GetKeyIndex() helper for converting from ImGuiKey_\* enum to user's keycodes. Basically pulls from io.KeysMap[].
   2911 - Added missing ImGuiKey_PageUp, ImGuiKey_PageDown so more UI code can be written without referring to implementation-side keycodes.
   2912 - MenuItem() can be activated on release. (#245)
   2913 - Allowing NewFrame() with DeltaTime==0.0f to not assert.
   2914 - Fixed IsMouseDragging(). (#260)
   2915 - Fixed PlotLines(), PlotHistogram() using incorrect hovering test so they would show their tooltip even when there is
   2916   a popup between mouse and the graph.
   2917 - Fixed window padding being reported incorrectly for child windows with borders when parent have no borders.
   2918 - Fixed a bug with TextUnformatted() clipping of long text blob when clipping y1 line sits on the first line of text. (#257)
   2919 - Fixed text baseline alignment of small button (no padding) after regular buttons.
   2920 - Fixed ListBoxHeader() not honoring negative sizes the same way as BeginChild() or BeginChildFrame(). (#263)
   2921 - Fixed warnings for more pedantic compiler settings (#258).
   2922 - ImVector<> cannot be re-defined anymore, cannot be replaced with std::vector<>. Allowed us to clean up and optimize
   2923   lots of code. Yeah! (#262)
   2924 - ImDrawList: store pointer to their owner name for easier auditing/debugging.
   2925 - Examples: added scroll tracking example with SetScrollFromCursorPos().
   2926 - Examples: metrics windows render clip rectangle when hovering over a draw call.
   2927 - Lots of small optimization (particularly to run faster on unoptimized builds) and tidying up.
   2928 - Added font links in extra_fonts/ + instructions for using compressed fonts in C array.
   2929 
   2930 
   2931 -----------------------------------------------------------------------
   2932  VERSION 1.41 (2015-06-26)
   2933 -----------------------------------------------------------------------
   2934 
   2935 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.41
   2936 
   2937 Breaking Changes:
   2938 
   2939 - Changed ImageButton() default bg_col parameter from (0,0,0,1) (black) to (0,0,0,0) (transparent).
   2940   Only makes a difference when texture have transparency.
   2941 - Changed Selectable() API from (label, selected, size) to (label, selected, flags, size).
   2942   Size override should be used very rarely so hopefully it doesn't affect many people. Sorry!
   2943 
   2944 Other Changes:
   2945 
   2946 - Added InputTextMultiline() multi-line text editor, vertical scrolling, selection, optimized enough to handle rather
   2947   big chunks of text in stateless context (thousands of lines are ok), option for allowing Tab to be input, option
   2948   for validating with Return or Ctrl+Return (#200).
   2949 - Added modal window API, BeginPopupModal(), follows the popup api scheme. Modal windows can be closed by clicking
   2950   outside. By default the rest of the screen is dimmed (using ImGuiCol_ModalWindowDarkening). Modal windows can be stacked.
   2951 - Added GetGlyphRangesCyrillic() helper (#237).
   2952 - Added SetNextWindowPosCenter() to center a window prior to knowing its size. (#249)
   2953 - Added IsWindowHovered() helper.
   2954 - Added IsMouseReleased(), IsKeyReleased() helpers to allow to user to avoid tracking them. (#248)
   2955 - Allow Set*WindowSize() calls to be used with popups.
   2956 - Window: AutoFit can be triggered on each axis separately via SetNextWindowSize(), etc.
   2957 - Window: fixed scrolling with mouse wheel while window was collapsed.
   2958 - Window: fixed mouse wheel scroll issues.
   2959 - DragFloat(), SliderFloat(): Fixed rounding of negative numbers which sometime made the negative lower bound unreachable.
   2960 - InputText(): lifted character count limit.
   2961 - InputText(): fixes in case of using per-window font scaling.
   2962 - Selectable(), MenuItem(): do not use frame rounding for hovering/selection.
   2963 - Selectable(): Added flag ImGuiSelectableFlags_DontClosePopups.
   2964 - Selectable(): Added flag ImGuiSelectableFlags_SpanAllColumns (#125).
   2965 - Combo(): Fixed issue with activating a Combo() not taking active id (#241).
   2966 - ColorButton(), ColorEdit4(): fix to ensure that the colored square stays square when non-default padding settings are used.
   2967 - BeginChildFrame(): returns bool like BeginChild() for clipping.
   2968 - SetScrollPosHere(): takes account of item height + more accurate centering + fixed precision issue.
   2969 - ImFont: ignoring '\r'.
   2970 - ImFont: added GetCharAdvance() helper. Exposed font Ascent and font Descent.
   2971 - ImFont: additional rendering optimizations.
   2972 - Metrics windows display storage size.
   2973 
   2974 
   2975 -----------------------------------------------------------------------
   2976  VERSION 1.40 (2015-05-31)
   2977 -----------------------------------------------------------------------
   2978 
   2979 Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.40
   2980 
   2981 Breaking Changes:
   2982 
   2983 - The BeginPopup() API (introduced in 1.37) had to be changed to allow for stacked popups and menus.
   2984   Use OpenPopup() to toggle the opened state and BeginPopup() to append.**
   2985 - The third parameter of Button(), 'repeat_if_held' has been removed. While it's been very rarely used,
   2986   some code will possibly break if you didn't rely on the default parameter.
   2987   Use PushButtonRepeat()/PopButtonRepeat() to configure repeat.
   2988 - Renamed IsRectClipped() to !IsRectVisible() for consistency (opposite return value!). Kept inline redirection function (will obsolete)
   2989 - Renamed GetWindowCollapsed() to IsWindowCollapsed() for consistency. Kept inline indirection function (will obsolete).
   2990 
   2991 Other Changes:
   2992 
   2993 - Menus: Added a menu system! Menus are typically populated with menu items and sub-menus, but you can add any sort of
   2994   widgets in them (buttons, text inputs, sliders, etc.). (#126)
   2995 - Menus: Added MenuItem() to append a menu item. Optional shortcut display, acts a button & toggle with checked/unchecked state,
   2996   disabled mode. Menu items can be used in any window.
   2997 - Menus: Added BeginMenu() to append a sub-menu. Note that you generally want to add sub-menu inside a popup or a menu-bar.
   2998   They will work inside a normal window but it will be a bit unusual.
   2999 - Menus: Added BeginMenuBar() to append to window menu-bar (set ImGuiWindowFlags_MenuBar to enable).
   3000 - Menus: Added BeginMainMenuBar() helper to append to a fullscreen main menu-bar.
   3001 - Popups: Support for stacked popups. Each popup level inhibit inputs to lower levels. The menus system is based on this. (#126).
   3002 - Popups: Added BeginPopupContextItem(), BeginPopupContextWindow(), BeginPopupContextVoid() to create a popup window on mouse-click.
   3003 - Popups: Popups have borders by default (#197), attenuated border alpha in default theme.
   3004 - Popups & Tooltip: Fit within display. Handling various positioning/sizing/scrolling edge cases. Better hysteresis when moving
   3005   in corners. Tooltip always tries to stay away from mouse-cursor.
   3006 - Added ImGuiStorage::GetVoidPtrRef() for manipulating stored void*.
   3007 - Added IsKeyDown() IsMouseDown() as convenience and for consistency with existing functions (instead of reading them from IO structures).
   3008 - Added Dummy() helper to advance layout by a given size. Unlike InvisibleButton() this doesn't catch any click.
   3009 - Added configurable io.KeyRepeatDelay, io.KeyRepeatRate keyboard and mouse repeat rate.
   3010 - Added PushButtonRepeat() / PopButtonRepeat() to enable hold-button-to-repeat press on any button.
   3011 - Removed the third 'repeat' parameter of Button().
   3012 - Added IsAnyItemHovered() helper.
   3013 - Added GetItemsLineHeightWithSpacing() helper.
   3014 - Added ImGuiListClipper helper for clipping large list of evenly sized items, to avoid using CalcListClipping() directly.
   3015 - Separator: within group start on group horizontal offset. (#205)
   3016 - InputText: Fixed incorrect edit state after text buffer is appended to by user via the callback. (#206)
   3017 - InputText: CTRL+letter-key shortcuts (e.g. CTRL+C/V/X) makes sure only CTRL is pressed. (#214)
   3018 - InputText: Fixed cursor generating a zero-width wire-frame rectangle turning into a division by zero (would go unnoticed
   3019   unless you trapped exceptions).
   3020 - InputFloatN/InputIntN: Flags parameter added to match scalar versions. (#218)
   3021 - Selectable: Horizontal filling not declared to ItemSize() so Selectable(),SameLine() works and we can better auto-fit the window.
   3022 - Selectable: Handling text baseline alignment for line that aren't of text height.
   3023 - Combo: Empty label doesn't add ItemInnerSpacing alignment, matching other widgets.
   3024 - EndGroup: Carries the text base offset from the last line of the group (sort of incorrect but better than nothing,
   3025   should use the first line of the group, will implement in the future).
   3026 - Columns: distinguish columns-set ID from other widgets as a convenience, added asserts and sailors.
   3027 - ListBox: ListBox() function only use public API to encourage creating custom versions. ListBoxHeader() can return false.
   3028 - ListBox: Uses ImGuiListClipper and assume items of matching height, so large lists can be handled.
   3029 - Plot: overlay label clipped within frame when not fitting.
   3030 - Window: Added ImGuiSetCond_Appearing to test the hidden->visible transition in SetWindow***/SetNextWindow*** functions.
   3031 - Window: Auto-fitting cancel out one worth of vertical spacing for vertical symmetry (like what group and tooltip do).
   3032 - Window: Default item width for auto-resizing windows expressed as a factor of font height, scales better with different font.
   3033 - Window: Fixed auto-fit calculation mismatch of whether a scrollbar will be added by maximum height clamping. Also honor NoScrollBar in the case of height clamping, not adding extra horizontal space.
   3034 - Window: Hovering require to hover same child window. Reverted 860cf57 (December 3). Might break something if you have
   3035   child overlapping items in parent window.
   3036 - Window: Fixed appending multiple times to an existing child via multiple BeginChild/EndChild calls to same child name.
   3037   Allows a simple form of out-of-order appending.
   3038 - Window: Fixed auto-filling child window using WindowMinSize at their minimum size, irrelevant.
   3039 - Metrics: Added io.MetricsActiveWindows counter. (#213.
   3040 - Metrics: Added io.MetricsAllocs counter (number of active memory allocations).
   3041 - Metrics: ShowMetricsWindow() shows popups stack, allocations.
   3042 - Style: Added style.DisplayWindowPadding to prevent windows from reaching edges of display (similar to style.DisplaySafeAreaPadding which is still in effect and also affect popups/tooltips).
   3043 - Style: Removed style.AutoFitPadding, using style.WindowPadding makes more sense (the default values were already the same).
   3044 - Style: Added style.ScrollbarRounding. (#212)
   3045 - Style: Added ImGuiCol_TextDisabled for disabled text. Added TextDisabled() helper.
   3046 - Style: Added style.WindowTitleAlign alignment options, to e.g. center title on windows. (#222)
   3047 - ImVector: tweak growth strategy, matches vector from VS2010.
   3048 - ImFontAtlas: Added ClearFonts(), making the different clear funcs more explicit. (#224)
   3049 - ImFontAtlas: Fixed appending new fonts without clearing existing fonts. Clearing input data left to application. (#224)
   3050 - ImDrawList: Merge draw command better, cases of multiple Begin/End gets merged properly.
   3051 - Store common stacked settings contiguously in memory to avoid heap allocation for unused features, and reduce cache misses.
   3052 - Shutdown() tests for g.IO.Fonts not being NULL to ease use of multiple ImGui contexts. (#207)
   3053 - Added IMGUI_DISABLE_OBSOLETE_FUNCTIONS define to disable the functions that are meant to be removed.
   3054 - Examples: Added ? marks with tooltips next to various widgets. Added more comments in the demo window.
   3055 - Examples: Added Menu-bar example.
   3056 - Examples: Added Simple Layout example.
   3057 - Examples: AutoResize demo doesn't use TextWrapped().
   3058 - Examples: Console example uses standard malloc/free, makes more sense as a copy & pastable example.
   3059 - Examples: DirectX9/11: Fixed key mapping for down arrow.
   3060 - Examples: DirectX9/11: hide OS cursor if ImGui is drawing it. (#155)
   3061 - Examples: DirectX11: explicitly set rasterizer state.
   3062 - Examples: OpenGL3: Add conditional compilation of forward compat as required by glfw on OSX. (#229)
   3063 - Fixed build with Visual Studio 2008 (possibly earlier versions as well).
   3064 - Other fixes, comments, tweaks.
   3065 
   3066 
   3067 -----------------------------------------------------------------------
   3068 
   3069 For older version, see https://github.com/ocornut/imgui/releases
   3070