Commit Graph

  • a610f1da52 Bezier Tweaks, fixed parameter order of 3831d50 omar 2019-12-17 16:24:50 +0100
  • 3831d50ab9 Add ImBezierClosestPoint() function which returns a point on bezier curve which is closed to a specified point. Rokas Kupstys 2019-12-17 16:29:12 +0200
  • 0f7105e156 Backends: SDL: Wayland: Use SDL_GetMouseState (amend 78ff147) (#2800, 2802) omar 2019-12-17 14:34:18 +0100
  • 78ff147181 SDL: On wayland use SDL_GetMouseState (#2802) NeroBurner-tux 2019-09-24 19:44:29 +0200
  • 9d444062f9 Limiting Columns()/BeginColumns() api to 64 columns (#125) omar 2019-12-17 13:25:46 +0100
  • 10fdc03a46 Clarification about Im helpers + moving GetColorXXX functions outside of that block. omar 2019-12-17 13:19:36 +0100
  • 992736dc5d Merge branch 'refs/heads/master' into docking omar 2019-12-13 17:06:27 +0100
  • 3a800f2dc9 DragFloat: Mention usage of FLT_MAX, INT_MAX etc. explicitly. (#2931) omar 2019-12-13 11:56:51 +0100
  • 43bd80a40d Internals: Breaking: ImRect() default constructor initializes all fields with 0.0f omar 2019-12-12 19:56:29 +0100
  • 6fdde67be2 Documentation, FAQ, todo tweaks omar 2019-12-10 13:37:29 +0100
  • 0e74103659 ImDrawList: Add AddNgon(), AddNgonFilled() API. Ben Carter 2019-12-09 15:13:24 +0900
  • f9c26d23de Removed redirecting functions/enums that were marked obsolete in 1.53 (December 2017). omar 2019-12-08 16:26:47 +0100
  • e42c1e1668 Exposed IMGUI_DEBUG_PARANOID in imconfig.h + using a #define with no value to match other uses in imconfig.h omar 2019-12-08 16:12:44 +0100
  • 697f15e339 Added PrimUnreserve() API. Obsoleted calling ImDrawList::PrimReserve() with a negative count. Ben Carter 2019-11-22 22:06:44 +0900
  • f1f948bea7 Add ImTextureID as VkDescriptorSet, allow switching between sets, add utility ImTextureID creation function Marcell Kiss 2018-12-06 22:03:40 +0100
  • e4a59d0025 TabItem: honor ImGuiTabItemFlags_NoCloseButton passed as parameter (although undocumented and part of private api) (#2923) omar 2019-12-07 16:22:07 +0100
  • f656e7775e Inputs: Added ImGuiMouseButton enum for convenience (e.g. ImGuiMouseButton_Right=1). omar 2019-12-06 16:29:22 +0100
  • 6cbed03d4a Comments, clarified mouse button ordering. omar 2019-12-06 16:06:29 +0100
  • 03b7170dac Backends: GLFW: Added workaround for people who use development version of GLFW which is older than commit that added required cursor support. (#2922) Rokas Kupstys 2019-12-06 16:08:04 +0200
  • 7ff13f4ee1 Examples: Explicitly adding -DIMGUI_IMPL_OPENGL_LOADER_GL3W to Makefile to match linking settings omar 2019-12-06 10:43:27 +0100
  • b521cd357d Removed implicit default parameter to IsMouseDragging(int button = 0) to be consistent with other mouse functions. omar 2019-12-05 18:30:27 +0100
  • d0c5eade05
    Merge c458214d70 into 927580d4a8 ShawnM427 2019-12-05 18:55:19 +0300
  • 6d9a54a904 Examples: Metal: Wrap main event loop body in an @autoreleasepool block to ensure allocations get freed even if underlying system event loop gets paused due to app nap (#2910, #2917) Max Thrun 2019-12-01 23:11:58 -0800
  • 8342e5b91a Amend previous commits (added ImGuiMouseCursor_NotAllowed enum + new cursors in GLFW 3.4) omar 2019-12-05 15:43:05 +0100
  • 945a509773 Implement ImGuiMouseCursor_NotAllowed mouse cursor. Rokas Kupstys 2019-12-02 10:52:06 +0200
  • b5cad20d79 Implement new GLFW 3.4 resizing cursors. Rokas Kupstys 2019-12-02 10:36:59 +0200
  • 927580d4a8 Docking: Cleanup, rename DockNodePreviewDockCalc() -> DockNodePreviewDockSetup() omar 2019-11-28 22:44:29 +0100
  • 97f95d53bb
    Merge pull request #3 from ocornut/master wshmaple 2019-12-02 22:31:59 +0800
  • 90d2b0066b Examples: Metal: Wrap main event loop body in an @autoreleasepool block to ensure allocations get freed even if underlying system event loop gets paused due to app nap (#2910) Max Thrun 2019-12-01 23:11:58 -0800
  • abaf0256b8 Version 1.75 WIP omar 2019-11-28 20:58:16 +0100
  • a1e4af62d3 Docking: Fix bug added in 71a58261 + Misc docking omments omar 2019-11-28 17:34:26 +0100
  • 28dd8d7efd Docking: Fixed various conflicts not properly resolved on 813e0c1 omar 2019-11-27 19:27:44 +0100
  • 4dff49b2f1 Docking, Viewports: Moving code. omar 2019-11-27 19:13:15 +0100
  • 71a58261f6 Docking: Internals: Removed redundancy in code path leading to the BeginAsDockableDragDropSource(), clarified UpdateMouseMovingWindowEndFrame() omar 2019-11-27 18:21:04 +0100
  • bf6d1ba3d1 CI: Add 32/64 bit build variations to builds with extra warnings. Rokas Kupstys 2019-11-26 12:17:58 +0200
  • 1742ca45c5 CI: Add unity builds test. (#2893) Rokas Kupstys 2019-11-26 11:24:01 +0200
  • 8d1b82d596 Docking: Internals: Rename StartMouseDragFromTitleBar() -> StartMouseMovingWindowOrNode(), clarify. omar 2019-11-27 15:33:31 +0100
  • a8092085b1 Internal: Added unused parameter named to facilitate cimgui parsing of imgui_internal.h omar 2019-11-27 14:02:05 +0100
  • 3096e7a9cd Viewports: Preserve last known size for minimized main viewport to be consistent with secondary viewports. omar 2019-11-26 21:02:28 +0100
  • 1c3a9c8e74 Docking: Remove Size > 0.0f asserts added in 718e15c7 and 7c183dc6. (#2690, #2109, #2906) omar 2019-11-26 20:25:54 +0100
  • f60518b430
    Update FAQ.md omar 2019-11-26 16:28:49 +0100
  • 813e0c18e6 Merge branch 'master' into docking omar 2019-11-26 12:23:43 +0100
  • bdce833636 Version 1.74 v1.74 omar 2019-11-25 18:38:53 +0100
  • 26d177bc03 Docs: Moved misc/fonts/README.txt to docs/FONTS.txt. + tweaks omar 2019-11-25 18:29:28 +0100
  • 1615e9ea2a CI: Enable extended warnings in example_null builds. CI: Add MinGW build with extra warnings on windows. Rokas Kupstys 2019-11-25 14:02:47 +0200
  • bbe0409942 Metrics: Show wire-frame mesh and approximate surface area when hovering ImDrawCmd. Amend aeb5795. Internals: Added ImTriangleArea() omar 2019-11-25 12:01:04 +0100
  • aeb57952d6 Added area calculation for draw lists in metrics Added ability to hover over a draw list's summary stats and see all the contents in wireframe Ben Carter 2019-11-22 20:22:03 +0900
  • 0cb1c633ff Demo: tweaked demo help section, reference to "Examples" and "Tools". Reference to Keyboard navigation. Removed some of the more "obvious/standard" controls. omar 2019-11-24 23:11:53 +0100
  • 3a82994429 Docking: Can undock from the small triangle button. (#2109,. #2645) omar 2019-11-22 22:35:04 +0100
  • 106184bbea Docking: Fixed node->HasCloseButton not honoring ImGuiDockNodeFlags_NoCloseButton in a floating node, leading to empty space at the right of tab-bars with those flags. (#2109) omar 2019-11-22 22:13:52 +0100
  • b205ab01f2 Internals: Added IM_ASSERT_PARANOID, IMGUI_DEBUG_PARANOID define. Shuffled a bit of the macros section in imgui_internal.h omar 2019-11-22 14:45:44 +0100
  • 51e2e9b239 ImVector: Added shrink() helper. ImFont::RenderText minor optimisation for debug build. Misc: Metrics shows tab names because we now have them. omar 2019-11-22 10:56:23 +0100
  • 51a02b319c Added IM_UNICODE_CODEPOINT_MAX. Changed specs of ImFontAtlas::AddCustomRectRegular() (breaking change). omar 2019-10-29 22:50:34 +0100
  • ca63349eb4 Renamed XX-bits -> XX-bit in comments to match what the world appears to be using. omar 2019-11-20 11:58:25 +0100
  • a899c1e570 Internals: Using ImU64 for internal ImFile api so we can later wrap them to fseeko/ftello//_fseeki64/_ftelli64 (#2734) omar 2019-11-20 10:40:14 +0100
  • ecbedc8c26 Tweaks, ammend 93efa54, rename to IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS (#1038) omar 2019-11-19 21:20:46 +0100
  • 4e90906b04 Added IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS / IMGUI_DISABLE_FILE_FUNCTIONS #2734) Using in Emscripten example. omar 2019-11-19 21:14:44 +0100
  • 93efa5415f Renamed IMGUI_DISABLE_FORMAT_STRING_FUNCTIONS to IMGUI_DISABLE_DEFAULT_FORMAT_STRING_FUNCTIONS. (#1038) Renamed IMGUI_DISABLE_MATH_FUNCTIONS to IMGUI_DISABLE_DEFAULT_MATH_FUNCTIONS. omar 2019-11-19 20:48:11 +0100
  • 9efaf2828b Doc comments. Removed .ini parsing code from 1.53 that parsed entries without the [Window] tag (which enabled importing an old .ini file) omar 2019-11-19 15:22:42 +0100
  • 3895363432 Merge branch 'master' into docking inc alter GetWindowResizeID omar 2019-11-18 13:58:50 +0100
  • ca30ef4269 Drag and drop: Increase local payload buffer from 8 to 16 bytes. omar 2019-11-15 18:36:06 +0100
  • 7e232092a6 Internals: Added GetWindowResizeID(), renamed GetScrollbarID() to GetWindowScrollbarID(). Using integer for resize ID so they matches regardless of the pointer size. Internals: Renamed IMGUI_USER_ERROR to IM_ASSERT_USER_ERROR(). omar 2019-11-15 16:44:16 +0100
  • a1e43c682a Merge branch 'master' into docking (with fixes) omar 2019-11-15 15:32:36 +0100
  • 8f40020ca6 Disable Win32 clipboard and IME functions when build target UWP (#2892, #2895) Tracy Ma 2019-11-15 16:51:48 +0800
  • bef77402d0 Disable Win32 clipboard and IME functions when build target UWP (#2892) Tracy Ma 2019-11-15 16:51:48 +0800
  • be05e12e21 Misc: Using static_assert() when using C++11, instead of our own construct (avoid zealous Clang warnings). omar 2019-11-14 18:02:18 +0100
  • b23dcab6e1 Fix 25eee91 incorrect assert when ending a child-popup (rarely used but used by sub-nenus) omar 2019-11-14 16:06:39 +0100
  • be436e2b0b Fix HelpMarker() symbol collision for unity builds (#2893) omar 2019-11-13 22:04:16 +0100
  • 03852470de Internals: Routing recoverable user errors via IMGUI_USER_ERROR() macro. (#1651) omar 2019-11-13 21:58:18 +0100
  • 25eee91542 Error handling: Assert if user mistakenly calls End() instead of EndChild() on a child window. (#1651) Internals: Moved some error handling code. omar 2019-11-13 21:35:42 +0100
  • b138f8cbcd Internal: Nav rename preparing for nav inputs ownership changes. IsNavInputPressed() -> IsNavInputTest() omar 2019-11-12 23:54:22 +0100
  • 7c441e37fa CI: Update jobs to MacOS latest (Catalina) Metrics: Added description to Item Picker. omar 2019-11-11 14:47:39 +0100
  • c3fd4ae473 Docking: comments omar 2019-11-12 11:06:02 +0100
  • 6e8e2c0fa9 Scrollbar: Fixed an issue where scrollbars wouldn't display on the frame following a frame where all child window contents would be culled. Demo: Fixed a small bug with scrolling demo. Metrics: Tweaks. omar 2019-11-08 19:00:49 +0100
  • 69b5c2f541 Merge branch 'master' into docking omar 2019-11-08 15:45:12 +0100
  • 57dc34f4e8 TreeNode: Added IsItemToggledOpen() to explicitly query if item was just open/closed, facilitating interactions with custom multi-selections patterns. (#1896, #1861) omar 2019-11-08 15:23:34 +0100
  • 011d475532 TreeNode: The collapsing arrow accepts click even if modifier keys are being held, facilitating interactions with multi-select patterns. (#2886, #1896, #1861) omar 2019-11-08 15:13:21 +0100
  • 037126ee0e TreeNode: Reworded code for ImGuiTreeNodeFlags_OpenOnArrow (follow up to f79b2d6c) to make it lightweight. Should be a no-op from user's point of view. Will facilitate using the arrow hovering information in the hot path. (#2886) omar 2019-11-08 14:57:56 +0100
  • d003674f2c Internals: Added ImChunkStream, used by window settings. (more generic followup to 4c13807, the class will be used more extensively by Tables) omar 2019-11-07 16:05:03 +0100
  • a337e219b6 Internals: ImPool: Renaming. omar 2019-11-07 15:01:19 +0100
  • 28f1d60de1 Internals: Renaming + added ImStrSkipBlank() from docking branch. omar 2019-11-06 22:52:48 +0100
  • 09b2310237 Internals: Added index of helpers and shuffled a few things. omar 2019-11-06 15:15:29 +0100
  • 4c13807b7d Misc: Optimized storage of window settings data (reducing allocation count). omar 2019-11-05 22:43:53 +0100
  • 3929255b77 Examples: Emscripten: Removed BINARYEN_TRAP_MODE=clamp from Makefile which was removed in Emscripten 1.39.0 but required prior to 1.39.0, making life easier for absolutely no-one. (#2877, #2878) [@podsvirov] omar 2019-11-05 12:53:30 +0100
  • 916487a653 example_emscripten: skip outdated compiler option Konstantin Podsvirov 2019-10-31 00:56:16 +0300
  • bff2d5d5e2
    Update README.md omar 2019-11-05 11:41:02 +0100
  • 32077a0d8b Compatible for Xcode version below 12.X TAiGA 2019-11-05 17:47:26 +0800
  • a704614b3e Merge branch 'master' into docking omar 2019-11-04 16:33:57 +0100
  • c9182424a8 Normalize all the line endings. Rokas Kupstys 2019-10-30 17:50:11 +0200
  • c9ffa62e1f Add .gitattributes with rules for line endings of files. Rokas Kupstys 2019-10-30 17:50:02 +0200
  • bcd752cfcc CI: Fix emscripten builds after portable SDK archive became unavailable. Rokas Kupstys 2019-11-04 09:50:50 +0200
  • 792a8631aa Metrics: Expose basic details of each window key/value state storage. omar 2019-10-31 14:01:35 +0100
  • 8fee5a4349 Internals: Renaming for consistency. omar 2019-10-31 11:15:40 +0100
  • a3eb49b66b example_emscripten: skip outdated compiler option Konstantin Podsvirov 2019-10-31 00:56:16 +0300
  • 5006639526 CI: Add scheduled builds and limit some examples to build only on schedule in order to decrease time of builds performed on each push. Rokas Kupstys 2019-10-30 16:10:43 +0200
  • 5ebd4e4c6e CI: Install SDL SDK in windows workers and add SDL examples to the build. CI: Add Vulkan GLFW and SDL builds to windows build job. Rokas Kupstys 2019-10-30 11:30:46 +0200
  • a4420be1a2 CI: Split builds of examples into separate jobs. Rokas Kupstys 2019-10-30 10:45:27 +0200
  • 9f979c33f4 CI: Fix builds failing because of missing v140 toolset and SDK on dx12 sample. Rokas Kupstys 2019-10-30 09:49:57 +0200
  • d62a413476 Misc: Windows: Do not use _wfopen() if IMGUI_DISABLE_WIN32_FUNCTIONS is defined. (#2815) omar 2019-10-29 21:47:43 +0100
  • 6024051a2f Viewport: Fixed 32380a0 (#2876) omar 2019-10-29 21:18:01 +0100