Skip to content

Releases: ocornut/imgui

v1.16

21 Nov 13:47
Compare
Choose a tag to compare
  • General fixing of Columns API to allow filling a cell with multiple widgets before switching to the next column.
  • Added documentation INDEX to top of imgui.cpp.
  • Fixed unaligned memory access for Emscripten compatibility.
  • Various pedantic warning fixes (now testing with Clang).
  • Added extra asserts to catch incorrect usage.
  • PushStyleColor() / PushStyleVar() can be used outside the scope of a window (namely to change variables that are used within the Begin() call).
  • PushTextWrapPos() defaults to 0.0 (right-end of current drawing region).
  • Fixed compatibility with std::vector if user decide to #define ImVector.
  • MouseWheel input is now normalized.
  • Added IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT compile-time option to redefine the vertex layout.
  • Style editor: colors listed inside a scrolling region.
  • Examples: tweaks and fixes.

30b32bb4-70a9-11e4-9531-833a6e1d154b

v1.16b

21 Nov 14:21
Compare
Choose a tag to compare
  • Fix broken PopStyleVar() - crashing.

v1.15

07 Nov 08:50
Compare
Choose a tag to compare
  • Renamed IsHovered() to IsItemHovered().
  • Added word-wrapping API: TextWrapped(), PushTextWrapPos(), PopTextWrapPos().
  • Added IsItemFocused() to tell if last widget is being focused for keyboard input.
  • Added overloads of ImGui::PlotLines() and ImGui::PlotHistogram() taking a function pointer to get values.
  • Added SetWindowSize().
  • Added GetContentRegionMax() supporting columns. Some bug fixes with using columns.
  • Added PushStyleVar(),PopStyleVar() helpers to modify style from user code.
  • Added dummy IMGUI_API definition in front of all entry-points for silly DLL action.
  • Allowing BeginChild() allows to specify negative sizes to specify "use remaining minus xx".
  • Windows with the NoResize flag can still use auto-fitting.
  • Added a simple example console into the demo window.
  • Comments and fixes.

imgui_word_wrapping

imgui_console_wip

v1.14

25 Oct 10:19
Compare
Choose a tag to compare
  • Comments and fixes.
  • Added SetKeyboardFocusHere() to set input focus from code.
  • Added GetWindowFont(), GetWindowFontSize() for users of the low-level ImDrawList API.
  • Added a UserData void *pointer so that the callback functions can access user state "Just in case a project has adverse reactions to adding globals or statics in their own code."
  • Renamed IMGUI_INCLUDE_IMGUI_USER_CPP to IMGUI_INCLUDE_IMGUI_USER_INL

v1.13

30 Sep 08:37
Compare
Choose a tag to compare
  • Added support for UTF-8 for international text display and text edition/input (if the font supports it).
  • Added sample "M+ font" by Coji Morishita in extra_fonts/ to display Japanese text.
  • Added IO.ImeSetInputScreenPosFn callback for positioning OS IME input.
  • Added IO.FontFallbackGlyph (default to '?').
  • OpenGL example: added commented code to load custom font from file-system.
  • OpenGL example: shared makefile for Linux and MacOSX.

utf-8 screenshot

v1.12

24 Sep 18:36
Compare
Choose a tag to compare
  • Added IO.FontBaseScale value for easy scaling of all windows.
  • Added IsMouseHoveringWindow(), IsMouseHoveringAnyWindow(), IsPosHoveringAnyWindow() helpers.
  • Added va_list variations of all functions taking ellipsis (...) parameters.
  • Added section in documentation to explicitly document cases of API breaking changes (e.g. renamed IM_MALLOC below).
  • Moved IM_MALLOC / IM_FREE defines. to IO structure members that can be set at runtime (also allowing precompiled ImGui to cover more use cases).
  • Fixed OpenGL samples for Retina display.
  • Comments and minor fixes.

v1.11

10 Sep 11:28
Compare
Choose a tag to compare
  • Added more comments in the code.
  • Made radio buttons render ascii when logged into tty/file/clipboard.
  • Added ImGuiInputTextFlags_EnterReturnsTrue flag to InputText() and variants.
  • Added #define IMGUI_INCLUDE_IMGUI_USER_CPP to optionally include imgui_user.cpp from the end of imgui.cpp
  • Fixed file-descriptor leak if ImBitmapFont::LoadFromFile() calls to fseek/ftell fails.

v1.10

31 Aug 11:14
Compare
Choose a tag to compare
  • User can override memory allocators by #define-ing IM_MALLOC, IM_FREE, IM_REALLOC,
  • Added SetCursorPosX(), SetCursorPosY() shortcuts.
  • Checkbox() returns true when pressed.
  • Added optional external fonts data in extra_fonts/ for reference.
  • Removed the need to setup IO.FontHeight when using a custom font.
  • Added comments on external fonts usage.

v1.09

28 Aug 14:20
Compare
Choose a tag to compare

NOTE: The behaviour of PixelCenterOffset changed! You may need to change your value if you had set it to non-default in your code and/or offset your projection matrix by 0.5 pixels. It is likely that the default PixelCenterOffset value of 0.0 is now suitable unless your rendering uses some form of multisampling.

  • Various minor render tweaks and fixes. Better support for renderers using multisampling.
  • Moved IMGUI_FONT_TEX_UV_FOR_WHITE #define to a variable in the IO structure so font can be changed at runtime.
  • Minor other fixes, tweaks, comments.

v1.08

25 Aug 16:25
Compare
Choose a tag to compare
  • Fixed ImGuiTextFilter trimming of leading/trailing blanks.
  • Fixed file descriptor leak on LoadSettings() failure.
  • Fix type conversion compiler warnings.
  • Added basic sizes edition in the style editor.
  • Added CalcTextSize(), GetCursorScreenPos() functions.
  • Disable client state in OpenGL example after rendering.
  • Converted all Tabs to Spaces in sources.