Commit Graph

  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • b3e94f5de8 Merge branch 'master' into docking omar 2019-10-29 17:21:19 +0100
  • 6bf5aed325 Declaration and assignment can be joined, Member function may be 'const'. (#2875) stfx 2019-10-28 13:02:59 +0100
  • c863c1f6a1 Clean up number rounding. Now it is more obvious what code is doing. (#2862) Add IM_ROUND() macro Replace IM_FLOOR(n + 0.5f) and ImFloor(n + 0.5f) with IM_ROUND(n) Rokas Kupstys 2019-10-29 17:04:13 +0100
  • 32380a0112 Viewport: Store current dpi scale in context. omar 2019-10-29 16:43:11 +0100
  • 0b2d35f63f Fix snprintf and vsnprintf definition inconsistencies. Sam Hocevar 2019-10-28 12:46:45 +0100
  • 4e56de757c Doc: Promote Discord over Discourse. Obsoleting Discourse server. omar 2019-10-25 15:33:10 +0200
  • f002a11898 Backends: OpenGL3: Fix building with pre-3.2 GL bindings which do not expose glDrawElementsBaseVertex(), using runtime GL version to decide if we set ImGuiBackendFlags_RendererHasVtxOffset. (#2866, #2852) [@dpilawa] omar 2019-10-25 11:56:36 +0200
  • 4d0c88e9e6 Backends: GL3: Fix compile for < 3.2 bindings where glDrawElementsBaseVertex is not available. (#2866, #2852) dawid 2019-10-25 11:40:50 +0200
  • 664fb38e39 Docking: child windows don't use style.ChildRounding. omar 2019-10-25 11:13:51 +0200
  • 9b323a7ebf SplitterBehavior: not using FrameRounding in render (was in first commit of the function, not sure why). (#319) omar 2019-10-25 11:05:14 +0200
  • 0cbb96895a Merge branch 'master' into docking omar 2019-10-24 15:11:37 +0200
  • 3c238ecae3 Move issue_template and pull_request_template to .github folder. omar 2019-10-24 11:26:45 +0200
  • d5b5a81946 GitHub Actions CI script for Windows/Linux/MacOS/iOS/Emscripten builds. Rokas Kupstys 2019-10-23 18:10:47 +0300
  • 24e9a6e92c Remove .travis.yml due to switching to github actions. Rokas Kupstys 2019-10-23 15:39:14 +0300
  • ec0e953cca Fixed a couple of subtle bounding box vertical positioning issues relating to text baseline alignment. The issue would generally manifest when laying out multiple items on a same line, with varying heights and text baseline offsets. (#2833) Some specific examples, e.g. a button with regular frame padding followed by another item with a multi-line label and no frame padding, such as: multi-line text, small button, tree node item, etc. The second item was correctly offset to match text baseline, and would interact/display correctly,but it wouldn't push the contents area boundary low enough. Note: previously the second parameter to ItemSize() was 0.0f was default, now -1.0f to signify "no text baseline offset request". If you have code using ItemSize() with an hardcoded zero you may need to change it. (+1 squashed commits) omar 2019-10-06 23:17:36 +0200
  • 75d540d336 Example: Emscripten: Fix for compilation (filesystem module is required) (#2734) Funto 2019-10-23 16:55:26 +0200
  • be9f1e8f00 ColorPicker: Fixed SV triangle gradient to block (broken in 1.73). (#2864, #2711). [@lewa-j] Alexey 2019-10-23 00:45:59 +0300
  • 23c1ff4907 Removed redirecting functions/enums names that were marked obsolete in 1.52 (October 2017). - Begin() [old 5 args version] -> use Begin() [3 args], use SetNextWindowSize() SetNextWindowBgAlpha() if needed - IsRootWindowOrAnyChildHovered() -> use IsWindowHovered(ImGuiHoveredFlags_RootAndChildWindows) - AlignFirstTextHeightToWidgets() -> use AlignTextToFramePadding(); - SetNextWindowPosCenter() -> use SetNextWindowPos() with a pivot of (0.5f, 0.5f) - ImFont::Glyph -> use ImFontGlyph If you were still using the old names, read "API Breaking Changes" section of imgui.cpp to find out the new names or equivalent features, or see how they were implemented until 1.73. omar 2019-10-22 14:43:04 +0200
  • 048b73dfaa Various comments + Doc: Examples readme. Moved main menu bar code below menu bar code. omar 2019-10-21 16:12:46 +0200
  • 7b77cb3bb8 Backend: DX12: Fixed incorrect assert (#2851) omar 2019-10-21 13:38:33 +0200
  • 7dbae8a198
    Doc: Simplified Readme, removed FAQ index omar 2019-10-21 13:26:47 +0200