Commit Graph

  • 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
  • 2f22bc143f
    segfault example_win32_directx11 Jim Hurd 2019-10-29 15:08:38 -0400
  • 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
  • d0842ae8b0 Declaration and assignment can be joined stfx 2019-10-28 13:02:59 +0100
  • 9147bb14b0 Local variable may be const stfx 2019-10-28 13:02:25 +0100
  • d33f9e533c Fix snprintf and vsnprintf definition inconsistencies. Sam Hocevar 2019-10-28 12:46:45 +0100
  • 51b8f0b09d Member function may be 'const' stfx 2019-10-28 12:40:28 +0100
  • 8e99fd1810 Member function may be 'static' stfx 2019-10-28 12:37:03 +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
  • 68b0f27a24 modified local changelog dawid 2019-10-25 11:41:57 +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
  • 8aff62f5ea Support for Glbinding loader library in OpenGL3 example. Ilya Glushchenko 2019-10-25 11:46:03 +0300
  • 375106b420 fix for GL ES 2 dawid 2019-10-24 16:54:48 +0200
  • ac82b46448 fix for GL ES 2 dawid 2019-10-24 16:48:00 +0200
  • 1c9fad335b GL version defines and runtime check dawid 2019-10-24 16:38:55 +0200
  • 0cbb96895a Merge branch 'master' into docking omar 2019-10-24 15:11:37 +0200
  • b82724e80d Revert "new optional define IMGUI_IMPL_OPENGL_VERSION" dawid 2019-10-24 14:44:32 +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
  • 11fddbe58b GitHub Actions CI script for Windows/Linux/MacOS/iOS/Emscripten builds. Rokas Kupstys 2019-10-23 18:10:47 +0300
  • c2acb7ee2a
    Merge 141a6ba355 into ec0e953cca NeroBurner 2019-10-23 21:47:53 +0200
  • aada08662d new optional define IMGUI_IMPL_OPENGL_VERSION dawid 2019-10-23 20:00:51 +0200
  • 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
  • 43f876d65d Remove .travis.yml due to switching to github actions. Rokas Kupstys 2019-10-23 15:39:14 +0300
  • 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
  • 72fa85dc66
    Fix SV triangle color 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
  • abc4c7c76c Clean up number rounding. Now it is more obvious what code is doing. Rokas Kupstys 2019-10-22 10:41:21 +0300
  • 048b73dfaa Various comments + Doc: Examples readme. Moved main menu bar code below menu bar code. omar 2019-10-21 16:12:46 +0200
  • f629ebccf9
    Merge branch 'docking' into docking metarutaiga 2019-10-22 01:56:36 +0800
  • 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
  • 9e3917e56a
    Docs: Initial draft of fonts documentation Scott 2019-10-20 13:07:10 -0700
  • 6ffee0e75e Backends: DX12: Added extra ID3D12DescriptorHeap parameter to ImGui_ImplDX12_Init() function. The value is unused in master branch but will be used by the multi-viewport features (docking branch). (#2851) + Using SafeRelease() in master. omar 2019-10-18 18:32:48 +0200
  • 6faad0c34f Backend: DX12: Amend 899e485. Fix memory leaks. Remove unused variable. (#2851) omar 2019-10-18 18:03:56 +0200
  • 05c1f2795a Add multi-viewports for DX12. (#2851) Ilya.Sevrikov 2019-10-17 16:53:43 +0300
  • eedc8f993f Examples: DX12: Using IDXGIDebug1::ReportLiveObjects() when DX12_ENABLE_DEBUG_LAYER is enabled. omar 2019-10-18 18:20:53 +0200
  • 7feccf9ab2 Merge branch 'master' into docking omar 2019-10-18 16:50:30 +0200