Commit Graph

  • e54b61aa0f Examples: OSX: Fixed obsolete enums. Fixed keyboard mapping. Added missing keyboard modifiers. (#1873) Omar Cornut 2018-06-11 21:07:14 +0200
  • f96c7fac91 Examples: FreeGLUT: Fixed mapping of Space key. (#801) omar 2018-06-11 20:03:35 +0200
  • cdf51cad2d Comments, documentation omar 2018-06-11 19:52:40 +0200
  • a1b6766d43 Examples: FreeGLUT: Added FreeGLUT bindings. Added FreeGLUT+OpenGL2 example. (#801) omar 2018-06-11 19:27:11 +0200
  • bdb3d72d37 Examples: Win32: Fixed handling of mouse wheel messages to support finer position messages (typically sent by track-pads). (#1874) omar 2018-06-11 17:34:56 +0200
  • 7acb46bec5 Examples: Comments to make ImGuiConfigFlags_NoMouseCursorChange more visible (#1027). + Allegro5: Added support for ImGuiConfigFlags_NoMouseCursorChange flag. omar 2018-06-11 12:33:51 +0200
  • fac0c801da Examples: Added imgui_impl_osx.mm bindings (#1870, #281) omar 2018-06-11 10:19:17 +0200
  • 6f7b7807ad Fixed Travis path + various paths in comments/documentations omar 2018-06-10 16:14:43 +0200
  • 9660657e95 Merge branch 'master' into viewport omar 2018-06-10 15:59:35 +0200
  • 5a13e4dcde Examples: Renamed imgui_impl_sdl2.cpp to imgui_impl_sdl.cpp (#1870) + changelog bits omar 2018-06-10 15:45:54 +0200
  • 8d58fbb5ed Examples: Renamed example folders. (#1870) omar 2018-06-10 15:42:14 +0200
  • 689ec0bd06 Merge branch 'font_min_max_advance' omar 2018-06-10 15:07:18 +0200
  • 13a3a2d0f3 Merge branch 'examples_refactor2' into viewport (#1870) omar 2018-06-10 15:04:09 +0200
  • ff4f40de41 Merge branch 'master' into viewport omar 2018-06-08 20:17:38 +0200
  • 85f9694bd4 Big example binding refactor (manually imported from Viewport branch, stripped out of Viewport code). (#1870) Read examples/README.txt for some details. ImDrawData: Added DisplayPos, DisplaySize fields honored by all backends (not strictly necessary to honor just now, but doing it to be ahead) omar 2018-06-08 19:37:33 +0200
  • f5bf9f509c ImFontConfig: Added GlyphMinAdvanceX/GlyphMaxAdvanceX settings useful to make a font appears monospaced, particularly useful for icon fonts. (#1869) omar 2018-06-08 12:46:36 +0200
  • 24fc7c30dd Examples: Documentation omar 2018-06-07 23:48:34 +0200
  • 06aa9d8d9a Examples: Fixed Makefile, batch files. omar 2018-06-07 22:30:10 +0200
  • 8c374512fd Examples, Platform: Removed the call to ImGui::NewFrame() from the platform _NewFrame() function e.g. ImGui_ImplWin32_NewFrame(), ImGui_ImplSDL2_NewFrame(), ImGui_ImplGlfw_NewFrame(), etc. Moved to main.cpp for consistency. (#1542) omar 2018-06-07 22:10:31 +0200
  • 77d51ebf24 Examples: Added .. folder in include path to remove the awkward #include "../imgui_impl_xxx.h" statements. omar 2018-06-07 19:20:04 +0200
  • 8e48ab6b19 Nav: Addendum: only set io.WantSetMousePos if necessary. (#1867) omar 2018-06-07 18:08:59 +0200
  • e3710448ae Nav: Removed an unnecessary assertion that could fail when using Mouse and Keyboard simultaneously with the NavEnableSetMousePos flag. (#1867) omar 2018-06-07 18:04:44 +0200
  • 929529a0db SliderFloat(): When using keyboard/gamepad and a zero precision format string (e.g. "%.0f"), always step in integer units. (#1866) omar 2018-06-07 13:29:54 +0200
  • b3a5b8debd Popup: Improved handling of (erroneously) repeating calls to OpenPopup() to not fully close/re-open the popup so its child popups won't get closed. (#1497, #1533, #1865). Followup/fix the change made in deab2ab015 omar 2018-06-06 19:25:49 +0200
  • f63a404df0 Added missing IMGUI_API markers in non-inline section of the IMGUI_DISABLE_OBSOLETE_FUNCTIONS block: old Begin(), InputFloat(). omar 2018-06-06 15:40:40 +0200
  • 5a288b2d3a Readme, FAQ tweaks (#1807) omar 2018-06-06 13:02:19 +0200
  • d44faa165a Added GetGlyphRangesChineseSimplifiedCommon() helper that returns a list of ~2500 most common Simplified Chinese characters. Renamed GetGlyphRangesChinese() to GetGlyphRangesChineseFull() to distinguish other variants and discourage using the full set. (#1859) Changed the accumulative encoding to remove the implicit +1 which only saved a little space and made things more confusing. omar 2018-06-06 12:35:36 +0200
  • 2a56105f85 TreeNodeEx(): The helper ImGuiTreeNodeFlags_CollapsingHeader flag now include ImGuiTreeNodeFlags_NoTreePushOnOpen. The flag was already set by CollapsingHeader(). The only difference is if you were using TreeNodeEx() manually with ImGuiTreeNodeFlags_CollapsingHeader and without ImGuiTreeNodeFlags_NoTreePushOnOpen. In which case you can remove the ImGuiTreeNodeFlags_NoTreePushOnOpen flag from your call (ImGuiTreeNodeFlags_CollapsingHeader & ~ImGuiTreeNodeFlags_NoTreePushOnOpen). (#1864) omar 2018-06-06 11:39:29 +0200
  • 21f553fa55 stb_textedit, InputText(): Fixed Undo after pasting large amount of text (Redo will still fail when undo buffers are exhausted, but text won't be corrupted). See issue 620 in nothings/stb/ omar 2018-06-05 23:29:06 +0200
  • 67b139ccae Updated stb_textedit 1.09 + patches --> 1.12 + minor patches. (#715) omar 2018-06-05 23:26:59 +0200
  • 916528080e InputTextMultiline(): Fixed double navigation highlight when scrollbar is active. (#787) omar 2018-06-05 16:16:54 +0200
  • 512ffa37bd Nav: Fixed clipped scoring when exiting a NavFlattened child back to a parent item (clipping not desirable then). (followup and fix to c665c15). (#787) omar 2018-06-05 16:12:46 +0200
  • 93b032ea92 Merge branch 'master' into viewport omar 2018-06-05 15:51:52 +0200
  • 6d98c0323b Nav: Added support for PageUp/PageDown (explorer-style: first aim at bottom/top most item, when scroll a page worth of contents). (#787) omar 2018-06-05 15:49:33 +0200
  • 2bdf0b54a2 Changelog formatting update, Todo, comments. Tweak Child demo. Shuffle some code in NavUpdate(). omar 2018-06-05 13:39:42 +0200
  • c665c15a7d Nav: When entering into a NavFlattened child we only consider the visible items for scoring (note that this only work assuming the NavFlattened child window has interactive items). Fixes accidentally hoping into a NavFlattened child. (#767) omar 2018-06-04 17:10:06 +0200
  • f4120e20d5 Nav: NavFlattened: Fixed navigation miscrolling parent window when the current window is scrolling enough to keep the item in view. Fix feature added in e11610d6, typically affect large navigation steps (used by PageUp/PageDown). + comments (#787) omar 2018-06-04 16:30:42 +0200
  • 5a7e98c7cf Internals: Nav: Removed ParentID from move result (unused, would need to be full-filled for PageUp/PageDown code) + FAQ typo fix. omar 2018-06-04 14:44:19 +0200
  • 948009a8b2 Intensive FAQ answer for the million of people asking the same questions over and over again. (#1848, #1791, #1840, #1493, #1295) omar 2018-05-30 16:31:34 +0200
  • 0903a12c2a Fixed documentation example (#1847) Marc J. Schmidt 2018-05-30 10:28:27 +0200
  • a2198bcf6b Made mouse drag distance calculation more robust to invalid mouse position. (#1845) omar 2018-05-29 10:47:18 +0200
  • 08e20ae465 Internals: Reintroducing LastActiveIdTimer because it is useful and to reduce merge conflicts. (#1537) omar 2018-01-05 15:33:24 +0100
  • d4b151076c Internals: Added BeginDragDropTooltip() internal function to convey semantic (drag and drop tooltip doesn't get clipped within display boundaries). Revert part of 3218666fb9. (#1739, #143). omar 2018-05-28 21:34:32 +0200
  • 3218666fb9 Made drag source tooltip display at the same position as a regular tooltip to avoid discontinuity where dynamically swapping tooltip at the target site. Made drag source tooltip override previous tooltip if any. (#1739, #143). omar 2018-05-28 21:05:08 +0200
  • 92b7d6bc4f Added ImGuiDragDropFlags_AcceptNoPreviewTooltip flag to disable drag source tooltip from the target site (#143) omar 2018-05-28 20:50:52 +0200
  • 7fd9199a1d Internals: Selectable: Renamed variables. Todo update. omar 2018-05-24 19:10:40 +0200
  • f843facba4 Internals: PushItemFlag() flags are inherited by BeginChild(). omar 2018-05-28 15:30:42 +0200
  • 0e83d74698 Documentation: FAQ, ID Stack, Fonts (#1839, #1840), #1842) omar 2018-05-27 22:32:46 +0200
  • 929522febe Missing examples changelog bits and todo list omar 2018-05-25 12:51:24 +0200
  • 03c8a78f04 Merge branch 'master' into viewport omar 2018-05-25 12:44:56 +0200
  • 9770c8b21d Examples: OpenGL3: Removed unnecessary backup/restore of GL_ELEMENT_ARRAY_BUFFER_BINDING since this is part of the VAO state. (#1836) omar 2018-05-25 12:08:08 +0200
  • 251f178a6f Drag and Drop: Source doesn't report as hovered (at a lower-level). Source disable AllowOverlap flag if any set. (#143) omar 2018-05-24 18:05:27 +0200
  • 5fd23eeb74 Examples: iOS: Fixed missing call to CreateContext() + various shallow coding style tweaks. (#1835) omar 2018-05-24 17:42:50 +0200
  • b88fbd69cc Drag and Drop: BeginDragDropSource(): Offset tooltip position so it is off the mouse cursor, but also closer to it than regular tooltips, and not clamped by viewport. (#1739) omar 2018-05-23 23:18:12 +0200
  • 09ea376a6a BeginCombo(), BeginMainMenuBar(), BeginChildFrame(): restore modified style at end of Begin instead of End so doesn't affect child windows, BeginTooltip() etc.. (allowed since 7b6b7038c5) omar 2018-05-23 22:57:54 +0200
  • 002e513b82 Added float GetWindowDpiScale(). (#1542, #1676) omar 2018-05-23 18:23:58 +0200
  • ed84b2aaeb Viewport, Platform: Fixed a crash if the back-end set the PlatformRequestMove/PlatformRequestSize flags while viewports were disabled (it happened in the SDL back-end, and generally we want to tolerate it to make back-end implementation simpler). (#1542) omar 2018-05-23 18:01:50 +0200
  • bef0a13283 Examples: Comments about GLSL version not being the same as GL context version. (#1828) omar 2018-05-21 11:28:30 +0200
  • 663e2c9237 Examples: GLFW: Made it possible to Shutdown/Init the backend again (by reseting the time storage properly). Changelog. Added to Vulkan example. (#1827) omar 2018-05-21 10:36:50 +0200
  • e8a72d3e72 Examples: GLFW* Make subsequent window creation possible. ice1000 2018-05-21 07:35:09 +0800
  • bf56b6b9a5 ColorEdit3, ColorEdit4, ColorButton: Added ImGuiColorEditFlags_NoDragDrop flag to disable ColorEditX as drag target and ColorButton as drag source. (#1826) omar 2018-05-21 10:13:21 +0200
  • 1176460e44 Viewport: Fixed using ImGuiConfigFlags_ViewportsNoMerge always showing the Debug window by testing the Active flag as well. (#1542) omar 2018-05-19 20:45:49 +0200
  • 7c7e96e1aa ImVector: added erase(it first, it last) helper. Added erase_unsorted(it) helper. + todo fixes/additions omar 2018-05-18 20:33:00 +0200
  • 6c684ae39b Fixed GCC pre-8 build. (#1822) + added bonus the non-ASCII character pasted from GCC breaks my SourceTree/Git combo omar 2018-05-17 18:10:20 +0200
  • 01429e7d16 Merge branch 'master' into viewport omar 2018-05-17 15:03:56 +0200
  • 64b1645deb Disabled GCC 8.1.0 warnings -Wclass-memaccess (#1822) omar 2018-05-17 14:19:20 +0200
  • d5c8f404b2 Remove trailing white spaces. omar 2018-05-17 14:12:37 +0200
  • ede5059e69 Internals: Forward declaring and commenting internal structures. Renamed ImGuiDrawContext to ImGuiWindowTempData, but kept .DC member name for backward compatibility purpose omar 2018-05-16 18:34:12 +0200
  • 4c35e00f49 Viewport: Made GetWindowViewport() not flag the window as written to. omar 2018-05-16 22:48:54 +0200
  • 86f8cdbd98 Comments + Internals: Selectable: decoupled internal flags and removed their menu / menu-item semantic as upcoming changes are requiring more flexibility. omar 2018-05-16 14:08:06 +0200
  • 7f960616e0 Viewport: When resizing/moving a window using the host OS/WM we attempt to merge back into host viewport. (#1542) omar 2018-05-16 14:34:46 +0200
  • 1cafdb5b46 Viewport: Added GetWindowViewport() to query the current viewport for the current window. Comments. (#1542) omar 2018-05-15 11:04:07 +0200
  • 640c056602 TreeNode: Fixed nodes with ImGuiTreeNodeFlags_Leaf flag always returning true which was meaningless. Tweak demo. omar 2018-05-14 23:36:37 +0200
  • 99ff6fc7e4 Nav: Draft internal api to forward move request with loop/wrap options. Will rework for parallel scoring of two paths (as a generalization of the NavFlattened concept). (#787) omar 2018-05-14 20:06:41 +0200
  • e11610d6ff Nav: To keep the navigated item in view we also attempt to scroll the parent window as well as the current window. (#787) omar 2018-05-14 19:44:00 +0200
  • 036dce634e Version 1.62 WIP omar 2018-05-14 17:59:12 +0200
  • 721ca97d95 ImVector: Tweaked reserve() flow to avoid calling MemFree(NULL) which is unnecessary. (#1796) Kirill Artemov 2018-05-05 04:24:27 +0300
  • 19544629be Examples: OpenGL3: Trying to make the call to glBindSampler optional to make the example code easier to use/share with different context version. (#1806) omar 2018-05-14 17:47:22 +0200
  • b0fb340b57 Merge branch 'master' into viewport omar 2018-05-14 13:15:21 +0200
  • 78b28d545f Version 1.61 + todo additions v1.61 omar 2018-05-14 11:58:11 +0200
  • d7cc4bc317 Demo: Tweaked custom rendering custom, added a Thickness drag. Clarified use of vertical/horizontal line. Add a single pixel demo (wowow) omar 2018-05-13 23:42:19 +0200
  • 3f29ed6fd5 ColorEdit: Fixed not being able to pass the ImGuiColorEditFlags_NoAlpha or ImGuiColorEditFlags_HDR flags to SetColorEditOptions(). Demo tweak. omar 2018-05-13 23:41:43 +0200
  • 725c13ca68 Fix for atof with glibc. omar 2018-05-13 22:43:43 +0200
  • 2a2bb8970d Added ImAtof, ImCeil, ImFloorStd to IMGUI_DISABLE_MATH_FUNCTIONS for consistency. Configuration comments. omar 2018-05-13 21:30:10 +0200
  • ff033f431b Added IMGUI_DISABLE_MATH_FUNCTIONS in imconfig.h to make it slightly easier to redefine wrappers to std maths functions such as fabsf(), fmodf(), etc. Comments. omar 2018-05-13 20:02:47 +0200
  • f8ca7f45c4 Comments about AddConvexPolyFilled(), PathFillConvex() requiring a clockwise order path. (#1811) omar 2018-05-13 15:55:15 +0200
  • e61b224b24
    Update README.md omar 2018-05-12 19:20:54 +0200
  • d53bae4c14 Demo: Fixing build due to using INT_MAX, UINT_MAX, LLONG_MAX, ULLONG_MAX. omar 2018-05-12 18:58:59 +0200
  • 8adbf081af Demo: Renamed "fixed overlay" to "simple overlay" because it's not fixed any more! omar 2018-05-12 18:07:22 +0200
  • a7a1b3b0a7 Demo: Added demo for DragScalar(), InputScalar(), SliderScalar(). (#643) omar 2018-05-12 17:53:34 +0200
  • 7475c1e7dd Data types: DragScalar: Fixed speed of integer values tweaking with keyboard/gamepad when speed < 1. Enforce min/max bounds when power curves are used. SliderScalar: Fixed integer/slow tweaking. (#643) omar 2018-05-12 16:48:21 +0200
  • 85f3ba844c Merge branch 'master' into viewport omar 2018-05-11 22:22:41 +0200
  • fc7fc83f9e Data types: DragScalar, InputScalar: default parameters. Added IM_STATIC_ASSERT(). Comments. omar 2018-05-11 18:55:48 +0200
  • 0dc18a6ca6 Documentation tweaks, comments omar 2018-05-11 16:54:50 +0200
  • 8149408408 Merge branch 'data_types' omar 2018-05-11 16:48:50 +0200
  • 090eb437ed Viewport, Platform: Cleaned up xxx_UpdateMouseCursor() functions to make them more consistent. (#1542) omar 2018-05-11 16:41:32 +0200
  • d574604a5d Viewport, Platform: Win32: Fixed handling of io.WantSetMousePos + added a bunch of comments. GLFW, SDL2: Added handling of io.WantSetMousePos. (#1542) omar 2018-05-11 14:05:40 +0200
  • 14f575ff76 Scrolling: Fixed a case where using SetScrollHere(1.0f) at the bottom of a window on the same frame the window height has been growing would have the scroll clamped using the previous height. (#1804) omar 2018-05-10 14:02:28 +0200
  • 6eacddb50f Viewport: Changed Monitor field to use Pos+Size (more consistent), changed FullMin,FullMax to MainPos,MainSize. Made main viewport accessible in PlatformIO on first frame. Fixed casing of ImGuiViewportFlags_TopMost flag. (#1542) omar 2018-05-10 12:10:10 +0200
  • 91e39e72a3 Combo: Horizontally offset items using WindowPadding instead of Indent, for consistency. omar 2018-05-09 22:53:32 +0200